delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/31/06:37:37

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
Message-ID: <3BDFE251.AD7DFF77@syntrex.com>
Date: Wed, 31 Oct 2001 12:36:49 +0100
From: Pavel Tsekov <ptsekov AT syntrex DOT com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Teemu =?iso-8859-1?Q?Kanstr=E9n?= <teka AT mail DOT student DOT oulu DOT fi>
CC: cygwin AT cygwin DOT com
Subject: Re: cygrunsrv and postgresql
References: <Pine DOT LNX DOT 4 DOT 33 DOT 0110311329010 DOT 14818-100000 AT tuomi DOT oulu DOT fi>

It seems so - did you check if /usr/bin/postmaster is 
present ?

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. I have removed and re-added the
> service many times with no use. It still doesn't work. I removed it
> with
> 
> $ cygrunsrv --remove postmaster
> 
> and added again with
> 
> $ cygrunsrv --install postmaster --path /usr/bin/postmaster -a "-i"
> --termsig INT --dep ipc-daemon --shutdown --user postgres
> 
> the data dir is set as environment variable.
> 
> on trying to start the service i get
> 
> $ net start postmaster
> The postmaster service is starting.
> The postmaster service could not be started.
> 
> The service did not report an error.
> 
> More help is available by typing NET HELPMSG 3534.
> 
> looking at application event log int windows event viewer this is the
> error reported:
> The description for Event ID ( 0 ) in Source ( postmaster ) could not be
> found. It contains the following insertion string(s): postmaster : Win32
> Process Id = 0x17C : Cygwin Process Id = 0x17C : starting service
> `postmaster' failed: execv: 2, No such file or directory.
> 
> what's going on and why doesn't the service start? can't it find the
> "postmaster" command or something and if not then why is that?
> 
> any help is appreciated since im really lost here.. thanks

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