A database connection error has been detected

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
itsupportgroup
Posts: 1
Joined: Fri May 17, 2019 5:01 am

A database connection error has been detected

Post 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
giuseppep
Posts: 1
Joined: Fri Sep 28, 2018 5:53 am

Re: A database connection error has been detected

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: A database connection error has been detected

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked