Skip site navigation (1) Skip section navigation (2)

Re: Thanks

From: Jason Tishler <jason(at)tishler(dot)net>
To: neil haslewood <neil(dot)r(dot)haslewood(at)web(dot)de>
Cc: Pgsql-Cygwin <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: Thanks
Date: 2004-06-05 23:42:50
Message-ID: 20040605234250.GB2620@tishler.net (view raw or flat)
Thread:
Lists: pgsql-cygwin
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 --termsig INT --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

pgsql-cygwin by date

Next:From: Malcolm McEwanDate: 2004-06-07 00:05:13
Subject: Problems with built Postgres 7.4 and IPC
Previous:From: Jason TishlerDate: 2004-06-04 20:58:42
Subject: Re: I have a big problem!

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group