"umashankar narayanan" <umashankar@graffiti.net> wrote:
> Version : 8.3
Please give the full version and a bit more information about the
environment it's running in:
http://wiki.postgresql.org/wiki/Guide_to_reporting_problems
> 2012-03-07 11:57:20 EST LOG: server process (PID 5944) exited
> with exit code 128
Was there anything in the PostgreSQL log ahead of this to give a
clue what went wrong and caused this? Is there anything in any of
system logs from around this time?
> 2012-03-07 11:57:20 EST LOG: terminating any other active server
> processes
This is normal -- when one process crashes this hard, it can leave
shared memory in a corrupted state, so PostgreSQL restarts to get a
clean environment with minimal down time.
> [each client process logging its termination]
> 2012-03-07 11:57:21 EST LOG: all server processes terminated;
> reinitializing
OK, it's trying to restart so clients can re-connect and continue.
> 2012-03-07 11:57:22 EST FATAL: pre-existing shared memory block
> is still in use
> 2012-03-07 11:57:22 EST HINT: Check if there are any old server
> processes still running, and terminate them.
Something is still hanging on to the PostgreSQL shared memory block.
Are any postgres processes lingering? Are you running anything else
which might be grabbing the same shared memory block?
-Kevin