Re: socket operation on non-socket error

Поиск
Список
Период
Сортировка
От Reini Urban
Тема Re: socket operation on non-socket error
Дата
Msg-id 41BBE5B8.2000107@x-ray.at
обсуждение исходный текст
Ответ на socket operation on non-socket error  (Ranel Covert <covertr@us.ibm.com>)
Список pgsql-cygwin
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/

В списке pgsql-cygwin по дате отправления:

Предыдущее
От: Ranel Covert
Дата:
Сообщение: socket operation on non-socket error
Следующее
От: David Liu
Дата:
Сообщение: HOW TO GET initdb WORKING WITH CYGWIN (if you're getting signal 12's)