From: | "Roeland M(dot)J(dot) Meyer" <rmeyer(at)mhsc(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, David Hartwig <daveh(at)insightdist(dot)com> |
Cc: | pgsql-interfaces(at)hub(dot)org |
Subject: | Re: [INTERFACES] Remote access ODBC/MS-Access |
Date: | 1998-08-21 15:13:58 |
Message-ID: | 199808211514.IAA19666@condor.mhsc.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
At 09:59 AM 8/21/98 -0400, Tom Lane wrote:
>"Roeland M.J. Meyer" <rmeyer(at)mhsc(dot)com> writes:
>>> postgres(at)condor:/rdbms$> psql customerdb
>>> Connection to database 'customerdb' failed.
>>> connectDB() failed: Is the postmaster running at 'raven.mhsc.com' on port
>> '5432'?
>
>If you look at the code in src/interfaces/libpq/fe-connect.c, you'll
>find this message is generated if the connect() system call fails,
>which means you don't have connectivity to the postmaster.
>
>You need not worry about whether the database exists or whether
>hba.conf allows you to connect, because none of those conditions
>can be checked until the postmaster receives the startup request
>packet from the client --- and your client is not even getting
>as far as sending that packet.
>
>A quick-and-dirty point is did you start the postmaster with -i
>on its command line? If not it won't be listening for TCP
>connections, only unix-socket connections.
Nope. BTW, the man-pages do not mention a -i switch. Are there any parameters?
>Otherwise it seems like you must have an addressing or physical
>connectivity problem of some kind...
Samba works, as well as, BIND, SSH, Apache-SSL, rlogin, etc... raven has
been on-line since Dec97.
___________________________________________________
Roeland M.J. Meyer, ISOC (InterNIC RM993)
e-mail: <mailto:rmeyer(at)mhsc(dot)com>rmeyer(at)mhsc(dot)com
Internet phone: hawk.mhsc.com
Personal web pages: <http://www.mhsc.com/~rmeyer>www.mhsc.com/~rmeyer
Company web-site: <http://www.mhsc.com/>www.mhsc.com/
___________________________________________
SecureMail from MHSC.NET is coming soon!
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas G. Lockhart | 1998-08-21 15:36:55 | Re: [INTERFACES] iodbc interface on Unix |
Previous Message | Tom Lane | 1998-08-21 14:19:58 | Convert PGconn, PGresult to opaque types? |