Received: from u1.abs.net (root@u1.abs.net [207.114.0.131]) by hub.org (8.9.1/8.9.1) with ESMTP id LAA28421 for ; Fri, 15 Jan 1999 11:22:54 -0500 (EST) (envelope-from byronn@insightdist.com) Received: from insightdist.com (nobody@localhost) by u1.abs.net (8.9.0/8.9.0) with UUCP id LAA09505 for pgsql-interfaces@postgresql.org; Fri, 15 Jan 1999 11:03:22 -0500 (EST) X-Authentication-Warning: u1.abs.net: nobody set sender to insightdist.com!byronn using -f Received: from ceodev by insightdist.com (AIX 3.2/UCB 5.64/4.03) id AA04425; Fri, 15 Jan 1999 10:42:54 -0500 Received: from byronn by ceodev (AIX 4.1/UCB 5.64/4.03) id AA48574; Fri, 15 Jan 1999 10:42:53 -0500 Message-Id: <369F6277.D5A14AAD@insightdist.com> Date: Fri, 15 Jan 1999 10:44:55 -0500 From: Byron Nikolaidis X-Mailer: Mozilla 4.05 [en] (Win95; I) Mime-Version: 1.0 To: "Thomas G. Lockhart" Cc: applixware-list@applix.com, Postgres Interfaces Mailing List Subject: Re: AWL: postgres odbc woes, continued ....... References: <369D5D0E.AA522E2C@quoll.com> <369EA745.BA3B2E5C@alumni.caltech.edu> <369F4F54.B760B753@insightdist.com> <369F5D1C.986EAFFA@alumni.caltech.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thomas G. Lockhart wrote: > > This is a physical socket connection problem. The Socket Info (above) > > shows errornumber=4, which is a failure in the connect() > > system call. At this point in communications, protocol has not have > > come into play yet. > > I would suggest checking to see if the postmaster is running with -i, > > and can connect from the machine, and all that network jazz. > > I copied the older version's source code to the new tree and it worked > fine. No other changes, and I left postmaster running in between these > tests. > I was looking at the logfile again, and this might explain it. Notice the port has some junk in it. That would make the connect() call fail alright.CC_connect(): DSN = 'Test', server = 'localhost', port = '', database = 'test', username= 'tgl', password='no$way' I'm not sure why the port has that stuff. It could be a bug, but check your odbcinst.ini and odbc.ini files for anything weird. Byron