Page 2 of 2
Re: Applying Configuration issue when changing httpd under a
Posted: Tue Mar 22, 2016 1:47 pm
by scottwilkerson
Did you enable 8085 in the firewall?
Re: Applying Configuration issue when changing httpd under a
Posted: Tue Mar 22, 2016 1:52 pm
by bheden
Can we see the output of the following commands, please?
Code: Select all
cat /etc/httpd/conf.d/nagiosxi.conf
Thanks!
Re: Applying Configuration issue when changing httpd under a
Posted: Tue Mar 22, 2016 4:03 pm
by xlin125
I repeated the same steps to change the apache configuration and directory/file ownership in order to have httpd run by apache on the 2nd Nagios XI server box. After the changes done, I restarted the httpd, I was able to run ./reconfigure_nagios.sh successfully on command line, and also was able to Apply Configuration successfully. I guess something was wrong with the 1st Nagios XI server box, and the 2nd Nagios XI server box is good. What I really missed before was changing the line "$cfg['port_number'] = false;" to "$cfg['port_number'] = 8085;" in the config.inc.php file. Thanks lmiltchev for helping me out here. Also thanks bheden and scottwilkerson (yes, scottwilkerson, I added 8085/tcp to the iptables to take care of the firewall on the Nagios XI server box).
Re: Applying Configuration issue when changing httpd under a
Posted: Tue Mar 22, 2016 4:17 pm
by lmiltchev
I am glad we were able to figure this out!

I will be locking this topic now. If you have any more questions/issues, please start a new thread.