Hello!
I am having problems running PostgreSQL 7.4.3.
I do the following:
1) Start cygserver
2) mkdir /tmp/foo
3) CYGWIN=server initdb -D /tmp/foo
4) CYGWIN=server postmaster -D /tmp/foo
Step (4) fails as follows:
WARNING: dup(0) failed after 3196 successes: Bad file descriptor
C:\cygwin\bin\postgres.exe (768): *** MapViewOfFileEx (0xF10000), Win32 error 487. Terminating.
LOG: startup process (PID 768) exited with exit code 1
LOG: aborting startup due to startup process failure
C:\cygwin\bin\postgres.exe (1636): *** MapViewOfFileEx (0xF10000), Win32 error 487. Terminating.
What I am doing wrong?
Some background information:
$ uname -a
CYGWIN_NT-5.0 se10lt0219 1.5.10(0.116/4/2) 2004-05-25 22:07 i686 unknown unknown Cygwin
$ postmaster --version
postmaster (PostgreSQL) 7.4.3
$ /usr/sbin/cygserver --version
cygserver: (cygwin) 1.10
API version 1.5.10(0.116/4/1)-(2.0.0.2) 2004-05-25 22:07
Copyright 2001, 2002, 2003 Red Hat, Inc.
Compiled on May 25 2004
Default configuration file is /etc/cygserver.conf
Cheers,
Lars