Update 2:
OK, I've got it narrowed down even further.
Don't laugh !
It's the name of the service "postmaster".
This line creates a service that won't start.
$ cygrunsrv --install postmaster --path /usr/bin/postmaster --args "-D
/cygdrive/i/db_data/pgsql_data -i" --dep ipc-daemon2 --termsig INT
Update:
If I let postgresql put it's data where Cygwin proposes
/usr/share/postgresl/data then the service starts as expected.
Obviously it's either some hardcoded path in the binaries or I have an
permission issue with Windows 2000.
I'd bet on the permissions.
But if the permissions aren't O
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 userpostgres.benutzer
I (postgres) can start the postmaster on a command line.
I can log
bash$ /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data
DEBUG: Data Base System is starting up at Thu Jan 11 14:11:04 2001
FATAL 2: Read("/usr/local/pgsql/data/pg_control") failed: 2
FATAL 2: Read("/usr/local/pgsql/data/pg_control") failed: 2
Startup failed - abort