Re: Troubles with installation of cygrunsrv - Mailing list pgsql-cygwin

From Franco Bruno Borghesi
Subject Re: Troubles with installation of cygrunsrv
Date
Msg-id 1068674143.1667.16.camel@taz
Whole thread Raw
In response to Troubles with installation of cygrunsrv  ("Fabio Patocchi" <patocchi@gmx.ch>)
List pgsql-cygwin
have you run initdb -D /var/pgsql/data?

I'm using ipc-daemon2 and it works just fine (on winxp too), so it's not the problem.

There is no utility (as far as I know) to remove services from the scm on windows (I mean included with windows).
But you can remove ipc-daemon2 with
$ipc-daemon2 --remove-service
and postmaster with
$cygrunsrv --remove postmaster
Remember to reboot before you try to reinstall any of these services.

I would try stopping and starting ipc-daemon2 from the scm, and if it works ok, then I would try to start postgres.
If you have problems starting ipc-daemon2 you should check the event viewer (i guess) to find out what happened.
If you have problems starting postgresql, try
$/usr/bin/postmaster -D /var/pgsql/data
from the console to see any error messages.

Hope it helps.


On Wed, 2003-11-12 at 05:42, Fabio Patocchi wrote:
Hi

 

I tried to install the postmaster on XP Home Edition but it doesn’t work. The service starts and stops right after.

 

I loaded it that way: cygrunsrv --install postmaster --path /usr/bin/postmaster --args "-D /var/psql/data -i" --dep ipc-daemon2 --termsig INT –shutdown

 

Other question...I couldn’t find the “ipc-daemon” service so I loaded “ipc-daemon2”. Is that the problem? What is the difference between both of them?

How can I delete a service in the service list on XP?

 

Thanx for your help!

 

Fabio Patocchi

 

 


Attachment

pgsql-cygwin by date:

Previous
From: "Daniel Merke"
Date:
Subject: Re: Troubles with installation of cygrunsrv
Next
From: Frank Seesink
Date:
Subject: Re: shared memory