Error on postgresql driver (or pg_hba)

From: "Ron Looi" <ron(at)logiqube(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Error on postgresql driver (or pg_hba)
Date: 2001-08-28 07:38:37
Message-ID: OFEDICIEGICNOCPHAKMFGEOECBAA.ron@logiqube.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general

I'm getting the following error from my application log file. I'm using
Postgres 7.1.2 running on HP-UX 11.0. These errors are results from our
Java servlet programs using the postgresql driver:

"Something unusual has occured to cause the driver to fail.
Please report this exception: java.sql.SQLException: Missing or erroneous
pg_hba.conf file, see postmaster log for details"

When it happens the connection is broken as can be seen from the following
messages in my postmaster logs:

"pq_recvbuf: unexpected EOF on client connection"
"Missing or erroneous pg_hba.conf file, see postmaster log for details
find_hba_entry: Unable to open authentication config file
"/opt/postgresql-7.1.2
/data/pg_hba.conf": File table overflow"

An extra note, we use JRun 3.0 which I'm quite sure has a built in
postgresql driver so this could be the problem but I have not looked into
this possibility in depth.

Everything else seems to be working fine i.e. psql, dumps etc., and also the
db continues functioning as normal after the error occurs. Of course our
application would fail at the time it happens but goes on as normal upon
subsequent retries but would occur again from time to time.

I'm hoping to get some tips on how to find the root of the problem, or point
me to somewhere with more info regarding the above error.

Thanks in advance...will post this to hackers within 24 hrs :)

Ron Looi
Consultant

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Ron Looi 2001-08-28 09:02:33 RE: Error on postgresql driver (or pg_hba)
Previous Message John Summerfield 2001-08-28 01:35:51 Excess disk usage

Browse pgsql-general by date

  From Date Subject
Next Message Ron Looi 2001-08-28 09:02:33 RE: Error on postgresql driver (or pg_hba)
Previous Message satish rao 2001-08-28 06:52:36 Create table syntax