Cannot access Nagios XI web base

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
MNcomputer
Posts: 38
Joined: Wed Aug 12, 2015 8:56 am

Cannot access Nagios XI web base

Post 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.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Cannot access Nagios XI web base

Post 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?
Former Nagios Employee
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Cannot access Nagios XI web base

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
MNcomputer
Posts: 38
Joined: Wed Aug 12, 2015 8:56 am

Re: Cannot access Nagios XI web base

Post 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
MNcomputer
Posts: 38
Joined: Wed Aug 12, 2015 8:56 am

Re: Cannot access Nagios XI web base

Post 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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Cannot access Nagios XI web base

Post 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).
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
MNcomputer
Posts: 38
Joined: Wed Aug 12, 2015 8:56 am

Re: Cannot access Nagios XI web base

Post by MNcomputer »

This fixed the issue, thank you!

https://support.nagios.com/kb/article.php?id=24
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Cannot access Nagios XI web base

Post 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.
Former Nagios employee
Locked