Re: Postgres is not starting or stopping - Mailing list pgsql-admin

From Tom Lane
Subject Re: Postgres is not starting or stopping
Date
Msg-id 24128.1170450296@sss.pgh.pa.us
Whole thread Raw
In response to Re: Postgres is not starting or stopping  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-admin
"Joshua D. Drake" <jd@commandprompt.com> writes:
> Shane Ambler wrote:
>> Your prob may be knowing where the log is. By default you will find it
>> in your data directory along with postgresql.conf and it will be called
>> serverlog

> likely /var/log/postgresql
> What linux is this?

There are enough different initscripts out there that the only way to be
sure is to look at the initscript and see what it's doing with the
postmaster's stderr output.  It's not too unlikely that it's sending it
to /dev/null, in which case your only hope of finding out what's going
wrong is to change the script.

Or you could try launching the postmaster manually as someone
recommended upthread, but that may well fail to show the problem.

            regards, tom lane

pgsql-admin by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Postgres is not starting or stopping
Next
From: Robert D Oden
Date:
Subject: Re: Terminating a query that appears to be hung