From: Nick Fankhauser <nickf@ontko.com>
To: Russ McBride <Russ@psyex.com>
To: pgsql-admin@postgresql.org
Subject: Re: authentication problems
Date: Sat, 29 Sep 2001 16:10:27 -0500
Message-ID: <NEBBLAAHGLEEPCGOBHDGCEKBDLAA.nickf@ontko.com> (raw)
In-Reply-To: <v04210106b7db2441dd7f@[64.164.9.231]>
Russ-
You've got a real poser there... our system works fine with the same lines
in pg_hba. I think that means you may find your answer in the operating
system environment instead of the postgres setup.
> local all trust
> host all 127.0.0.1 255.255.255.255 trust
> Also, I don't understand what's special about the above numbers
> (127.0.0.1 and it's mask) such that they are used to allow any ips to
> come in from the same machine.
The explanation may be a clue to the problem. 127.0.0.1 is universally
reserved and recognized to mean "this machine", but this is not hard-coded
in the networking programs, so most systems will have lines in the IP
configuration files equating localhost to 127.0.0.1. For instance, your
etc/hosts file should have an entry that says:
127.0.0.1 localhost
I wonder if this line, or something like it in your system's IP
configuration is missing & hence postgres can't use localhost to reach the
the local machine. One way to test this would be to try to ping localhost &
see if it responds by telling you it is attempting to ping 127.0.0.1
If you can't ping localhost, or it doesn't resolve to 127.0.0.1, then you
know the problem is at the operating system/network level & postgres and
JDBC are probably just fine.
-Nick
---------------------------------------------------------------------
Nick Fankhauser
Business:
nickf@doxpop.com Phone 1.765.965.7363 Fax 1.765.962.9788
doxpop - Court records at your fingertips - http://www.doxpop.com/
Personal:
nick@fankhausers.com http://www.fankhausers.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: nickf@ontko.com, Russ@psyex.com
Subject: Re: authentication problems
In-Reply-To: <NEBBLAAHGLEEPCGOBHDGCEKBDLAA.nickf@ontko.com>
References: <v04210106b7db2441dd7f@[64.164.9.231]> <NEBBLAAHGLEEPCGOBHDGCEKBDLAA.nickf@ontko.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox