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 04:30:01
Message-ID: 20030127043001.27973.qmail@web40712.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin


Same thing happens if I close the window if started with 'postmaster' (btw is there a way to specify the log file this way?).
postmaster shows up in the services, but gives this message when trying to start:
'Could not start the postmaster service on Local Computer. The service did not return an error. This could be an interal Windows error or an internal service error.'
John
Justin Clift <justin(at)postgresql(dot)org> wrote:John Smith wrote:
> I just deleted the pid file and started PG again. I guess closing the
> window kills it?

Ahhh... you started PostgreSQL from a cygwin window with:

$ pg_ctl start

and then closed the window? It does seem to like keeping the window
open. Have you tried starting it using postmaster instead?

$ postmaster -D /path/to/your/data/directory -i

Not sure that will work, but it's a though.

When PostgreSQL is configured to start as a service, it seems to be much
easier. You can then just start it from the "Services" part of the
Windows control panel (depending which operating system you're using of
course).

:-)

Regards and best wishes,

Justin Clift

> John

--
"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

Browse pgsql-cygwin by date

  From Date Subject
Next Message John Smith 2003-01-27 04:32:30 Re: postmaster does not shutdown
Previous Message Cornelia Boenigk 2003-01-27 04:03:23 Re: postmaster does not shut down