Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Thu, 1 Nov 2001 17:50:28 +0200 (EET) From: =?ISO-8859-1?Q?Teemu_Kanstr=E9n?= X-X-Sender: To: Kurt Roeckx cc: Subject: Re: cygrunsrv and postgresql In-Reply-To: <20011031130745.B1126@ping.be> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII > > 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 :) ? -Teemu -- 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/