From: Tony_Chao@putnam.com
To: pgsql-admin@postgresql.org
Subject: auto removing stale pid for postmaster NT service
Date: Wed, 11 Sep 2002 14:32:31 -0400
Message-ID: <OF9C8B46B9.D4BF7945-ON85256C31.0065D509@putnaminv.com> (raw)
Hi,
I've seen this question a couple of times in the archives, but I wasn't
able to find a solution. Please advise if you know of a workaround.
I have postmaster install as a service throught cygrunsrv on my win2k
machine. The postmaster service starts and stops fine most of the time.
But if the server crashes without a proper shutdown, the postmaster.pid
is left behind and the postmaster service fails to start at the next boot.
Is there a way to delete stale postmaster.pid on boot-up before
the postmaster service is attempted to be started?
Thanks
-Tony
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: Tony_Chao@putnam.com
Subject: Re: auto removing stale pid for postmaster NT service
In-Reply-To: <OF9C8B46B9.D4BF7945-ON85256C31.0065D509@putnaminv.com>
References: <OF9C8B46B9.D4BF7945-ON85256C31.0065D509@putnaminv.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox