Re: Postgres is not starting or stopping

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: Shane Ambler <pgsql(at)007Marketing(dot)com>, Shoaib Mir <shoaibmir(at)gmail(dot)com>, Manish Pillai <manishg_pillai(at)yahoo(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Postgres is not starting or stopping
Date: 2007-02-02 21:04:56
Message-ID: 24128.1170450296@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Joshua D. Drake" <jd(at)commandprompt(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Robert D Oden 2007-02-02 21:59:13 Re: Terminating a query that appears to be hung
Previous Message Joshua D. Drake 2007-02-02 20:44:31 Re: Postgres is not starting or stopping