PostgreSQL JDBC error: Missing or erroneous pg_hba.conf file - Mailing list pgsql-interfaces

From Ira Waxberg
Subject PostgreSQL JDBC error: Missing or erroneous pg_hba.conf file
Date
Msg-id 03a901bfcabf$078c6930$3a63d8cb@WAX
Whole thread Raw
Responses Re: PostgreSQL JDBC error: Missing or erroneous pg_hba.conf file
Re: PostgreSQL JDBC error: Missing or erroneous pg_hba.conf file
List pgsql-interfaces
I get this error only when coming in from the local host! Remote clients,
oddly enough, don't have this problem.

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       at postgresql.Driver.connect(Driver.java:125)       at
java.sql.DriverManager.getConnection(DriverManager.java:453)      at
java.sql.DriverManager.getConnection(DriverManager.java:133)      at
com.exodus.change.util.DBTest.<init>(DBTest.java:28)      at com.exodus.change.util.DBTest.main(DBTest.java:44)
 

The pg_hba.conf file:

host         all         127.0.0.1     255.255.255.255   trust
host         all         203.216.99.58 255.255.255.255   trust
host         all         203.216.99.58                   trust
host         all         203.216.0.0   255.255.255.0     trust

Any ideas?

Ira Waxberg
Developer
Exodus Communications, K.K.
Imperial Nishi-Shinjuku Building
5-3-2 Nishi-Shinjuku, Shinjuku-ku
Tokyo 160-0023
03-5334-1433
03-5334-1771 (fax)
i-waxberg@exodus.co.jp
http://www.exodus.co.jp




pgsql-interfaces by date:

Previous
From: Gregory Krasnow OpenSourceCRM
Date:
Subject: RE: ODBC driver
Next
From: Randall Skelton
Date:
Subject: TCP/IP DB connection for a Macintosh?