Re: postmaster does not shut down - Mailing list pgsql-cygwin

From Justin Clift
Subject Re: postmaster does not shut down
Date
Msg-id 3E3492C7.9080105@postgresql.org
Whole thread Raw
In response to postmaster does not shut down  (John Smith <john_smith_45678@yahoo.com>)
Responses Re: postmaster does not shut down  (John Smith <john_smith_45678@yahoo.com>)
List pgsql-cygwin
John Smith wrote:
> I can't get pg to shutdown or otherwise respond. I closed the cygwin
> console window and opened another (PG was working fine with the other
> window).
>
> $ pg_ctl status
> pg_ctl: postmaster is running (pid: 1656)
> Command line was:
> /usr/bin/postmaster
>
> $ pg_ctl stop -m immediate
> kill 1656: No such process
> waiting for postmaster to shut down........................
> ......... failed
> pg_ctl: postmaster does not shut down

Hi John,

As a thought, what happens if you try a slightly different syntax of:

$ pg_ctl -m immediate stop

?

Also, does it look like PostgreSQL might be being kept open by a
connection to it from an application or something not closing down?

Regards and best wishes,

Justin Clift

--
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi


pgsql-cygwin by date:

Previous
From: John Smith
Date:
Subject: psql paste weirdness
Next
From: Justin Clift
Date:
Subject: Re: Have a PG 7.3.1 Windows (cygwin) easy installer... now