Received: from Donald.bks ([202.9.161.100]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f668mQa38325 for ; Fri, 6 Jul 2001 04:48:28 -0400 (EDT) (envelope-from bhuvanbk@yahoo.com) Received: from Larry.bks (root@Larry.bks [200.2.1.10]) by Donald.bks (8.11.3/8.11.3) with ESMTP id f668ofV10046; Fri, 6 Jul 2001 14:20:42 +0530 Received: from localhost (bhuvan@localhost) by Larry.bks (8.9.3/8.8.5) with ESMTP id OAA07046; Fri, 6 Jul 2001 14:18:16 +0530 Date: Fri, 6 Jul 2001 14:18:16 +0530 (IST) From: Bhuvan A To: Richard Huxton cc: pgsql-sql@postgresql.org Subject: Re: ConnecDB() -- couldn't send SSL negotiation packet: In-Reply-To: <3B4563A1.10032186@archonet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200107/55 X-Sequence-Number: 3836 Well, here is the part of my code where i am trying to connect to database server which uses the perl module 'Pg'. $db = 'user=bhuvan dbname=bhuvan host=localhost'; $conn = Pg::connectdb($db); die "Sorry! DATABASE CONNECTION FAILED\n", $conn->errorMessage unless PGRES_CONNECTION_OK eq $conn->status; print "db connection SUCCESSFUL\n"; Here is again the output: Sorry! DATABASE CONNECTION FAILED connectDB() -- couldn't send SSL negotiation packet: errno=9 Bad file descriptor 255 returned --------END--------- MISC: Sir, why my message is not getting posted in pgsql-sql mailing list! On Fri, 6 Jul 2001, Richard Huxton wrote: > Bhuvan A wrote: > > > > Well, I am using the perl standard module 'Pg'. For your > > kind attention, I am socksifying my application, since we > > are here using proxy! > > Right - can you post the 10 lines of code or so leading up to where the > error occurs? > > - Richard Huxton >