socket operation on non-socket error

Ranel Covert <[email protected]> Sat, 11 Dec 2004 12:54:14 -0500
Newsgroups gmane.comp.db.postgresql.cygwin
Message-ID <OF9903F3AB.95582C02-ON87256F67.0058F4FA-85256F67.00625898@us.ibm.com>



I Installed latest cygwin with postgresql 7.4.5-1, along with cygserver and
cyrunsrv 1.0-1

I ran config-sygserver and completed successfully.

I set CYGWIN=SERVER

I ran /usr/sbin/cygserver &

I ran initdb -D /var/postgresql/data and this completes  fine

When I run postmaster -D /var/postgresql/data & I get the following
messages
WARNING:  dup(0) failed after 3196 successes: Bad file descriptor
LOG:  database system was shut down at 2004-12-11 10:33:27 EST
LOG:  checkpoint record is at 0/9DDFA0
LOG:  redo record is at 0/9DDFA0; undo record is at 0/0; shutdown TRUE
LOG:  next transaction ID: 536; next OID: 17142
LOG:  database system is ready
LOG:  could not read statistics message: Socket operation on non-socket
LOG:  statistics collector process (PID 2504) exited with exit code 1
LOG:  could not receive data from client: Socket operation on non-socket
LOG:  incomplete startup packet
LOG:  could not read statistics message: Socket operation on non-socket
LOG:  statistics collector process (PID 792) exited with exit code 1

And when I run psql template1, I get the following messages
psql: server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.

Help from anyone would be greatly appreciated!


Mr. Ranel ("Randy") Covert
IBM Global Services
T/L 262-2287
Direct Tel.  301-803-2287 or 301-270-8102
Cell Phone:  240-350-8464