delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/31/07:08:18

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: Wed, 31 Oct 2001 13:07:45 +0100
From: Kurt Roeckx <Q AT ping DOT be>
To: =?iso-8859-1?Q?Teemu_Kanstr=E9n?= <teka AT mail DOT student DOT oulu DOT fi>
Cc: cygwin AT cygwin DOT com
Subject: Re: cygrunsrv and postgresql
Message-ID: <20011031130745.B1126@ping.be>
References: <Pine DOT LNX DOT 4 DOT 33 DOT 0110311329010 DOT 14818-100000 AT tuomi DOT oulu DOT fi>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <Pine.LNX.4.33.0110311329010.14818-100000@tuomi.oulu.fi>; from teka@mail.student.oulu.fi on Wed, Oct 31, 2001 at 01:31:33PM +0200

On Wed, Oct 31, 2001 at 01:31:33PM +0200, Teemu Kanstrén wrote:
> Hello,
> 
>  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.

> $ 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.


Kurt


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