Nagios XI web interface cannot be loaded.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
reincarne
Posts: 146
Joined: Wed Jun 26, 2013 4:39 am

Nagios XI web interface cannot be loaded.

Post by reincarne »

Hello,
I have a complicated issue which I have no idea how to solve.

Yesterday I tried to upgrade my nagios xi manually, after the upgrade the web interface did not start.
Few remarks before I continue:
1. https://xx.xx.xx.xx/nagiosxi/ --> doesn't start.
2. https://xx.xx.xx.xx/nagios/ --> started.
3 https://xx.xx.xx.xx/ --> started.

I tried to restore the backup and got different kind of errors. From what I checked in mysqld log I found that I had an issue with disk space - already solve. Restoring did not help.
more then this, I get this error NAGIOSQL LOGIN FAILED when tried to repair DB.

Please assist.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Nagios XI web interface cannot be loaded.

Post by avandemore »

Please send your DB and apache logs.

Code: Select all

# tar czvf /tmp/xi.tar.gz /var/log/httpd/*error* /var/log/mariadb/mariadb.log /var/log/mysqld.log
Previous Nagios employee
reincarne
Posts: 146
Joined: Wed Jun 26, 2013 4:39 am

Re: Nagios XI web interface cannot be loaded.

Post by reincarne »

Code: Select all

tar: Removing leading `/' from member names
tar: /var/log/httpd/*error*: Cannot stat: No such file or directory
tar: /var/log/mariadb/mariadb.log: Cannot stat: No such file or directory
tar: /var/log/mysqld.log: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Nagios XI web interface cannot be loaded.

Post by avandemore »

What is the output of:

Code: Select all

# id
# cat /etc/*release
Previous Nagios employee
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios XI web interface cannot be loaded.

Post by lmiltchev »

What is the Nagios XI version that you tried upgrading from/to? Run the following commands and show the output:

Code: Select all

cat /etc/*release
df -h
df -i
service nagios stop
service ndo2db stop
service ndo2db start
service nagios start
service nagios status
service ndo2db status
Also, run:

Code: Select all

service mysqld restart
service mysqld status
tail /var/log/mysqld.log
or (if you are using mariadb):

Code: Select all

service mariadb restart
service mariadb status
tail /var/log/mariadb/mariadb.log
and show the output.
Be sure to check out our Knowledgebase for helpful articles and solutions!
reincarne
Posts: 146
Joined: Wed Jun 26, 2013 4:39 am

Re: Nagios XI web interface cannot be loaded.

Post by reincarne »

FYI the issue was with an old machine which had mysql dependency which we were not able to upgrade.
The issue resolved with re-installing Nagios on a new machine.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagios XI web interface cannot be loaded.

Post by cdienger »

Thanks for the follow up! Are we good locking the thread or did you have any more related questions?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked