Page 1 of 1

Nagios site down!

Posted: Mon Jun 20, 2016 12:45 pm
by BanditBBS
Ok, so I can browse to https://servername/ but not to https://servername/nagiosxi. Page just fails to load. If I look at top I can see checks being performed and everything else seeming to function, but website just doesn't want to load!

EDIT #1: I ended up restarting NDO2DB and MYSQLD on the offloaded server and the page is now loading. Even if those items are down though, the website should come up just with a bunch of errors, right? What could have been stopping the page from displaying anything?

Re: Nagios site down!

Posted: Mon Jun 20, 2016 1:10 pm
by bwallace
Some possible causes I can think of would be:

- The mysqld service was not running or there are crashed database tables (might want to look into this some, since you could access the UI after restarting mysqld, and yes you should have seen some errors about such)
- apache service not running
- SELinux enabled - to check if SELinux is disabled, run sestatus
- (sorry to state the obvious) running out of disk space ?

Re: Nagios site down!

Posted: Mon Jun 20, 2016 1:12 pm
by rkennedy
Did anything appear in your /var/log/httpd/ssl_error_log at all during that time it wasn't working?

I've seen something similar like this happen in the past, when LDAP wasn't working properly.

Re: Nagios site down!

Posted: Mon Jun 20, 2016 1:13 pm
by BanditBBS
sestatus is disabled on both hosts. Apache was running as I could browse to the root site.

I did take the time to run the repair database script when I downed mysqld on both nagios and nagiosql databases.

Re: Nagios site down!

Posted: Mon Jun 20, 2016 3:46 pm
by rkennedy
rkennedy wrote:Did anything appear in your /var/log/httpd/ssl_error_log at all during that time it wasn't working?

I've seen something similar like this happen in the past, when LDAP wasn't working properly.
Are you authenticating through LDAP by any chance? Anything in the ssl_error_log file?