Обсуждение: Help-Urgent

Поиск
Список
Период
Сортировка

Help-Urgent

От
ElayaRaja S
Дата:
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

Re: Help-Urgent

От
Mario Guenterberg
Дата:
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