pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
"No response from the backend" error while connecting to postgres db
2+ messages / 2 participants
[nested] [flat]

* "No response from the backend" error while connecting to postgres db
@ 2009-09-16 08:44  tamanna madaan <tamanna.madan@globallogic.com>
  0 siblings, 1 reply; 2+ messages in thread

From: tamanna madaan @ 2009-09-16 08:44 UTC (permalink / raw)
  To: pgsql-odbc; +Cc: Gaurav Katiyar <gaurav.katiyar@globallogic.com>

Hi All

 

I am getting error "No response from the backend" while connecting to my
postgres database.

 

pg_log file logs the below messages :

 

GMT FATAL:  semop(id=1310723) failed: Invalid argument

GMT FATAL:  semop(id=1310723) failed: Invalid argument

GMT FATAL:  semctl(1310723, 7, SETVAL, 0) failed: Invalid argument

GMT FATAL:  semctl(1310723, 12, SETVAL, 0) failed: Invalid argument

GMT LOG:  server process (PID 10776) exited with exit code 1

GMT LOG:  terminating any other active server processes

GMT WARNING:  terminating connection because of crash of another server
process

GMT DETAIL:  The postmaster has commanded this server process to roll
back the current transaction and exit, because another server proc

ess exited abnormally and possibly corrupted shared memory.

GMT HINT:  In a moment you should be able to reconnect to the database
and repeat your command.

 

The above message is printed a number of times and after that it prints 

 

GMT LOG:  all server processes terminated; reinitializing

GMT LOG:  semctl(1245185, 0, IPC_RMID, ...) failed: Invalid argument

GMT LOG:  semctl(1277954, 0, IPC_RMID, ...) failed: Invalid argument

GMT LOG:  semctl(1310723, 0, IPC_RMID, ...) failed: Invalid argument

GMT LOG:  semctl(1343492, 0, IPC_RMID, ...) failed: Invalid argument

GMT LOG:  shmctl(2097152, 0, 0) failed: Invalid argument

GMT LOG:  database system was interrupted at 2009-09-15 07:28:40 GMT

GMT LOG:  checkpoint record is at A/2311BA94

GMT LOG:  redo record is at A/23106A14; undo record is at 0/0; shutdown
FALSE

GMT LOG:  next transaction ID: 20175128; next OID: 58650

GMT LOG:  next MultiXactId: 1; next MultiXactOffset: 0

GMT LOG:  database system was not properly shut down; automatic recovery
in progress

GMT LOG:  redo starts at A/23106A14

GMT LOG:  record with zero length at A/2317BF50

GMT LOG:  redo done at A/2317BF28

GMT FATAL:  the database system is starting up

GMT LOG:  database system is ready 

 

 

The postgresql log file doesn't print anything about restarting
postgres. I couldn't get any information from other logs regarding which
process was killed, who killed it and why.

 

Please help.

 

Thanks...

Tamanna

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: "No response from the backend" error while connecting to postgres db
@ 2009-09-17 14:14  Tom Lane <tgl@sss.pgh.pa.us>
  parent: tamanna madaan <tamanna.madan@globallogic.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2009-09-17 14:14 UTC (permalink / raw)
  To: tamanna madaan <tamanna.madan@globallogic.com>; +Cc: pgsql-odbc@postgresql.org, "Gaurav Katiyar" <gaurav.katiyar@globallogic.com>

"tamanna madaan" <tamanna.madan@globallogic.com> writes:
> pg_log file logs the below messages :
> GMT FATAL:  semop(id=1310723) failed: Invalid argument
> GMT FATAL:  semctl(1310723, 7, SETVAL, 0) failed: Invalid argument
> GMT LOG:  semctl(1245185, 0, IPC_RMID, ...) failed: Invalid argument
> GMT LOG:  shmctl(2097152, 0, 0) failed: Invalid argument

It sure looks like something tried to kill off all your SysV resources
(semaphores and shared memory).  Look around and find out if anyone
was doing something with ipcrm, and take away their root privileges
if so.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2009-09-17 14:14 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-09-16 08:44 "No response from the backend" error while connecting to postgres db tamanna madaan <tamanna.madan@globallogic.com>
2009-09-17 14:14 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox