Re: Unhelpful initdb error message - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Unhelpful initdb error message
Date
Msg-id 201203060818.27742.adrian.klaver@gmail.com
Whole thread Raw
In response to Re: Unhelpful initdb error message  (Thom Brown <thom@linux.com>)
Responses Re: Unhelpful initdb error message  (Thom Brown <thom@linux.com>)
List pgsql-general
On Tuesday, March 06, 2012 8:11:20 am Thom Brown wrote:
> On 6 March 2012 16:04, Adrian Klaver <adrian.klaver@gmail.com> wrote:
> > The postmaster.pid is located outside the data directory, but points back
> > to the data directory.   Not sure where Debian, though at a guess
> > somewhere in /var. Any way search for postmaster.pid.
>
> I'm not sure, because if I use a new data directory, initdb it and
> start the service, the postmaster.pid appears in it, and not as a
> symbolic link.
>
> I did a search for postmaster.pid in the whole of /var and it only
> shows up "/var/lib/postgresql/9.1/main/postmaster.pid"


My guess is if you open that file you will find it points back to the old
directory.  So are you  still running the Debian packaged version of Postgres?
Or in other words does a ps show any other postmasters running other than the
new one you built?

--
Adrian Klaver
adrian.klaver@gmail.com

pgsql-general by date:

Previous
From: Thom Brown
Date:
Subject: Re: Unhelpful initdb error message
Next
From: Thom Brown
Date:
Subject: Re: Unhelpful initdb error message