Applying Configuration issue when changing httpd under apach
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Applying Configuration issue when changing httpd under a
Did you enable 8085 in the firewall?
-
bheden
- Product Development Manager
- Posts: 179
- Joined: Thu Feb 13, 2014 9:50 am
- Location: Nagios Enterprises
Re: Applying Configuration issue when changing httpd under a
Can we see the output of the following commands, please?
Thanks!
Code: Select all
cat /etc/httpd/conf/httpd.confCode: Select all
cat /etc/httpd/conf.d/nagiosxi.confCode: Select all
netstat -an | grep tcpAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Nagios Enterprises
Senior Developer
Nagios Enterprises
Senior Developer
Re: Applying Configuration issue when changing httpd under a
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
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.
Be sure to check out our Knowledgebase for helpful articles and solutions!