Trouble starting ipc-daemon as a service

From: "Dave Steenburg" <dsteenburg(at)rogers(dot)com>
To: <pgsql-cygwin(at)postgresql(dot)org>
Subject: Trouble starting ipc-daemon as a service
Date: 2003-06-10 20:20:27
Message-ID: 001001c32f8d$bbb918f0$0301a8c0@354682a
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

I'm running on Windows XP Home version, using Cygwin 1.3.14-1, PostgreSQL
7.2.3, and the ipc-daemon in Cygipc 1.11-1. I have followed the
instructions in usr/doc/Cygwin/postgresql-7.2.3.README. I put it into a
small script file that looks like:

ipc-daemon --install-as-service
cygrunsrv --install postmaster --path /usr/bin/postmaster --args "-D
/usr/share/postgresql/data -i" --dep ipc-daemon --termsig INT --user
postgres --shutdown
mkdir /usr/share/postgresql/data
chown postgres /usr/share/postgresql/data
initdb -D /usr/share/postgresql/data
net start ipc-daemon
net start postmaster

Yet when the script gets to "net start ipc-daemon" I get the message:
The Cygwin IPC Daemon service is starting.
The Cygwin IPC Daemon service could not be started.

So, of course, the postmaster service also failed. When I tried going
through the Service Manager to start ipc-daemon, it said the service on
Local System "started then stopped" and suggested "Some services stop
automatically if they have no work to do"

Can anyone suggest what I might be doing wrong?

Dave

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Vincent Hikida 2003-06-10 20:31:34 Re: Trouble starting ipc-daemon as a service
Previous Message Hendrik Levsen 2003-06-10 17:48:27 Re: postgres/cygipc: IpcMemoryCreate still fails