| From: | Reini Urban <rurban(at)x-ray(dot)at> |
|---|---|
| To: | Ranel Covert <covertr(at)us(dot)ibm(dot)com> |
| Cc: | pgsql-cygwin(at)postgresql(dot)org |
| Subject: | Re: socket operation on non-socket error |
| Date: | 2004-12-12 06:31:20 |
| Message-ID: | 41BBE5B8.2000107@x-ray.at |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Liu | 2004-12-20 23:13:47 | HOW TO GET initdb WORKING WITH CYGWIN (if you're getting signal 12's) |
| Previous Message | Ranel Covert | 2004-12-11 17:54:14 | socket operation on non-socket error |