A datbase error has been detected

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jfoshier
Posts: 23
Joined: Thu Apr 24, 2014 6:15 am

A datbase error has been detected

Post by jfoshier »

I ran the script repair_databases.sh and receive numerous errors related to no space.
The first error is "repair_databses.lock" : No space left on device.

When I run df -h I see VolGroup-lv_root
Size 7.5G Used 6.9G Avail=226M (Assume is the issue)
tmpfs
Size 939M User 0 Avail=939M
/dev/sda1 SIze=485M Used=50M Avail=410M

Running NagiosXI on our VM, 10G disk.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: A datbase error has been detected

Post by lmiltchev »

I would recommend clearing some disk space on the server. You can delete old logs in the "/var/log" directory and sub-directories. You can also delete whatever you don't need in the /tmp/" directory. Maybe you have some old backups that you can delete in "/store/backups/nagiosxi".

After you clear some room, add more disk space to your Nagios XI server. Please, review our Nagios XI - Resizing the VM Disk SIze" document here:

http://assets.nagios.com/downloads/nagi ... M_Disk.pdf

You will need to run our database repair script again afterwords:

Code: Select all

cd /usr/local/nagiosxi/scripts
./repair_databases.sh
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked