Skip site navigation (1) Skip section navigation (2)

Re: PostgreSQL JDBC error: Missing or erroneous pg_hba.conf file

From: Peter Mount <peter(at)retep(dot)org(dot)uk>
To: Ira Waxberg <i-waxberg(at)exodus(dot)co(dot)jp>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: PostgreSQL JDBC error: Missing or erroneous pg_hba.conf file
Date: 2000-06-05 09:47:21
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
On Wed, 31 May 2000, Ira Waxberg wrote:

> 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

This is being sent to the backend as it's seeing a corrupt pg_hba.conf

This file could also be missing but as you include it next, it's not that.

> The pg_hba.conf file:
> host         all   trust
> host         all   trust
> host         all                   trust

This line is corrupt as it's missing the subnet mask. delete it, as it's a
duplicate of the preciding line.


       Peter T Mount peter(at)retep(dot)org(dot)uk
      Main Homepage:
PostgreSQL JDBC Faq:
 Java PDF Generator:

In response to

pgsql-interfaces by date

Next:From: Peter MountDate: 2000-06-05 10:03:43
Subject: Re: JDBC squirrely transaction behavior??
Previous:From: Kovacs Zoltan SandorDate: 2000-06-05 08:46:31
Subject: Re: ODBC driver for Windows - Problems

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group