5. Trouble Shooting

Q: I get an error message like: FATAL: Ident authentication failed. How can I fix this ?

A: It’s because the setting of PostgreSQL database. Try to modify the config file pg_hba.conf. For example, in PostgreSQL 9.5, the file is at /var/lib/pgsql/9.5/data/pg_hba.conf. Make sure you change part of the content of it into something like:

local   all             all                               peer
host    all             all             127.0.0.1/32      ident
host    all             all             ::1/128           md5