Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Thu, 1 Nov 2001 17:08:43 +0100
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: cygrunsrv and postgresql
Message-ID: <20011101170843.C31655@cygbert.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <20011031130745.B1126@ping.be> <Pine.LNX.4.33.0111011749430.9449-100000@tuomi.oulu.fi>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <Pine.LNX.4.33.0111011749430.9449-100000@tuomi.oulu.fi>; from teka@mail.student.oulu.fi on Thu, Nov 01, 2001 at 05:50:28PM +0200

On Thu, Nov 01, 2001 at 05:50:28PM +0200, Teemu Kanstr?n wrote:
> > >  I have PostgreSQL installed under Cygwin and it was running fine as a
> > > service on my NT. Then suddenly my NT hangs for no reason I can see and
> > > I tried to shutdown from the task manager but even that didnt work. So
> > > I just rebooted the computer with power off/power on. After that the
> > > postmaster service no longer starts.
> >
> > You probably have a stale pid file.  It's something very
> > annoying when you don't do a proper shutdown, and don't have
> > proper startup scripts.  I'm still looking for a good solution to
> > this.
> 
> How do I fix this then?
> 
> > > $ cygrunsrv --install postmaster --path /usr/bin/postmaster -a "-i"
> > > --termsig INT --dep ipc-daemon --shutdown --user postgres
> > It might also help if you tell it to use a log file, redirect
> > stdout (and stderr?) to some file, and it should also give a clue why
> > postmaster refuses to start.
> 
> And how do I do this :) ?

By reading the README?

/usr/doc/Cygwin/cygrunsrv.README

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/

