A database connection error has been detected
Posted: Sun Jul 12, 2015 2:31 pm
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
Tried running this script, no change. Also tried restarting both the database and nagiosxi servers
output from /var/log/httpd/error_log
[Sun Jul 12 14:59:27 2015] [error] [client 10.x.x.x] PHP Warning: pg_pconnect(): Unable to connect to PostgreSQL server: FATAL: connection limit exceeded for non-superusers in /usr/local/nagiosxi/html/db/adodb/drivers/adodb-postgres64.inc.php on line 682, referer: http://nagiosxi.address.com/nagiosxi/
[Sun Jul 12 14:59:27 2015] [error] [client 10.x.x.x] PHP Notice: Undefined variable: result in /usr/local/nagiosxi/html/includes/db.inc.php on line 241, referer: http://nagiosxi.address.com/nagiosxi/
Run the following from the CLI as root to attempt to repair the DB
/usr/local/nagiosxi/scripts/repair_databases.sh
Tried running this script, no change. Also tried restarting both the database and nagiosxi servers
output from /var/log/httpd/error_log
[Sun Jul 12 14:59:27 2015] [error] [client 10.x.x.x] PHP Warning: pg_pconnect(): Unable to connect to PostgreSQL server: FATAL: connection limit exceeded for non-superusers in /usr/local/nagiosxi/html/db/adodb/drivers/adodb-postgres64.inc.php on line 682, referer: http://nagiosxi.address.com/nagiosxi/
[Sun Jul 12 14:59:27 2015] [error] [client 10.x.x.x] PHP Notice: Undefined variable: result in /usr/local/nagiosxi/html/includes/db.inc.php on line 241, referer: http://nagiosxi.address.com/nagiosxi/