Re: Trouble starting ipc-daemon as a service

From: "Vincent Hikida" <vhikida(at)inreach(dot)com>
To: "Dave Steenburg" <dsteenburg(at)rogers(dot)com>, <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: Trouble starting ipc-daemon as a service
Date: 2003-06-10 20:31:34
Message-ID: 06c701c32f8f$48f747e0$6601a8c0@HOMEOFFICE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

This probably isn't your problem. However, if you have a program running called "Freedom" which prevents advertisements in your browser, make sure it is not running. Freedom caused a couple of us with XP home to have problems with pgsql.

Vincent Hikida,
Member of Technical Staff - Urbana Software, Inc.
"A Personalized Learning Experience"

www.UrbanaSoft.com

----- Original Message -----
From: Dave Steenburg
To: pgsql-cygwin(at)postgresql(dot)org
Sent: Tuesday, June 10, 2003 1:20 PM
Subject: [CYGWIN] Trouble starting ipc-daemon as a service

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

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Dave Steenburg 2003-06-10 21:22:03 Re: Trouble starting ipc-daemon as a service
Previous Message Dave Steenburg 2003-06-10 20:20:27 Trouble starting ipc-daemon as a service