Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 909D64768ED for ; Mon, 16 Sep 2002 10:56:25 -0400 (EDT) Received: from wiz.mine.nu (adsl-98-56.38-151.net24.it [151.38.56.98]) by postgresql.org (Postfix) with SMTP id D501747694C for ; Mon, 16 Sep 2002 10:56:22 -0400 (EDT) Received: (qmail 20618 invoked from network); 16 Sep 2002 14:56:25 -0000 Received: from aidoru.wiznet (HELO ?192.168.1.2?) (192.168.1.2) by 0 with SMTP; 16 Sep 2002 14:56:25 -0000 Date: Mon, 16 Sep 2002 16:56:26 +0200 From: Simone Tellini To: pgsql-admin@postgresql.org Subject: Re: auto removing stale pid for postmaster NT service Organization: RealSoft S.r.l. In-Reply-To: <26090.1032182629@sss.pgh.pa.us> References: <26090.1032182629@sss.pgh.pa.us> Message-Id: <20020916165546.9B98.TELLINI@areabusiness.it> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.05.05 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/182 X-Sequence-Number: 5721 On Mon, 16 Sep 2002 09:23:49 -0400 Tom Lane wrote: TL> > But if the server crashes without a proper shutdown, the postmaster.pid TL> > is left behind and the postmaster service fails to start at the next boot. TL> TL> It should manage to start anyway --- why exactly does it refuse to TL> start? it happens on linux as well: if there's a stale file at boot, it refuses to start saying that it's already running. -- Simone Tellini E-mail: tellini@areabusiness.it http://www.areabusiness.it