Hello,
This morning we noticed it wasn't possible to log into Nagios, the following error was displayed:
DB Connect Error [nagiosxi]: Database connection failed DB Connect Error [nagiosxi]: Database connection failed
After rebooting the server, going to the Nagios XI web interface resulted in a "This page cannot be displayed" error.
So I logged into the server and did a service httpd status, which showed me the httpd status wasn't running. When I tried to start it, I got the following error:
touch: cannot touch /var/lock/subsys/httpd: No space left on devices
Looking up this error, showed it had something to do with insufficient inodes available. When doing a df -i
it showed /dev/mapper/VolGroup00-LogVol100 had used 100 % of its inodes. It has 630784 inodes and all of them seem used.
A already tried a reboot, but the problem persists..
Please let me knwo what I can do to get our Nagios up and running again..
DB Connect Error [nagiosxi]: Database connection failed DB C
Re: DB Connect Error [nagiosxi]: Database connection failed
I found out what the problem is. The /var/spool/snmptt folder was using up all the inodes. I installed the snmptt this weekend.. For the moment I deleted all files in the snmptt folder, rebooted the server and then also had to do a mysql db repair following your procedure in http://assets.nagios.com/downloads/nagi ... tabase.pdf
In the meantime I found out that a misconfigured group policy made all servers send traps to the Nagios server. We reconfigured the gpo and things are calming down at the moment.
In the meantime I found out that a misconfigured group policy made all servers send traps to the Nagios server. We reconfigured the gpo and things are calming down at the moment.
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: DB Connect Error [nagiosxi]: Database connection failed
Yikes! Well, let us know if this issue crops up again, and if we can help.. thanks!