Received: from hotmail.com (f168.law3.hotmail.com [209.185.241.168]) by hub.org (8.9.3/8.9.3) with SMTP id UAA43342 for ; Thu, 2 Mar 2000 20:03:30 -0500 (EST) (envelope-from dayo_nanaimo@hotmail.com) Received: (qmail 14531 invoked by uid 0); 3 Mar 2000 01:02:59 -0000 Message-ID: <20000303010259.14530.qmail@hotmail.com> Received: from 207.102.33.177 by www.hotmail.com with HTTP; Thu, 02 Mar 2000 17:02:59 PST X-Originating-IP: [207.102.33.177] From: "Don Oliver" To: pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] Pgaccess - Error trying to connect Date: Thu, 02 Mar 2000 17:02:59 PST Mime-Version: 1.0 Content-Type: text/plain; format=flowed "Dave Del Signore" wrote >Try editing the script by hand, and find the line which is of the form: >su -l postgres -c "$BINDIR/postmaster -i -S -D$DATADIR" yes, this is OK "Joe Shevland" wrote >Do a: >netstat -an >and check if anything is listening on port 5432. I get: tcp 0 0 0.0.0.0:5432 0.0.0.0:* LISTEN >Also, try looking at your ODBC data source definition >and check the hostname/IP address setting. >Once you've verified this, try pinging that hostname >or IP address from your DOS-prompt to see if its >reachable via TCP/IP. I'll have to look up what these mean and how to do them. I'm still pretty ignorant. :-) "Tom Lane" wrote >If you mean that "psql" works, that's good, but by default psql tries to >connect via a Unix socket file, not via TCP/IP. So TCP connection >problems won't necessarily show up. If you use the -h option then psql >tries to use a TCP connection, which is what pgaccess always tries. >I'll bet if you do "psql -h localhost" you see the same failure as in >pgaccess. I did! >If you do, say, "telnet localhost 23", do you get a telnet login prompt >or an error? I got error no such command. So installed telnet, and now get: "telnet: unable to connect to remote host: Network is unreachable." It is now quite apparent that my problem is not with PgAccess, but with my network setup. I'll work on this. I see that I have lots more reading to do! Many thanks to you all for the help. I would never have thought of these things myself. Don Don Oliver dayo_nanaimo@hotmail.com ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com