Re: install ipc-daemon and postmaster as Windows services

From: "Mimi Wu" <MimiW(at)fes(dot)org>
To: "Godshall Michael" <Michael_Godshall(at)gmachs(dot)com>, <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: install ipc-daemon and postmaster as Windows services
Date: 2003-12-04 21:52:36
Message-ID: 274C31F7BBB7BB428B493B9431628C091C0F21@NEWMAN.fes.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin


Thank you for the information. But I searched both /bin and /usr/bin
directories, they are identical and there is no such a file. By the way,
are you using postqreSQL 7.4?


-----Original Message-----
From: Godshall Michael [mailto:Michael_Godshall(at)gmachs(dot)com]
Sent: Thursday, December 04, 2003 3:14 PM
To: Mimi Wu; pgsql-cygwin(at)postgresql(dot)org
Subject: RE: [CYGWIN] install ipc-daemon and postmaster as Windows
services

Hi,

My cygrunsrv is in path/bin.

Postmaster I believe has moved as well. On mine it is now under
/usr/local/pgsql/data

-----Original Message-----
From: pgsql-cygwin-owner(at)postgresql(dot)org
[mailto:pgsql-cygwin-owner(at)postgresql(dot)org]On Behalf Of Mimi Wu
Sent: Thursday, December 04, 2003 2:52 PM
To: pgsql-cygwin(at)postgresql(dot)org
Subject: [CYGWIN] install ipc-daemon and postmaster as Windows
services



I installed postgreSQL7.4 on Windows XP. I rebooted the machine,
and could not log into psql any more. I have to go through ./configure,
make, make install .... all over again. I guess that I need to install
ipc-daemon and postmaster as Windows services. I find some instruction
from internet as follows:

$ ipc-daemon --install-as-service
$ cygrunsrv --install postmaster --path /usr/bin/postmaster
--args "-D /usr/share/postgresql/data -i" --dep c-daemon -- msig --user
postgres --shutdown
$ cygrunsrv -S ipc-daemon # actually this step is optional
$ cygrunsrv -S postmaster



I notice that ipc-daemon should be ipc-daemon2 in vs. 7.4. But I
cannot find cygrunsrv in path/usr/bin/ directory. Can you tell me
whether above scripts are still valid for installing postgreSQL7.4? If
they are, what is the equivalent for cygrunsrv? If they are not, what
are the scripts for installing ipc-daemon and postmaster as Windows
services?

Thanks

Mimi

Browse pgsql-cygwin by date

  From Date Subject
Next Message Godshall Michael 2003-12-04 22:07:32 Re: install ipc-daemon and postmaster as Windows service
Previous Message Godshall Michael 2003-12-04 21:14:01 Re: install ipc-daemon and postmaster as Windows service