Hi
After upgrade to 5.7.2 i get blanc pages wen hitting a host or service.
This makes nagios unworkable.
http 500 after update 5.6.x to 5.7.2
Re: http 500 after update 5.6.x to 5.7.2
What OS and Release is the server running?
One thing to try is to reset the processes, clean and repair the MYSQL databases to see if that fixes the issue.
Run these commands to stop the processes, clean and repair the SQL database and to restart the processes. Run them all as root. Show all of the output.
If that does not fix the issue, run this as root on the XI server.
Login to the Web interface and generate the http 500 error.
Stop the tail command, copy the data from the console and post it so we can see what sort of errors are in the log files.
One thing to try is to reset the processes, clean and repair the MYSQL databases to see if that fixes the issue.
Run these commands to stop the processes, clean and repair the SQL database and to restart the processes. Run them all as root. Show all of the output.
Code: Select all
service npcd stop
service nagios stop
service crond stop
pkill -9 -u nagios
echo "truncate table xi_events; truncate table xi_meta; truncate table xi_eventqueue;" | mysql -u root -pnagiosxi nagiosxi
mysqlcheck -f -r -u root -pnagiosxi --all-databases --use-frm
if grep --quiet pgsql /usr/local/nagiosxi/html/config.inc.php; then service postgresql stop; fi;
service mysqld restart
rm -f /usr/local/nagios/var/rw/nagios.cmd
rm -f /usr/local/nagios/var/nagios.lock
rm -f /var/run/nagios.lock
rm -f /var/lib/mrtg/mrtg_l
rm -f /usr/local/nagiosxi/var/*.lock
for i in `ipcs -q | grep nagios |awk '{print $2}'`; do ipcrm -q $i; done
pkill python
if grep --quiet pgsql /usr/local/nagiosxi/html/config.inc.php; then service postgresql start; fi;
service httpd restart
service nagios start
service npcd start
service crond start
Code: Select all
tail -f /var/log/httpd/*_log
Stop the tail command, copy the data from the console and post it so we can see what sort of errors are in the log files.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: http 500 after update 5.6.x to 5.7.2
In this case the solutions was to remove the historytab directory:
rm -rf /usr/local/nagiosxi/html/includes/components/historytab
I had the solution through a ticket i send.
rm -rf /usr/local/nagiosxi/html/includes/components/historytab
I had the solution through a ticket i send.
Re: http 500 after update 5.6.x to 5.7.2
Thanks for reporting back. I'll lock the post for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!