pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Haller <ch@rodos.fzk.de>
To: mohan@physics.gmu.edu
Cc: pgsql-sql@postgresql.org
Subject: Re: Problem: Postgresql not starting
Date: Thu, 27 Nov 2003 11:05:40 MET
Message-ID: <200311271005.LAA22427@rodos> (raw)
In-Reply-To: <64655.138.88.163.115.1069860552.squirrel@physics.gmu.edu>

> 
> Hi All
> I am using postgresql 7.2 on Linux. It does not start when i am trying th=
> is
> /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
> 
> But it still says the same. whenever i restart with the above command
> When say "stop" it says failed and when i say "start" it says postmaster
> already running.
> Please help me out
> 
> --m
> 
I've seen the other replies, but IMHO you are not supposed to remove 
/var/lib/pgsql/data/postmaster.pid 
to stop the postmaster but 

kill $(head -n 1 $PGDATA/postmaster.pid)

RTFM 
HTH 

Regards, Christoph 




view thread (4+ messages)

Message-ID: <200311271005.LAA22427@rodos>
Permalink:  ../200311271005.LAA22427@rodos/
Also on:    postgresql.org/message-id/200311271005.LAA22427@rodos

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ch@rodos.fzk.de, mohan@physics.gmu.edu
  Subject: Re: Problem: Postgresql not starting
  In-Reply-To: <200311271005.LAA22427@rodos>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox