delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/23/21:52:27

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 23 Aug 2001 21:51:54 -0400
From: Jason Tishler <jason AT tishler DOT net>
To: Kurt Roeckx <Q AT ping DOT be>
Cc: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: postgresql-7.1.3-1
Message-ID: <20010823215154.D1556@dothill.com>
Mail-Followup-To: Kurt Roeckx <Q AT ping DOT be>, cygwin AT cygwin DOT com
Mime-Version: 1.0
In-Reply-To: <20010824002250.A3317@ping.be>
User-Agent: Mutt/1.3.18i

Kurt,

On Fri, Aug 24, 2001 at 12:22:50AM +0200, Kurt Roeckx wrote:
> On Thu, Aug 23, 2001 at 04:21:41PM -0400, Jason Tishler wrote:
> > Do the following when running under the postgres user account:
> > 
> >     $ rm /usr/share/postgresql/data/postmaster.pid 
> 
> I don't want to remove it manually.  Normaly on boot you remove
> all stale pid files from the init scripts.  You basicly do an rm
> of /var/run/*.pid.  Is it removed for other daemons, like sshd,
> and how?

I'm not sure that I am grokking your questions...

If postmaster is not shutting down cleanly and leaving a stale
postmaster.pid file, then you need to replace you Cygwin DLL with the
2001-Jul-28 snapshot or later.  Note that this is documented in the
Cygwin PostgreSQL 7.1.3-1 README file.

If you are asking for an automatic way to remove arbitrary stale pid
files cause by events like power failures, then I don't have any canned
solutions to offer you since I haven't tried to solve this problem (yet).

Jason

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019