Skip site navigation (1) Skip section navigation (2)

Re: PostgreSql on windows 98

From: Jason Tishler <jason(at)tishler(dot)net>
To: Samuel Goyer <sam-goyer(at)ifrance(dot)com>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: PostgreSql on windows 98
Date: 2001-10-05 13:58:35
Message-ID: 20011005095835.L1544@dothill.com (view raw or flat)
Thread:
Lists: pgsql-cygwin
Samuel,

On Mon, Oct 01, 2001 at 04:58:31PM +0200, Samuel Goyer wrote:
> I try to do work PostgreSql on window 98.
> I had try and succes on winnt, but on windows 98 I have the following
> message :
> pq_flush: send() failed: The descriptor is a file, not a socket
> pq_recvbuf: recv() failed: The descriptor is a file, not a socket
> 
> It's the postmaster that sais this.
> The initdb script is ok.
> 
> I try with some several options
> PGHOST, PGPORT, PGDATA, but any of this change the error.
> 
> In a strace command (strace -o psql.log psql -h 120.0.0.1 template1),
> I found this message
> 
>   848  330060 [main] psql 526351 cygwin_socket: 3 = socket (2, 1, 0)
>   654  330714 [main] psql 526351 cygwin_setsockopt: setsockopt optval=1
>   528  331242 [main] psql 526351 cygwin_setsockopt: 0 = setsockopt (3, 6, 1
> (SO_DEBUG), 254FC18, 4)
> 45329288 45660530 [main] psql 526351 __set_winsock_errno:
> cygwin_connect:883 - winsock error 10060 -> errno 116
>   461 45660991 [main] psql 526351 _close: close (3)
>   621 45661612 [main] psql 526351 fhandler_socket::close: 0 =
> fhandler_socket::close()
> 
> If you have any idea ???

Please post the above to the Cygwin mailing list (cygwin(at)cygwin(dot)com).
This is really a Cygwin 9x/Me, sockets problem.  Maybe someone there
will be able to fix this problem.

FWIW, from MS's winsock2.h, I was able to glean that 10060 is Winsock
error WSAETIMEDOUT.

Thanks,
Jason

In response to

pgsql-cygwin by date

Next:From: Jason TishlerDate: 2001-10-05 15:05:18
Subject: Re: Socket problem with Postgres & cygwin under Window 98
Previous:From: Jason TishlerDate: 2001-10-05 13:51:44
Subject: Re: Postgresql 7.1.3 on Win98

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group