NagiosXI throwing HTTP ERROR 500 after 5.6.0 upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Sampath.Basireddy
Posts: 252
Joined: Wed Dec 14, 2016 12:30 pm

NagiosXI throwing HTTP ERROR 500 after 5.6.0 upgrade

Post by Sampath.Basireddy »

Hello There,

NagiosXI throwing HTTP ERROR 500 after 5.6.0 upgrade.

upgrade ran through fine with a successful message, but after the upgrade complete, console is throwing HTTP 500.

Did anyone faced similar issue, please suggest.
Sampath.Basireddy
Posts: 252
Joined: Wed Dec 14, 2016 12:30 pm

Re: NagiosXI throwing HTTP ERROR 500 after 5.6.0 upgrade

Post by Sampath.Basireddy »

Got it figured, a bunch of files permissions changed to root which appeared to have caused the problem.

Changing the ownership to nagios:nagios fixed the issue.

Here is one of the error message I found in "/var/log/httpd/ssl_error_log. There were more than few such errors:

Code: Select all

[Fri Apr 26 21:11:59.668995 2019] [:error] [pid 13542] [client 10.10.120.143:51643] PHP Warning:  require_once(/usr/local/nagios/nagiosxi/html/includes/utils-graphs.inc.php): failed to open stream: Permission denied in /usr/local/nagios/nagiosxi/html/includes/utils.inc.php on line 25,
Here are a list of files I found to have permissions changed or new files added after upgrade to 5.6.0 which were owned by root.

Code: Select all

/usr/local/nagios/nagiosxi/html/includes/utils-graphs.inc.php
/usr/local/nagiosxi/html/images/disabled_small.png
/usr/local/nagiosxi/html/images/enabled_small.png
/usr/local/nagiosxi/html/images/control_stop.png
/usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/activedirectory.png
/usr/local/nagiosxi/html/images/control_restart.png
/usr/local/nagiosxi/html/images/disabled_unimportant_small.png
/usr/local/nagios/nagiosxi/html/includes/utils.inc.php
I still see this error though, but does not really help to identify what the issue is looking at the message:

Code: Select all

[Fri Apr 26 21:53:56.873756 2019] [:error] [pid 17145] [client 10.20.132.175:51890] PHP Warning:  Unknown: failed to open stream: Permission denied in Unknown on line 0
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagiosXI throwing HTTP ERROR 500 after 5.6.0 upgrade

Post by benjaminsmith »

Hi @Sampath.Basireddy,

Looks like this thread is a duplicate. Closing this one. Please open one post per issue.

Thanks.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked