Certain users getting Databse error when loading webpage

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
wjoyner
Posts: 32
Joined: Thu Mar 22, 2018 7:28 am

Certain users getting Databse error when loading webpage

Post by wjoyner »

Certain users are getting the Database Error - A database Connection has been detected, please follow the repair prompt below. If the issue persists, please contact Nagios Support.

/usr/local/nagiosxi/scripts/repair_databases.sh

This was run, but again its very intermittent to which user gets the error.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Certain users getting Databse error when loading webpage

Post by benjaminsmith »

Hi @wjoyner,

Take a backup or VM snapshot and run the following as root from the command line:

Code: Select all

mysqlcheck -r -f -uroot -pnagiosxi --all-databases
Also, do you have enough disk space on the server?

Code: Select all

df -h
If you're still having issues, check the log file for any errors and post them to this thread:

Code: Select all

tail -n 20 /var/log/mysqld.log
#OR
tail -n 20 /var/log/mariadb/mariadb.log
Repairing The Nagios XI Databases
https://assets.nagios.com/downloads/nag ... tabase.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked