Page 1 of 1

A database connection error has been detected

Posted: Fri May 17, 2019 5:07 am
by itsupportgroup
Hi,
I have moved our Nagios XI virtual server to a new one ESX. Now, when it starts it says:

"
Database error
a database connection has been detected, please follow the repair prompt below. If the issue persists, 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
"

I have performed a lot of times suggested command, it ends successfully but nothing change.
Please, help me.

gp

Re: A database connection error has been detected

Posted: Fri May 17, 2019 5:25 am
by giuseppep
I am a colleague of person who has opened this case. I am following too.
Just for information, these are details about OS:

CentOS Linux 7 Kernel 3.10.0-957.1.3.el7.x86_64 on an x86_64

gp

Re: A database connection error has been detected

Posted: Fri May 17, 2019 8:40 am
by scottwilkerson
Can you show the results of the following

Code: Select all

df -h
grep pgsql /usr/local/nagiosxi/html/config.inc.php
tail -10 /var/log/mariadb/mariadb.log
systemctl status mariadb
systemctl status postgresql