Thread: SIGHUP to postmaster

SIGHUP to postmaster

From
"Henshall, Stuart - WCP"
Date:
Hello,
    Does any one know how to send a SIGHUP signal to the postmaster
started as a service when logged in as Administrator on NT4? At the moment
it complains of not being the owner.
Cheers,
- Stuart

Re: SIGHUP to postmaster

From
"Russell Black"
Date:
This may not be exactly what you want to do, but you can stop the service
with

net stop postmaster

----- Original Message -----
From: "Henshall, Stuart - WCP" <SHenshall@westcountrypublications.co.uk>
To: <pgsql-cygwin@postgresql.org>
Sent: Thursday, January 24, 2002 3:42 AM
Subject: [CYGWIN] SIGHUP to postmaster


> Hello,
> Does any one know how to send a SIGHUP signal to the postmaster
> started as a service when logged in as Administrator on NT4? At the moment
> it complains of not being the owner.
> Cheers,
> - Stuart
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org


Re: SIGHUP to postmaster

From
"Henshall, Stuart - WCP"
Date:
Thanks but I'm trying to avoid having to take the server of line to have it
reread the new postgresql.conf (basically I've just increased max
connections and shared memory).
Cheers,
- Stuart

> -----Original Message-----
> From: Russell Black [mailto:rblack@iarchives.com]
> Sent: 24 January 2002 17:28
> To: Henshall, Stuart - WCP; pgsql-cygwin@postgresql.org
> Subject: Re: [CYGWIN] SIGHUP to postmaster
>
>
> This may not be exactly what you want to do, but you can stop
> the service
> with
>
> net stop postmaster
>
> ----- Original Message -----
> From: "Henshall, Stuart - WCP"
> <SHenshall@westcountrypublications.co.uk>
> To: <pgsql-cygwin@postgresql.org>
> Sent: Thursday, January 24, 2002 3:42 AM
> Subject: [CYGWIN] SIGHUP to postmaster
>
>
> > Hello,
> > Does any one know how to send a SIGHUP signal to the postmaster
> > started as a service when logged in as Administrator on
> NT4? At the moment
> > it complains of not being the owner.
> > Cheers,
> > - Stuart
> >
> > ---------------------------(end of
> broadcast)---------------------------
> > TIP 6: Have you searched our list archives?
> >
> > http://archives.postgresql.org
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>

Re: SIGHUP to postmaster

From
Jason Tishler
Date:
Stuart,

On Thu, Jan 24, 2002 at 10:42:15AM -0000, Henshall, Stuart - WCP wrote:
>     Does any one know how to send a SIGHUP signal to the postmaster
> started as a service when logged in as Administrator on NT4? At the moment
> it complains of not being the owner.

What version of Cygwin are you using?  I think that I recall problems
such as the above in the past.  I just tried with a DLL that I built
from CVS on or about 2001-12-28 11:30 and had no problems.  FWIW I'm
using Win2K SP1.

Another idea is to ssh into the postgres account (assuming that is the
user running the postmaster service) and issue the kill -1 from there.

HTH,
Jason