Обсуждение: socket operation on non-socket error

Поиск
Список
Период
Сортировка

socket operation on non-socket error

От
Ranel Covert
Дата:

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

Re: socket operation on non-socket error

От
Reini Urban
Дата:
Ranel Covert schrieb:
> I Installed latest cygwin with postgresql 7.4.5-1, along with cygserver
> and cyrunsrv 1.0-1

Please report to the cygwin list with your cygcheck output attached.
(cygcheck -s -v -r > cygcheck.out)
Esp. we need the exact version of cygwin and cygserver. And maybe some
other info from your OS.
See http://cygwin.com/problems.html

Cannot imagine why dup(stdin) got hosed. And in which situation this
happened.

> 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!
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/