Re: Missing or errooneous pg_hba.conf file - Mailing list pgsql-admin

From Tom Lane
Subject Re: Missing or errooneous pg_hba.conf file
Date
Msg-id 20717.1085001386@sss.pgh.pa.us
Whole thread Raw
In response to Missing or errooneous pg_hba.conf file  (Bill Chandler <billybobc1210@yahoo.com>)
Responses Re: Missing or errooneous pg_hba.conf file
List pgsql-admin
Bill Chandler <billybobc1210@yahoo.com> writes:
> LOG: invalid entry in pg_hba.conf file at line 60,
> token "255.255.255.255"

> I have found that if I change this value to anything
> other than "255.255.255.255" (e.g. "255.255.255.254")
> the message goes away.

Bizarre.  AFAICS this must indicate that getaddrinfo() is rejecting the
value, which perhaps could happen if some bit of it were miscoded to
use "-1" as a failure code.

> Interestingly the same 7.4.1 binary running on a different machine did
> not exhibit the problem.  Could it be a Solaris patch level thing?

Seems likely.  Can you update and see if that fixes it?

            regards, tom lane

pgsql-admin by date:

Previous
From: Bill Chandler
Date:
Subject: Missing or errooneous pg_hba.conf file
Next
From: Christopher Browne
Date:
Subject: Re: Missing or errooneous pg_hba.conf file