Home > Archive > PostgreSQL Discussion > April 2005 > Help-Urgent









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Help-Urgent
ElayaRaja S

2005-04-25, 3:23 am

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

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Mario Guenterberg

2005-04-25, 3:23 am

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

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere
" to majordomo@postgresql
.org)

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com