delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/05/10:18:39

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <000901c14da8$d2c7d2c0$2f0aa8c0@celya.fr>
From: "Samuel Goyer" <sam-goyer AT ifrance DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Socket problems with postgresql on windows 98
Date: Fri, 5 Oct 2001 16:20:02 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

Hi,
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 =3D socket (2, 1, 0)
  654  330714 [main] psql 526351 cygwin_setsockopt: setsockopt =
optval=3D1
  528  331242 [main] psql 526351 cygwin_setsockopt: 0 =3D 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 =3D
fhandler_socket::close()

If you have any idea ???

Samuel



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019