Re: Sudden stop of postmaster - Looking for help

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dave <not_here(at)due_to_spam(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Sudden stop of postmaster - Looking for help
Date: 2003-03-19 19:03:23
Message-ID: 8347.1048100603@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Dave <not_here(at)due_to_spam(dot)com> writes:
> bash-2.05a$ pg_ctl start -D /var/lib/pgsql/data -s
> pg_ctl: Another postmaster may be running. Trying to start postmaster
> anyway.
> Found a pre-existing shared memory block (ID 196608) still in use.
> If you're sure there are no old backends still running,
> remove the shared memory block with ipcrm(1), or just
> delete "/var/lib/pgsql/data/postmaster.pid".

> bash-2.05a$ rm /var/lib/pgsql/data/postmaster.pid

Are you certain there wasn't a postmaster still running? I think you
may have just shot yourself in the foot. I'd recommend shutting down
postgres and making sure (with ps) that there are no remaining
postgres-owned processes.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Sidar Lopez Cruz 2003-03-19 21:53:29 admin tool
Previous Message Miguel Angel Martin 2003-03-19 18:53:49 ¿What's wrong?