===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './6-firewall'
[root@exotic-owl nagiosxi]#
[root@exotic-owl nagiosxi]# service iptables restart
iptables: Setting chains to policy ACCEPT: nat mangle filte[ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: iptable_nat iptable_mangle ip[FAILED]lter iptable_nat iptable_mangle iptable_filter ip_tables
iptables: Applying firewall rules:
Our hours are 9am - 5pm Mon - Thurs and 9am - 2pm Fridays (CST) hence the delayed response.
Was this a clean, minimal install of this OS?
(refer to the XI Installation Prerequisites here https://assets.nagios.com/downloads/nag ... ctions.pdf
The step that is failing, this updates the iptables config on the system. The following will skip the step of modifying the firewall/iptables. Is the install successfull when you run this:
[root@exotic-owl ~]# yum clean all
Loaded plugins: fastestmirror
Cleaning repos: base cr epel extras nagios-base nagiosxi-deps updates
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@exotic-owl ~]# yum install httpd
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
That is likely the root of your problems. Is this machine in an offline environment? We have offline repositories for such a setup, though they should only be used if this machine has no internet access: http://repo.nagios.com/
Otherwise, you'll probably need to change your system's network settings or resolv.conf to properly resolve the various CentOS repository mirrors.