DATA Base error nagios xi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rnjie
Posts: 157
Joined: Wed Mar 20, 2019 4:59 pm

DATA Base error nagios xi

Post by rnjie »

i cannot connect to my nagios gui, i get the following error

Database Error
A database connection error 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 tried running the command above but it fails and when i run it again i get the error

/usr/local/nagiosxi/scripts/repair_databases.lock already exists. Perhaps a repair is already in process ..aborting

i have checked and all service are running, am not sure what else to do, any help or input will be appreciated
rnjie
Posts: 157
Joined: Wed Mar 20, 2019 4:59 pm

Re: DATA Base error nagios xi

Post by rnjie »

found the solution, i noticed that nagios created another file called (repair_databases.lock) in /usr/local/nagiosxi/scripts and am guessing it was stoping the original repair script from running cuz when i deleted the file and ran the repair script again it ran and repaired my database successfully. i can now connect to Gui.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: DATA Base error nagios xi

Post by cdienger »

Glad to hear you found a solution!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked