Re: install ipc-daemon and postmaster as Windows service

Поиск
Список
Период
Сортировка
От Godshall Michael
Тема Re: install ipc-daemon and postmaster as Windows service
Дата
Msg-id A596FA3368757645AF862C701495CA0002A5E316@hor1mspmx01.gmachs.com
обсуждение исходный текст
Список pgsql-cygwin
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@postgresql.org [mailto:pgsql-cygwin-owner@postgresql.org]On Behalf Of Mimi Wu
Sent: Thursday, December 04, 2003 2:52 PM
To: pgsql-cygwin@postgresql.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

В списке pgsql-cygwin по дате отправления:

Предыдущее
От: "Mimi Wu"
Дата:
Сообщение: install ipc-daemon and postmaster as Windows services
Следующее
От: "Mimi Wu"
Дата:
Сообщение: Re: install ipc-daemon and postmaster as Windows services