Re: BUG #9518: temporary login failure - "missing pg_hba entry"

From: Venkata Balaji Nagothi <vbnpgc(at)gmail(dot)com>
To: Mike Blackwell <mike(dot)blackwell(at)rrd(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #9518: temporary login failure - "missing pg_hba entry"
Date: 2014-04-01 01:01:41
Message-ID: CAHBAh5ssqrqk-feRW+9=YQO7dUNSkG99CVbeeHN+EPyMpCxfew@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On Sat, Mar 29, 2014 at 8:36 AM, Mike Blackwell <mike(dot)blackwell(at)rrd(dot)com>wrote:

This particular host is listed in pg_hba.conf by host name rather than by
> IP address. Is it possible this error is due to an intermittent DNS
> failure?
>

Not sure, if this issue still persists -

We had the similar situation in the past -

If the host is listed in the pg_hba.conf file - the reloading of the
configuration was successful ?

Any unnecessary blank spaces or the entries which are in-correct format
will not let the pg_hba.conf reload be successful.

In our case - some other host's entry was troubling us, it worked fine,
when we commented it out.

OR

May be you need to re-check the DNS configuration and see if you are able
to ping the DB server host ( using DNS name and IP address both ).

May be DB server is not recognizing the DNS hostname ( check /etc/hosts ).

Regards,

Venkata Balaji N
Fujitsu Australia

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2014-04-01 02:17:21 Re: BUG #9518: temporary login failure - "missing pg_hba entry"
Previous Message Christian Ullrich 2014-03-31 20:31:39 Re: BUG #8695: Reloading dump fails at COMMENT ON EXTENSION plpgsql

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2014-04-01 01:01:49 Re: [BUG FIX] Compare returned value by socket() against PGINVALID_SOCKET instead of < 0
Previous Message Peter Geoghegan 2014-03-31 23:35:41 Re: B-Tree support function number 3 (strxfrm() optimization)