Page 1 of 1

Can not login nagios Xi web portal

Posted: Mon Apr 06, 2015 10:01 pm
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!!!!

Re: Can not login nagios Xi web portal

Posted: Tue Apr 07, 2015 8:07 am
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.

Re: Can not login nagios Xi web portal

Posted: Tue Apr 07, 2015 8:56 pm
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

Re: Can not login nagios Xi web portal

Posted: Wed Apr 08, 2015 12:52 am
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!