Help-Urgent

Started by ElayaRaja Salmost 21 years ago2 messagesgeneral
Jump to latest
#1ElayaRaja S
elayaraja.s@gmail.com

Hi,
I am using Redhat Linux 9 and PostgreSQL 7.4.5. While shutdown the
linux server i forget to stop the postgresql. After starting the linux
server, now i am unable to stop the postgres. When stopping the
postgres i am getting the following error as

bash-2.05b$ pg_ctl status
pg_ctl: postmaster is running (PID: 17173)
Command line was:
/usr/local/pgsql/bin/postmaster

bash-2.05b$ pg_ctl stop
/usr/local/pgsql/bin/pg_ctl: line 274: kill: (17173) - No such process
waiting for postmaster to shut
down................................................................
failed
pg_ctl: postmaster does not shut down

Note: please help me to shutdown the postgresql.

--
Warm Regards,

S.ElayaRaja
Mobile: (+91) 98450 59540
E-Mail: elayaraja.s@gmail.com
raja_nk@hotmail.com

#2Mario Guenterberg
mg@mattheis-berlin.de
In reply to: ElayaRaja S (#1)
Re: Help-Urgent

ElayaRaja S schrieb:

Hi,
I am using Redhat Linux 9 and PostgreSQL 7.4.5. While shutdown the
linux server i forget to stop the postgresql. After starting the linux
server, now i am unable to stop the postgres. When stopping the
postgres i am getting the following error as

bash-2.05b$ pg_ctl status
pg_ctl: postmaster is running (PID: 17173)
Command line was:
/usr/local/pgsql/bin/postmaster

bash-2.05b$ pg_ctl stop
/usr/local/pgsql/bin/pg_ctl: line 274: kill: (17173) - No such process
waiting for postmaster to shut
down................................................................
failed
pg_ctl: postmaster does not shut down

Note: please help me to shutdown the postgresql.

Hi

remove your pidfile in /usr/local/pgsql or elsewhere.
Then start the postgresql server.

best regards

--
Mario G�nterberg
mattheis. werbeagentur
IT Engineer / Projektleiter

Zillestrasse 105a. D - 10585 Berlin
Tel#49-(0)30 . 34 80 633 - 0
Fax#49-(0)30 . 34 80 633 50
http://www.mattheis-berlin.de