Received: from finch-post-11.mail.demon.net (finch-post-11.mail.demon.net [194.217.242.39]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f65E3Qa05915 for ; Thu, 5 Jul 2001 10:03:26 -0400 (EDT) (envelope-from dev@archonet.com) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by finch-post-11.mail.demon.net with esmtp (Exim 2.12 #1) id 15I9iz-0000ZF-0B; Thu, 5 Jul 2001 14:03:21 +0000 Received: from client (client.archonet.com [192.168.1.16]) by mainbox.archonet.com (Postfix) with SMTP id BF18913B82; Thu, 5 Jul 2001 14:47:22 +0100 (BST) Message-ID: <006d01c10559$0405c600$1001a8c0@archonet.com> From: "Richard Huxton" To: "Bhuvan A" , References: Subject: Re: ConnecDB() -- couldn't send SSL negotiation packet: Date: Thu, 5 Jul 2001 14:47:20 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 X-Archive-Number: 200107/47 X-Sequence-Number: 3828 From: "Bhuvan A" > While i am trying to connect pgsql from a perl program, i am > getting the error message as > > ConnectDB() -- couldn't send SSL negotiation packet: > errno=9 Bad file descriptor Are you checking return values from whatever connect/open call you make? It sounds like the client end is trying to negotiate a connection over a non-existent socket. What Perl module are you using? Can you show some code? - Richard Huxton