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

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:31:33 +0200 (EET)
From: =?ISO-8859-1?Q?Teemu_Kanstr=E9n?= <teka AT mail DOT student DOT oulu DOT fi>
X-X-Sender: <teka AT tuomi DOT oulu DOT fi>
To: <cygwin AT cygwin DOT com>
Subject: cygrunsrv and postgresql
Message-ID: <Pine.LNX.4.33.0110311329010.14818-100000@tuomi.oulu.fi>
MIME-Version: 1.0

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