Page 1 of 1

A datbase error has been detected

Posted: Tue Apr 14, 2015 1:26 pm
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.

Re: A datbase error has been detected

Posted: Tue Apr 14, 2015 1:40 pm
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