From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "simon(dot)marshall" <simon(dot)marshall(at)metaswitch(dot)com> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: Postgres running but no postmaster.pid |
Date: | 2011-08-03 15:44:53 |
Message-ID: | 18084.1312386293@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
"simon.marshall" <simon(dot)marshall(at)metaswitch(dot)com> writes:
> When I came to stop my postgres instance (in particular, a replication
> database using postgres version 9.0.3 running on port 5442) today it failed
> to stop because the postmaster.pid instance wasn't present, despite the
> process still running (seen by running ps -eaf | grep post and noting that
> the data directory was the same). There's nothing in /var/adm/messages to
> suggest any catastrophic disk problems and there's plenty of space on the
> drive.
> Any help would be greatly appreciated, as I'm stumped!
If I had to bet on the basis of that much information, I'd bet on
accidental invocation of a postmaster startup script that thinks it
should remove the postmaster.pid file before trying to launch a new
postmaster. I've seen a lot of those, and every one of them is
dangerously broken.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | simon.marshall | 2011-08-03 15:51:47 | Re: Postgres running but no postmaster.pid |
Previous Message | simon.marshall | 2011-08-03 15:02:20 | Postgres running but no postmaster.pid |