pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedfailure on 'pg_ctl stop' command
3+ messages / 2 participants
[nested] [flat]
* failure on 'pg_ctl stop' command
@ 2007-10-11 16:07 Tena Sakai <tsakai@gallo.ucsf.edu>
2007-10-11 17:03 ` Re: failure on 'pg_ctl stop' command Scott Marlowe <scott.marlowe@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Tena Sakai @ 2007-10-11 16:07 UTC (permalink / raw)
To: pgsql-admin
Hi Everybody,
I had a failure on stopping postgres.
The command I issued was:
>> pg_ctl stop -m s
and its response was:
>> waiting for server to shut down............................................................... failed
>> pg_ctl: server does not shut down
I repeated the same command and the response was identical.
I proceeded to issue:
>> pg_ctl stop -m f
and this time it came back with:
>> waiting for server to shut down.... done
>> server stopped
Would somebody please tell me what this means?
Is it indicative of some trouble? What can/Should
I do to remedy the situation?
My environment is Redhat Linux, Dell AMD 64bit machine
with postgres 8.2.4.
Regards,
Tena Sakai
tsakai@gallo.ucsf.edu
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: failure on 'pg_ctl stop' command
2007-10-11 16:07 failure on 'pg_ctl stop' command Tena Sakai <tsakai@gallo.ucsf.edu>
@ 2007-10-11 17:03 ` Scott Marlowe <scott.marlowe@gmail.com>
2007-10-11 17:45 ` Re: failure on 'pg_ctl stop' command Tena Sakai <tsakai@gallo.ucsf.edu>
0 siblings, 1 reply; 3+ messages in thread
From: Scott Marlowe @ 2007-10-11 17:03 UTC (permalink / raw)
To: Tena Sakai <tsakai@gallo.ucsf.edu>; +Cc: pgsql-admin
On 10/11/07, Tena Sakai <tsakai@gallo.ucsf.edu> wrote:
>
>
>
> Hi Everybody,
>
> I had a failure on stopping postgres.
> The command I issued was:
> >> pg_ctl stop -m s
>
> and its response was:
> >> waiting for server to shut
> down...............................................................
> failed
> >> pg_ctl: server does not shut down
>
> I repeated the same command and the response was identical.
> I proceeded to issue:
> >> pg_ctl stop -m f
>
> and this time it came back with:
> >> waiting for server to shut down.... done
> >> server stopped
>
> Would somebody please tell me what this means?
> Is it indicative of some trouble? What can/Should
> I do to remedy the situation?
Normally this means that you have clients connected to the db while
it's trying to shut down.
On the server, run
ps ax|grep postgres
and look for a client connected in IDLE state.
You can either disconnect all the clients, or use -m f, which will
disconnect them for you.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: failure on 'pg_ctl stop' command
2007-10-11 16:07 failure on 'pg_ctl stop' command Tena Sakai <tsakai@gallo.ucsf.edu>
2007-10-11 17:03 ` Re: failure on 'pg_ctl stop' command Scott Marlowe <scott.marlowe@gmail.com>
@ 2007-10-11 17:45 ` Tena Sakai <tsakai@gallo.ucsf.edu>
0 siblings, 0 replies; 3+ messages in thread
From: Tena Sakai @ 2007-10-11 17:45 UTC (permalink / raw)
To: Scott Marlowe <scott.marlowe@gmail.com>; +Cc: pgsql-admin
Many thanks, Scott.
Tena Sakai
-----Original Message-----
From: Scott Marlowe [mailto:scott.marlowe@gmail.com]
Sent: Thu 10/11/2007 10:03 AM
To: Tena Sakai
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] failure on 'pg_ctl stop' command
On 10/11/07, Tena Sakai <tsakai@gallo.ucsf.edu> wrote:
>
>
>
> Hi Everybody,
>
> I had a failure on stopping postgres.
> The command I issued was:
> >> pg_ctl stop -m s
>
> and its response was:
> >> waiting for server to shut
> down...............................................................
> failed
> >> pg_ctl: server does not shut down
>
> I repeated the same command and the response was identical.
> I proceeded to issue:
> >> pg_ctl stop -m f
>
> and this time it came back with:
> >> waiting for server to shut down.... done
> >> server stopped
>
> Would somebody please tell me what this means?
> Is it indicative of some trouble? What can/Should
> I do to remedy the situation?
Normally this means that you have clients connected to the db while
it's trying to shut down.
On the server, run
ps ax|grep postgres
and look for a client connected in IDLE state.
You can either disconnect all the clients, or use -m f, which will
disconnect them for you.
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2007-10-11 17:45 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-10-11 16:07 failure on 'pg_ctl stop' command Tena Sakai <tsakai@gallo.ucsf.edu>
2007-10-11 17:03 ` Scott Marlowe <scott.marlowe@gmail.com>
2007-10-11 17:45 ` Tena Sakai <tsakai@gallo.ucsf.edu>
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