Can not login nagios Xi web portal

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Netxcel-ops
Posts: 8
Joined: Mon Apr 06, 2015 9:51 pm

Can not login nagios Xi web portal

Post by Netxcel-ops »

Hi

I have a nagios server and i can not login the xi web. Wehn I type the username && password and click "Login" button and this windows display the login web again and doesn't display any error (like user or password incorrect).

Currently i can not see login username and password bar at all fter i reboot the nagios server, only can see the 3 repeat command as:
"Message: A database connection error has been detected, we are attempting to repair the server, if the repair does not resolve the issue, please contact Nagios support"
"Run the following from the CLI as root to attempt to repair the DB"
"/usr/local/nagiosxi/scripts/repair_databases.sh"

how can i fix the issues. Pls support!!!!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Can not login nagios Xi web portal

Post by lmiltchev »

Have you tried running the database repair script as suggested in the message?

Code: Select all

/usr/local/nagiosxi/scripts/repair_databases.sh
In order to find out if mysqld is started, run:

Code: Select all

service mysqld status
You can start/restart the mysqld service by running:

Code: Select all

service mysqld start
or

Code: Select all

service mysqld restart
To check for crashed database tables or other errors in the mysqld.log, run:

Code: Select all

tail -20 /var/log/mysqld.log
You may need to run the repair script more than once to fix all errors.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Netxcel-ops
Posts: 8
Joined: Mon Apr 06, 2015 9:51 pm

Re: Can not login nagios Xi web portal

Post by Netxcel-ops »

Hi Nagios Supports

Thanks for your support. I find the root cause for this issues.

There is no space in server hardisk and the process of mysqld can not start up. After i expand the disk size and this issues is solved.

Thanks
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Can not login nagios Xi web portal

Post by tmcdonald »

Glad you got that sorted out!

I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked