Nagios Portal Down
Posted: Wed Jan 13, 2016 7:22 pm
Hi Team,
Can someone help me on priority as our Nagios portal is down.
On portal I am getting this below error.
I ran the repair script, but no luck.. Could you please help me with this, thanks.
Can someone help me on priority as our Nagios portal is down.
Code: Select all
tail -f /var/log/httpd/error_log
[Wed Jan 13 18:20:05 2016] [error] [client 10.10.83.91] PHP Notice: Undefined variable: result in /usr/local/nagiosxi/html/includes/db.inc.php on line 249
[Wed Jan 13 18:20:05 2016] [error] [client 10.10.83.91] PHP Warning: pg_pconnect(): Unable to connect to PostgreSQL server: could not connect to server: No such file or directory\n\tIs the server running locally and accepting\n\tconnections on Unix domain socket "/tmp/.s.PGSQL.5432"? in /usr/local/nagiosxi/html/db/adodb/drivers/adodb-postgres64.inc.php on line 682
[Wed Jan 13 18:20:05 2016] [error] [client 10.10.83.91] PHP Notice: Undefined variable: result in /usr/local/nagiosxi/html/includes/db.inc.php on line 249
[Wed Jan 13 18:20:05 2016] [error] [client 10.10.83.91] PHP Warning: pg_pconnect(): Unable to connect to PostgreSQL server: could not connect to server: No such file or directory\n\tIs the server running locally and accepting\n\tconnections on Unix domain socket "/tmp/.s.PGSQL.5432"? in /usr/local/nagiosxi/html/db/adodb/drivers/adodb-postgres64.inc.php on line 682
[Wed Jan 13 18:20:05 2016] [error] [client 10.10.83.91] PHP Notice: Undefined variable: result in /usr/local/nagiosxi/html/includes/db.inc.php on line 249
[Wed Jan 13 18:20:05 2016] [error] [client 10.10.83.91] PHP Warning: pg_pconnect(): Unable to connect to PostgreSQL server: could not connect to server: No such file or directory\n\tIs the server running locally and accepting\n\tconnections on Unix domain socket "/tmp/.s.PGSQL.5432"? in /usr/local/nagiosxi/html/db/adodb/drivers/adodb-postgres64.inc.php on line 682
[Wed Jan 13 18:20:05 2016] [error] [client 10.10.83.91] PHP Notice: Undefined variable: result in /usr/local/nagiosxi/html/includes/db.inc.php on line 249
[Wed Jan 13 18:20:05 2016] [error] [client 10.10.83.91] PHP Warning: pg_pconnect(): Unable to connect to PostgreSQL server: could not connect to server: No such file or directory\n\tIs the server running locally and accepting\n\tconnections on Unix domain socket "/tmp/.s.PGSQL.5432"? in /usr/local/nagiosxi/html/db/adodb/drivers/adodb-postgres64.inc.php on line 682
Code: Select all
Message: A database connection error has been detected, we are attempting to repair the server, if the repair does not resolve the issue, please contact Nagios support.
Run the following from the CLI as root to attempt to repair the DB
/usr/local/nagiosxi/scripts/repair_databases.sh