Re: postmaster does not shut down

From: John Smith <john_smith_45678(at)yahoo(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: postmaster does not shut down
Date: 2003-01-27 03:28:33
Message-ID: 20030127032833.15469.qmail@web40704.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin


I just deleted the pid file and started PG again. I guess closing the window kills it?
John
Justin Clift <justin(at)postgresql(dot)org> wrote: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

---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Justin Clift 2003-01-27 03:39:09 Re: postmaster does not shut down
Previous Message Justin Clift 2003-01-27 02:37:38 Re: Have a PG 7.3.1 Windows (cygwin) easy installer... now