Neil,
Please post instead of sending private email.
On Sun, Jun 06, 2004 at 12:25:28AM +0200, neil haslewood wrote:
> I wanted to thank you personally for your highly intelligible, clear
> postgres installation instructions for XP pro under Cygwin. For a
> novice Unix user like me this was a godsend. My interest in Cygwin is
> as a platform for postgres, although UNIX is on my long list of
> 'things to be done'. My interest in postgres as an alternative to
> Mysql is much more immediate - I'm developing a browser based process
> modelling tool that should support most major RDMS's with a friend and
> I have the DB assignment. I successfully installed Cygwin 2.427 and
> completed tasks 1 -3:
>
> 1. Install the cygipc ipc-daemon2 as a NT service:
>
> # ipc-daemon2 --install-as-service
>
> 2. Create the "postgres" user account:
>
> # net user postgres $password /add /fullname:postgres /comment:'PostgreSQL user account' /homedir:"$(cygpath -w
/home/postgres)"# [11]
> # mkpasswd -l -u postgres >>/etc/passwd
>
> 3. Grant the "postgres" user the "Log on as a service" user right:
>
> # cmd /c secpol.msc # [3] [4] [5] [12]
>
> At the 4th point:
>
> 4. Install postmaster as a NT service:
>
> # cygrunsrv --install postmaster --path /usr/bin/postmaster --args "-D /var/postgresql/data -i" --dep ipc-daemon2
--termsigINT --user postgres --shutdown # [6]
>
>
> I received the message: bash: cygrunsrv: command not found, and could
> not indeed find the command anywhere in the package 7.4.1-3. Any
> ideas?
You need to install the cygrunsrv package via Cygwin's setup.exe.
> Sorry to bother you with this, thought you would be interested to
> know.
I have updated the setup.hint and README.
> Many thanks again.
You are welcome.
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6