Page 1 of 1

Cannot access Nagios XI web base

Posted: Wed Jun 22, 2016 4:17 pm
by MNcomputer
Hello, we cannot access Nagios XI through the web base portion\IE. We can ping the server, and access it through the VM, but when we enter the ip address, the log in back with our server info is not being displayed.

Re: Cannot access Nagios XI web base

Posted: Wed Jun 22, 2016 4:28 pm
by rkennedy
This could be a few different things.

- Could you post your /var/log/httpd/error_log file for us to look at?
- Are you using LDAP authentication by any chance, or just local users in XI?
- Is the page you normally login at completely blank, or is it stuck trying to load something?

Additionally, was anything recently changed on this machine?

Re: Cannot access Nagios XI web base

Posted: Wed Jun 22, 2016 4:29 pm
by tgriep
One thing you can try is to clear out your browsers cache or use a different browser to see if that works.
Another thing to do is to restart the Apache and Nagios daemons on the server. Login as root and run the following.

Code: Select all

service httpd restart
service nagios restart

Re: Cannot access Nagios XI web base

Posted: Wed Jun 22, 2016 4:54 pm
by MNcomputer
I was able to restart the server, and I am able to log into it, but receive the following errors under service detail:

SQL: SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and last (automatic?) repair failed SQL: SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and last (automatic?) repair failed SQL: SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and last (automatic?) repair failed SQL: SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and last (automatic?) repair failed SQL: SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and last (automatic?) repair failed SQL: SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and last (automatic?) repair failed SQL: SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and last (automatic?) repair failed

Re: Cannot access Nagios XI web base

Posted: Wed Jun 22, 2016 5:04 pm
by MNcomputer
All of our server info is missing too:


Service Status

All services










Host Status Summary


Up

Down

Unreachable

Pending



0

0

0

0



Unhandled

Problems

All



0

0

0


Last Updated: 2016-06-22 17:03:35


SQL: SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and last (automatic?) repair failed SQL: SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and last (automatic?) repair failed SQL: SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and last (automatic?) repair failed SQL: SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and last (automatic?) repair failed SQL: SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and last (automatic?) repair failed SQL: SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and last (automatic?) repair failed SQL: SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and last (automatic?) repair failed
Service Status Summary


Ok

Warning

Unknown

Critical

Pending



0

0

0

0

0



Unhandled

Problems

All



0

0

0

Re: Cannot access Nagios XI web base

Posted: Wed Jun 22, 2016 5:05 pm
by Box293
Can you please follow this article to run the database repair process as I believe you may have some database issues:

https://support.nagios.com/kb/article.php?id=24

This may take a while to complete. Once it has, please scroll back up through the history to make sure there were not any database errors (you may see an ndo2db error when stopping the service but this is ok).

Re: Cannot access Nagios XI web base

Posted: Wed Jun 29, 2016 5:00 pm
by MNcomputer
This fixed the issue, thank you!

https://support.nagios.com/kb/article.php?id=24

Re: Cannot access Nagios XI web base

Posted: Thu Jun 30, 2016 9:12 am
by tmcdonald
Great to hear it! I'll be closing this thread now, but feel free to open another if you need anything in the future.