I was able to fix all the errors and ran the install, I got the installation error.
ip6tables: Applying firewall rules: ip6tables-restore v1.4.7: ip6tables-restore: unable to initialize table 'filter'
Error occurred at line: 3
Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information.
[FAILED]
RESULT=1
===================
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'
I was able to fix the below error by commenting out..
[root@srvidgdvlsh101 nagiosxi]# more /etc/modprobe.d/CIS.conf
install rds /bin/true
install tipc /bin/true
install dccp /bin/true
install sctp /bin/true
#options ipv6 disable=1
--------------------------------------------------------------------------------
Now when i want to run the install again as all the rpm's were installed I get this, so not sure how to proceed..
[root@srvidgdvlsh101 nagiosxi]# ./fullinstall
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, security, subscription-manager
Setting up Local Package Process
Examining fping-3.10-1.el6.rf.x86_64.rpm: fping-3.10-1.el6.rf.x86_64
fping-3.10-1.el6.rf.x86_64.rpm: does not update installed package.
Examining freetds-0.91-2.el6.x86_64.rpm: freetds-0.91-2.el6.x86_64
freetds-0.91-2.el6.x86_64.rpm: does not update installed package.
Examining libmcrypt-2.5.8-9.el6.x86_64.rpm: libmcrypt-2.5.8-9.el6.x86_64
libmcrypt-2.5.8-9.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-5.6.12-1.el6.x86_64.rpm: nagiosxi-5.6.12-1.el6.x86_64
nagiosxi-5.6.12-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-mrtg-5.6.12-1.el6.x86_64.rpm: nagiosxi-mrtg-5.6.12-1.el6.x86_64
nagiosxi-mrtg-5.6.12-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-nagioscore-5.6.12-1.el6.x86_64.rpm: nagiosxi-nagioscore-5.6.12-1.el6.x86_64
nagiosxi-nagioscore-5.6.12-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-nagiosmobile-5.6.12-1.el6.x86_64.rpm: nagiosxi-nagiosmobile-5.6.12-1.el6.x86_64
nagiosxi-nagiosmobile-5.6.12-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-nagiosplugins-5.6.12-1.el6.x86_64.rpm: nagiosxi-nagiosplugins-5.6.12-1.el6.x86_64
nagiosxi-nagiosplugins-5.6.12-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-nagvis-5.6.12-1.el6.x86_64.rpm: nagiosxi-nagvis-5.6.12-1.el6.x86_64
nagiosxi-nagvis-5.6.12-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-ndoutils-5.6.12-1.el6.x86_64.rpm: nagiosxi-ndoutils-5.6.12-1.el6.x86_64
nagiosxi-ndoutils-5.6.12-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-nrds-5.6.12-1.el6.x86_64.rpm: nagiosxi-nrds-5.6.12-1.el6.x86_64
nagiosxi-nrds-5.6.12-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-nrpe-5.6.12-1.el6.x86_64.rpm: nagiosxi-nrpe-5.6.12-1.el6.x86_64
nagiosxi-nrpe-5.6.12-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-nsca-5.6.12-1.el6.x86_64.rpm: nagiosxi-nsca-5.6.12-1.el6.x86_64
nagiosxi-nsca-5.6.12-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-nxti-5.6.12-1.el6.x86_64.rpm: nagiosxi-nxti-5.6.12-1.el6.x86_64
nagiosxi-nxti-5.6.12-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-pnp-5.6.12-1.el6.x86_64.rpm: nagiosxi-pnp-5.6.12-1.el6.x86_64
nagiosxi-pnp-5.6.12-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-shellinabox-5.6.12-1.el6.x86_64.rpm: nagiosxi-shellinabox-5.6.12-1.el6.x86_64
nagiosxi-shellinabox-5.6.12-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-wkhtmltox-5.6.12-1.el6.x86_64.rpm: nagiosxi-wkhtmltox-5.6.12-1.el6.x86_64
nagiosxi-wkhtmltox-5.6.12-1.el6.x86_64.rpm: does not update installed package.
Examining nagiosxi-wmic-5.6.12-1.el6.x86_64.rpm: nagiosxi-wmic-5.6.12-1.el6.x86_64
nagiosxi-wmic-5.6.12-1.el6.x86_64.rpm: does not update installed package.
Examining nmap-6.47-1.x86_64.rpm: 2:nmap-6.47-1.x86_64
nmap-6.47-1.x86_64.rpm: does not update installed package.
Examining perl-Config-IniFiles-2.72-2.el6.noarch.rpm: perl-Config-IniFiles-2.72-2.el6.noarch
perl-Config-IniFiles-2.72-2.el6.noarch.rpm: does not update installed package.
Examining perl-Crypt-DES-2.05-9.el6.x86_64.rpm: perl-Crypt-DES-2.05-9.el6.x86_64
perl-Crypt-DES-2.05-9.el6.x86_64.rpm: does not update installed package.
Examining perl-Crypt-Rijndael-1.09-2.el6.x86_64.rpm: perl-Crypt-Rijndael-1.09-2.el6.x86_64
perl-Crypt-Rijndael-1.09-2.el6.x86_64.rpm: does not update installed package.
Examining perl-Mail-IMAPClient-3.37-1.el6.noarch.rpm: perl-Mail-IMAPClient-3.37-1.el6.noarch
perl-Mail-IMAPClient-3.37-1.el6.noarch.rpm: does not update installed package.
Examining perl-Mail-POP3Client-2.18-6.el6.noarch.rpm: perl-Mail-POP3Client-2.18-6.el6.noarch
perl-Mail-POP3Client-2.18-6.el6.noarch.rpm: does not update installed package.
Examining perl-Math-Calc-Units-1.07-6.el6.noarch.rpm: perl-Math-Calc-Units-1.07-6.el6.noarch
perl-Math-Calc-Units-1.07-6.el6.noarch.rpm: does not update installed package.
Examining perl-Nagios-Monitoring-Plugin-0.51-1.el6.noarch.rpm: perl-Nagios-Monitoring-Plugin-0.51-1.el6.noarch
perl-Nagios-Monitoring-Plugin-0.51-1.el6.noarch.rpm: does not update installed package.
Examining perl-Net-SMTP-TLS-0.12-1.el6.rf.noarch.rpm: perl-Net-SMTP-TLS-0.12-1.el6.rf.noarch
perl-Net-SMTP-TLS-0.12-1.el6.rf.noarch.rpm: does not update installed package.
Examining perl-Net-SNMP-5.2.0-4.el6.noarch.rpm: perl-Net-SNMP-5.2.0-4.el6.noarch
perl-Net-SNMP-5.2.0-4.el6.noarch.rpm: does not update installed package.
Examining perl-Number-Format-1.73-3.el6.noarch.rpm: perl-Number-Format-1.73-3.el6.noarch
perl-Number-Format-1.73-3.el6.noarch.rpm: does not update installed package.
Examining php-mcrypt-5.3.3-5.el6.x86_64.rpm: php-mcrypt-5.3.3-5.el6.x86_64
php-mcrypt-5.3.3-5.el6.x86_64.rpm: does not update installed package.
Examining php-mssql-5.3.3-5.el6.x86_64.rpm: php-mssql-5.3.3-5.el6.x86_64
php-mssql-5.3.3-5.el6.x86_64.rpm: does not update installed package.
Examining php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: does not update installed package.
Examining php-pecl-ssh2-0.11.0-7.el6.x86_64.rpm: php-pecl-ssh2-0.11.0-7.el6.x86_64
php-pecl-ssh2-0.11.0-7.el6.x86_64.rpm: does not update installed package.
Examining pymssql-1.0.2-4.el6.x86_64.rpm: pymssql-1.0.2-4.el6.x86_64
pymssql-1.0.2-4.el6.x86_64.rpm: does not update installed package.
Examining python-bson-2.5.2-3.el6.1.x86_64.rpm: python-bson-2.5.2-3.el6.1.x86_64
python-bson-2.5.2-3.el6.1.x86_64.rpm: does not update installed package.
Examining python-pymongo-2.5.2-3.el6.1.x86_64.rpm: python-pymongo-2.5.2-3.el6.1.x86_64
python-pymongo-2.5.2-3.el6.1.x86_64.rpm: does not update installed package.
Nothing to do
Uploading Enabled Repositories Report
Loaded plugins: product-id, subscription-manager
[root@srvidgdvlsh101 nagiosxi]#
NagiosXI Offline Install Error
Re: NagiosXI Offline Install Error
1.What version of Nagios XI are you using? --> 5.6.12-1.el6.x86_64
2.Linux Distribution and version? --> Red Hat Enterprise Linux Server release 6.10 (Santiago)
3.32 or 64bit? ----> 64bit
4.VMware Image or Manual Install of XI? ---> Manual Install of XI
5.Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL? --> NOPE
6.**If you are encountering multiple issues that may not be related, start a thread for each issue --> No multiple Issues..
2.Linux Distribution and version? --> Red Hat Enterprise Linux Server release 6.10 (Santiago)
3.32 or 64bit? ----> 64bit
4.VMware Image or Manual Install of XI? ---> Manual Install of XI
5.Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL? --> NOPE
6.**If you are encountering multiple issues that may not be related, start a thread for each issue --> No multiple Issues..
Re: NagiosXI Offline Install Error
Is this a "vanilla" OS or you have modified it in any way, e.g. disabling IPv6 (but still having ipv6 firewall installed)?
Can you post the entire "/tmp/xi-install.log" on the forum?
You can try removing nagiosxi rpm, then reinstalling it:
Can you post the entire "/tmp/xi-install.log" on the forum?
You can try removing nagiosxi rpm, then reinstalling it:
Code: Select all
rpm -e nagiosx
cd /tmp/rpms/nagiosxi
./fullinstalliBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: NagiosXI Offline Install Error
This is not a Vanilla OS install, I do not think there are any modifications done.
[root@srvidgdvlsh101 ~]# cat /tmp/xi-install.log
Adding users and groups...
useradd: user 'nagios' already exists
usermod: no changes
groupadd: group 'nagios' already exists
groupadd: group 'nagcmd' already exists
Users and groups added OK
MySQL installed OK - continuing...
Starting MySQL...
Stopping mysqld: [ OK ]
Initializing MySQL database: Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h srvidgdvlsh101.us.dev.corp password 'new-password'
Alternatively you can run:
/usr/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd /usr/mysql-test ; perl mysql-test-run.pl
Please report any problems with the /usr/bin/mysqlbug script!
[ OK ]
Starting mysqld: [ OK ]
Initializing MySQL...
MySQL root password is now set to: nagiosxi
MySQL initialized OK
Database servers initialized OK
/etc/services updated
sudoers configured OK
iptables: Applying firewall rules: [ OK ]
ip6tables: Unloading modules: [ OK ]
ip6tables: Applying firewall rules: ip6tables-restore v1.4.7: ip6tables-restore: unable to initialize table 'filter'
Error occurred at line: 3
Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information.
[FAILED]
[root@srvidgdvlsh101 ~]# cat /tmp/xi-install.log
Adding users and groups...
useradd: user 'nagios' already exists
usermod: no changes
groupadd: group 'nagios' already exists
groupadd: group 'nagcmd' already exists
Users and groups added OK
MySQL installed OK - continuing...
Starting MySQL...
Stopping mysqld: [ OK ]
Initializing MySQL database: Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h srvidgdvlsh101.us.dev.corp password 'new-password'
Alternatively you can run:
/usr/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd /usr/mysql-test ; perl mysql-test-run.pl
Please report any problems with the /usr/bin/mysqlbug script!
[ OK ]
Starting mysqld: [ OK ]
Initializing MySQL...
MySQL root password is now set to: nagiosxi
MySQL initialized OK
Database servers initialized OK
/etc/services updated
sudoers configured OK
iptables: Applying firewall rules: [ OK ]
ip6tables: Unloading modules: [ OK ]
ip6tables: Applying firewall rules: ip6tables-restore v1.4.7: ip6tables-restore: unable to initialize table 'filter'
Error occurred at line: 3
Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information.
[FAILED]
Re: NagiosXI Offline Install Error
We only test installs on a clean (vanilla) OS and don't guarantee they will work on modified systems. This is not a source install, where you could comment out some sections of the code, dealing with the firewall. It's a RPM install, so you would need to find a way to fix the firewall issue, prior to running the installer.
I saw similar errors and possible solutions, posted here:
https://askubuntu.com/questions/28215/h ... ble-filter
See if any of the suggestions would help.
I saw similar errors and possible solutions, posted here:
https://askubuntu.com/questions/28215/h ... ble-filter
See if any of the suggestions would help.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NagiosXI Offline Install Error
Thanks for your reply. The iptables issue has been fixed, but when i try to run the fullinstall it says all the rpms are installed, you can see the output on the first post. All the errors are fixed and I want to get the installation successful.
[root@srvidgdvlsh101 ~]# /etc/init.d/nagios start
Starting nagios:
Nagios Core 4.4.5
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2019-08-20
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Cannot open config file '/usr/local/nagios/etc/contacttemplates.cfg' for reading: No such file or directory
Error processing object config files!
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data definitions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
THanks
Reddy
[root@srvidgdvlsh101 ~]# /etc/init.d/nagios start
Starting nagios:
Nagios Core 4.4.5
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2019-08-20
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Cannot open config file '/usr/local/nagios/etc/contacttemplates.cfg' for reading: No such file or directory
Error processing object config files!
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data definitions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
THanks
Reddy
Re: NagiosXI Offline Install Error
Did you try removing the nagiosxi rpm, then reinstalling it?
Code: Select all
rpm -e nagiosx
cd /tmp/rpms/nagiosxi
./fullinstalliBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: NagiosXI Offline Install Error
Thanks a lot dude, it worked as this is a offline install. Removing the package and re-running the fullinstall did the remaining configuration that were pending & it worked.
Re: NagiosXI Offline Install Error
Great! I am glad I was able to help!
I am closing this topic. If you have any further questions/issue, please start a new thread.
I am closing this topic. If you have any further questions/issue, please start a new thread.
Be sure to check out our Knowledgebase for helpful articles and solutions!