Re: invalid data in PID file - Mailing list pgsql-general

From Tom Lane
Subject Re: invalid data in PID file
Date
Msg-id 23154.1160595599@sss.pgh.pa.us
Whole thread Raw
In response to Re: invalid data in PID file  ("J S B" <jsbali@gmail.com>)
Responses Re: invalid data in PID file  ("J S B" <jsbali@gmail.com>)
List pgsql-general
"J S B" <jsbali@gmail.com> writes:
> There was some problem with postmaster.pid file, so i just removed it.

Without bothering to stop the old postmaster first, I take it.

At this point your best bet is to find out the PID of the old postmaster
with "ps" and then kill it with "kill -INT <pid>".  I suspect you've
also been sloppy about which userid you've been starting the postmaster
under ... you have to be consistent about that.

            regards, tom lane

pgsql-general by date:

Previous
From: "J S B"
Date:
Subject: Re: invalid data in PID file
Next
From: "J S B"
Date:
Subject: Re: invalid data in PID file