Skip site navigation (1) Skip section navigation (2)

Re: postmaster7.3b5 service in Win2k cannot work properly

From: Jason Tishler <jason(at)tishler(dot)net>
To: "William(dot)Jiang" <jiang_sir(at)yahoo(dot)com(dot)cn>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: postmaster7.3b5 service in Win2k cannot work properly
Date: 2002-12-02 03:19:48
Message-ID: 20021202031948.GB1700@tishler.net (view raw or flat)
Thread:
Lists: pgsql-cygwin
William,

On Mon, Dec 02, 2002 at 10:28:47AM +0800, William.Jiang wrote:
> But everytime I shutdown windows properly and then start it.postmaster
> service cannot start.  It leave a postmaster.pid in the data directory
> and ipc cannot be realeased properly.  I have to remove the
> postmaster.pid myself and restart ipc-daemon.
> 
> How can I make it work properly!

Did you install the postmaster service as follows?

    cygrunsrv --install postmaster ... --termsig INT ... --shutdown
                                       ^^^^^^^^^^^^^     ^^^^^^^^^^

If so, then postmaster should shutdown cleanly when the Windows shuts
down.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

In response to

pgsql-cygwin by date

Next:From: Mark MinnieDate: 2002-12-02 06:50:45
Subject: Re: Problem with initdb on new machine - NON-HTML post (sorry)
Previous:From: Jason TishlerDate: 2002-12-02 02:37:12
Subject: Re: initdb failed. can you help me?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group