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.
Nagios XI web interface cannot be loaded.
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Nagios XI web interface cannot be loaded.
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.logPrevious Nagios employee
Re: Nagios XI web interface cannot be loaded.
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.
What is the output of:
Code: Select all
# id
# cat /etc/*releasePrevious Nagios employee
Re: Nagios XI web interface cannot be loaded.
What is the Nagios XI version that you tried upgrading from/to? Run the following commands and show the output:
Also, run:
or (if you are using mariadb):
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 statusCode: Select all
service mysqld restart
service mysqld status
tail /var/log/mysqld.logCode: Select all
service mariadb restart
service mariadb status
tail /var/log/mariadb/mariadb.logBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios XI web interface cannot be loaded.
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.
The issue resolved with re-installing Nagios on a new machine.
Re: Nagios XI web interface cannot be loaded.
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.