Unable to connect to PostgreSQL server: FATAL: Ident authen

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vsara90
Posts: 1
Joined: Fri Feb 14, 2014 1:53 am

Unable to connect to PostgreSQL server: FATAL: Ident authen

Post by vsara90 »

Hi All,

Currently, we are facing issue with Nagios XI.
i.e., in UI, we couldn't able to login and getting the following error.

"DB Connect Error [nagiosxi]: Database connection failed"

By checking the httpd log, we identified the following issue with postgres.
"psql: FATAL: Ident authentication failed for user "nagiosxi""

Also, we changed the pg_hba.conf and changed the IDENT to TRUST.

But it didn't work.

Please help

Thanks.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Unable to connect to PostgreSQL server: FATAL: Ident au

Post by abrist »

Have you changed any of the database passwords?
Can you log into the postgresql db locally?

Code: Select all

echo "\dt" | psql nagiosxi nagiosxi
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked