Re: Problem: Postgresql not starting

From: Martin Knipper <knipper(at)mk-os(dot)de>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Problem: Postgresql not starting
Date: 2003-11-26 17:29:02
Message-ID: 3FC4E2DE.4040403@mk-os.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi,

Am 11/26/03 16:29 schrieb mohan(at)physics(dot)gmu(dot)edu:
> Hi All
> I am using postgresql 7.2 on Linux. It does not start when i am trying this
> /etc/rc.d/init.d/postgresql restart.
> It give an error saying "postmaster already running".
> I have done
> rm -f /var/lib/pgsql/data/postmaster.pid
> and
> rm -f /var/run/postmaster.pid

Try to find out, if the postmaster if really up by doing something like
ps -e | grep postmaster.

Then you may want to take a look in the script /etc/init.d/postgresql.
Where is the PID-File actually placed ?
It looks like you are trying to remove the PID-File without really
knowing where it is supposed to be placed ?!

The next option you have is to take a look at some logfiles (e.g
var/log/messages or something depending on your settings).

Greetings,
Martin

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Mujdat Pakkan 2003-11-26 19:29:33 rules and return values question
Previous Message Richard Huxton 2003-11-26 17:27:23 Re: Postgres: MS Access and Tomcat