Nagios gui in accessible after upgrade.
Nagios gui in accessible after upgrade.
Hi,
We upgraded our Nagios xi from 5.2.9 and thereafter, our Nagios web interface became inaccessible again, we had to revert back to snapshot.
Please can we get any suggestion as to what could have happened.
I also attached a snapshot of the error from the upgrade.
Thanks.
We upgraded our Nagios xi from 5.2.9 and thereafter, our Nagios web interface became inaccessible again, we had to revert back to snapshot.
Please can we get any suggestion as to what could have happened.
I also attached a snapshot of the error from the upgrade.
Thanks.
You do not have the required permissions to view the files attached to this post.
Re: Nagios gui in accessible after upgrade.
Could you upload the related log file for us to review? This should have some information. The next step, would be looking at all of your apache log files in /var/log/httpd/. Please post these as well.
My guess, is apache may have updated as well, and if you were using 2.2 and went to 2.4, you'd see a couple things that need to be adjusted.
My guess, is apache may have updated as well, and if you were using 2.2 and went to 2.4, you'd see a couple things that need to be adjusted.
Former Nagios Employee
Re: Nagios gui in accessible after upgrade.
We don't have the logs because we had to revert back to snapshot.
Please can we have someone from support jump on a call with us, because we are still on Nagios xi 5.2.9.
Thanks!
Please can we have someone from support jump on a call with us, because we are still on Nagios xi 5.2.9.
Thanks!
Re: Nagios gui in accessible after upgrade.
If you are receiving a 500: Internal Server Error it's likely an Apache configuration issue, please run this command and send me the resulting /tmp/httpdfiles.zip file:
Thank you
Code: Select all
zip -r /tmp/httpdfiles.zip /etc/httpd/conf/httpd.conf /etc/httpd/conf.d/*Re: Nagios gui in accessible after upgrade.
Here is the requested file.
You do not have the required permissions to view the files attached to this post.
Re: Nagios gui in accessible after upgrade.
Thank you, the files work properly on my machine during the upgrade, something else is getting broken, we would need to see your entire upgrade.log or the full output of the errors to proceed further.
When you are experiencing the issue, please run this command (and let it run):
Then try to pull up the web interface and send the entire output of the tail command.
Also, when you are experiencing the issue, please send the output of this command as well:
When you are experiencing the issue, please run this command (and let it run):
Code: Select all
tail -fn0 /var/log/httpd/*Also, when you are experiencing the issue, please send the output of this command as well:
Code: Select all
apachectl -tRe: Nagios gui in accessible after upgrade.
Here is the requested error_log.
apachectl -t
Syntax OK
apachectl -t
Syntax OK
You do not have the required permissions to view the files attached to this post.
Re: Nagios gui in accessible after upgrade.
Please edit this file:
Change this code:
To this:
Then restart the httpd service:
Then re-try the upgrade, if it still doesn't work, please post the output of these commands:
Thank you
Change this code:
Code: Select all
Order allow,deny
Allow from allCode: Select all
Require all grantedCode: Select all
service httpd restartCode: Select all
sestatus
ls -ld /usr/local/nagiosxi/html/includes
ls -l /usr/local/nagiosxi/html/includes
grep nag /etc/groupRe: Nagios gui in accessible after upgrade.
Please what file are we editing, I didn't see any specified file?
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Nagios gui in accessible after upgrade.
/etc/httpd/conf.d/nagios.conf Please note there are 2 instances in the file.
Previous Nagios employee