Postmaster won't run as service on Cygwin

From: Andreas <maps(dot)on(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Postmaster won't run as service on Cygwin
Date: 2004-03-15 21:00:07
Message-ID: 40561957.4030402@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I installed an postmaster for trainig and developement on my home box.
It should run as win 2000 service on cygwin.

Cygwin sits in I:\cygwin
Data is I:\db_data\psql_data
Data folder belongs to the user postgres.benutzer

I (postgres) can start the postmaster on a command line.
I can log in and everything seems to be OK.

Then I wanted to start it as service and ran as administrator on a
cygwin console:
cygrunsrv --install postmaster --path /usr/bin/postmaster --args "-D
/cygdrive/i/db_data/pgsql_data -i" --dep ipc-daemon2 --termsig INT
--user postgres --shutdown

postmaster shows up in the service-management-console
When I try to mouse-click it, it shows 2 boxes on the progress bar, then
stalls and after quite a while it throws Error 1067 Process got
unexpectedly stopped
"net start postmaster" run as administrative user throws the same.
"net start postmaster" run as uster postgres gives System-Error 5
access denied

What now ?

Andreas

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Edwin Pauli 2004-03-15 22:47:05 Re: PostgeSQL problem (server crashed?)
Previous Message William Yu 2004-03-15 20:54:06 Re: Question on Opteron performance