Page 1 of 1

"repair_databases.sh" Issue occurring more frequently

Posted: Sat Mar 14, 2020 5:25 am
by pudheer
<h3>Database Error</h3>A database connection error has been detected, please follow the repair prompt below. If the issue persists, please contact Nagios support.<p>Run the following from the CLI as root to attempt to repair the DB:<br><pre>/usr/local/nagiosxi/scripts/repair_databases.sh</pre></p>LOCKFILE '/usr/local/nagiosxi/var/dbmaint.lock' EXISTS - EXITING!
LOCKFILE '/usr/local/nagiosxi/var/dbmaint.lock' EXISTS - EXITING!
LOCKFILE '/usr/local/nagiosxi/var/dbmaint.lock' EXISTS - EXITING!
LOCKFILE '/usr/local/nagiosxi/var/dbmaint.lock' EXISTS - EXITING!
LOCKFILE '/usr/local/nagiosxi/var/dbmaint.lock' EXISTS - EXITING!
LOCKFILE '/usr/local/nagiosxi/var/dbmaint.lock' EXISTS - EXITING!
LOCKFILE '/usr/local/nagiosxi/var/dbmaint.lock' IS OLD - REMOVING

Kindly help us resolve this issue

Re: "repair_databases.sh" Issue occurring more frequently

Posted: Mon Mar 16, 2020 8:23 am
by jdunitz
Sorry to hear you're continuing to have trouble.

Can you tell us how frequently you're experiencing this problem now compared to before?

Has anything changed, such as your number of hosts and services?

If you want to, you can post a system profile and we can have a look at your system and perhaps find the cause.

https://library.nagios.com/library/prod ... nagios-xi/