Re: Troubles with installation of cygrunsrv

From: Franco Bruno Borghesi <franco(at)akyasociados(dot)com(dot)ar>
To: fabio(at)patocchi(dot)ch
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Troubles with installation of cygrunsrv
Date: 2003-11-12 21:55:44
Message-ID: 1068674143.1667.16.camel@taz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
>
>
>
>
>
>

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Frank Seesink 2003-11-13 02:21:43 Re: shared memory
Previous Message Daniel Merke 2003-11-12 13:44:41 Re: Troubles with installation of cygrunsrv