Search Postgresql Archives

Re: psql: FATAL: missing or erroneous pg_hba.conf file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Harald Armin Massa wrote:

Mark,

and what exactly is there in server log?

LOG: missing field in file "/var/lib/pgsql/data/pg_hba.conf" at end of line 67
FATAL:  missing or erroneous pg_hba.conf file
HINT:  See server log for details.

    psql: FATAL:  missing or erroneous pg_hba.conf file
    HINT:  See server log for details.


Reading your words I assume you made a typing error while editing pg_hba.conf


No typo. Thought I'd pasted this in the first post. Sorry about that.

# TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD

# "local" is for Unix domain socket connections only
local   all         trust
# IPv4 local connections:
host    all         all         127.0.0.1/32          ident sameuser
# IPv6 local connections:
host all all ::1/128 ident sameuser
Cheers.

Mark Sargent.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux