Hi Support
I recently upgraded NagiosXI 2014r2.7 to NagiosXI 5r1.0. After upgrading, my GUI became distorted.
I have tried on IE, Chrome and Firefox browsers and all are having the same issue.
Can you advise how to resolve this issue?
GUI issue after upgrade from NagiosXI 2014r2.7 to xi-5r1.0
-
nfv_nagios
- Posts: 35
- Joined: Sun Jan 08, 2017 8:00 pm
GUI issue after upgrade from NagiosXI 2014r2.7 to xi-5r1.0
You do not have the required permissions to view the files attached to this post.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: GUI issue after upgrade from NagiosXI 2014r2.7 to xi-5r1
Hello, @nfv_nagios. Looks like some problem with the stylesheet. Can you send in your /var/log/httpd/error_log ?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
nfv_nagios
- Posts: 35
- Joined: Sun Jan 08, 2017 8:00 pm
Re: GUI issue after upgrade from NagiosXI 2014r2.7 to xi-5r1
Hi Support
After reviewing the error log, it seems to be some permission issue. I managed to fix most of it but there are still some more which i am not able to fix.
The error shows client is accessing an invalid location. Can you advise how can i fix this?
# find / -name modern.js
/usr/local/nagiosxi/html/includes/js/themes/modern.js
[Fri Aug 24 09:33:12 2018] [error] [client 10.252.6.132] (13)Permission denied: access to /nagiosxi/includes/js/themes/modern.js denied, referer: http://10.254.98.200/nagiosxi/views/
[Fri Aug 24 09:33:12 2018] [error] [client 10.252.6.132] (13)Permission denied: access to /nagiosxi/includes/js/themes/modern.js denied, referer: http://10.254.98.200/nagiosxi/views/main.php?&=
[Fri Aug 24 09:33:13 2018] [error] [client 10.252.6.132] (13)Permission denied: access to /nagiosxi/includes/js/themes/modern.js denied, referer: http://10.254.98.200/nagiosxi/
[Fri Aug 24 09:33:13 2018] [error] [client 10.252.6.132] (13)Permission denied: access to /nagiosxi/includes/js/themes/modern.js denied, referer: http://10.254.98.200/nagiosxi/
[Fri Aug 24 09:33:14 2018] [error] [client 10.252.6.132] (13)Permission denied: access to /nagiosxi/includes/js/themes/modern.js denied, referer: http://10.254.98.200/nagiosxi//includes ... splash.php
After reviewing the error log, it seems to be some permission issue. I managed to fix most of it but there are still some more which i am not able to fix.
The error shows client is accessing an invalid location. Can you advise how can i fix this?
# find / -name modern.js
/usr/local/nagiosxi/html/includes/js/themes/modern.js
[Fri Aug 24 09:33:12 2018] [error] [client 10.252.6.132] (13)Permission denied: access to /nagiosxi/includes/js/themes/modern.js denied, referer: http://10.254.98.200/nagiosxi/views/
[Fri Aug 24 09:33:12 2018] [error] [client 10.252.6.132] (13)Permission denied: access to /nagiosxi/includes/js/themes/modern.js denied, referer: http://10.254.98.200/nagiosxi/views/main.php?&=
[Fri Aug 24 09:33:13 2018] [error] [client 10.252.6.132] (13)Permission denied: access to /nagiosxi/includes/js/themes/modern.js denied, referer: http://10.254.98.200/nagiosxi/
[Fri Aug 24 09:33:13 2018] [error] [client 10.252.6.132] (13)Permission denied: access to /nagiosxi/includes/js/themes/modern.js denied, referer: http://10.254.98.200/nagiosxi/
[Fri Aug 24 09:33:14 2018] [error] [client 10.252.6.132] (13)Permission denied: access to /nagiosxi/includes/js/themes/modern.js denied, referer: http://10.254.98.200/nagiosxi//includes ... splash.php
You do not have the required permissions to view the files attached to this post.
Re: GUI issue after upgrade from NagiosXI 2014r2.7 to xi-5r1
Make sure apache is added to the nagios and nagcmd groups - you can check this out by running the following command from the CLI:
Next, set ownership of all items under the html directory to nagios.nagios:
Check to see if this fixes your issue. It the problem is still present, run the tail on the apache error log and show us the output in code wraps:
Code: Select all
grep nag /etc/groupCode: Select all
chown -R nagios.nagios /usr/local/nagiosxi/html/Code: Select all
tail -100 /var/log/httpd/error_logBe sure to check out our Knowledgebase for helpful articles and solutions!
-
nfv_nagios
- Posts: 35
- Joined: Sun Jan 08, 2017 8:00 pm
Re: GUI issue after upgrade from NagiosXI 2014r2.7 to xi-5r1
Hi Support
I managed to solve the issue.
I found /usr/local/nagiosxi/html/includes/js/themes was not given Group Execute. Did a "chmod g+x" and solved the issue.
Thanks for the support. You may close the ticket.
I managed to solve the issue.
I found /usr/local/nagiosxi/html/includes/js/themes was not given Group Execute. Did a "chmod g+x" and solved the issue.
Thanks for the support. You may close the ticket.
Re: GUI issue after upgrade from NagiosXI 2014r2.7 to xi-5r1
I am glad your issue has been resolved!
I am closing this topic.
I am closing this topic.
Be sure to check out our Knowledgebase for helpful articles and solutions!