Installation error - Nagios XI 5.25 on CentOS 7
Posted: Wed Mar 09, 2016 11:54 am
Please help!
Unable to install Nagios XI 5.25 on CentOS 7 - by following the instructions for manual installation.
A clean-slate CentOS 7 64bit, on a 32GB RAM, 32GB HDD, VM host.
Receiving errors on packages for the nagiosxi-deps.
Found others who had the same problem, but no one ever reported how they managed to get over these errors.
See attached install.log.
Thanks in advance.
Steps performed:
-----------------------
[root@mgmt-centos tmp]# wget https://assets.nagios.com/downloads/nag ... 2.5.tar.gz
--2016-03-09 14:03:59-- https://assets.nagios.com/downloads/nag ... 2.5.tar.gz
Resolving assets.nagios.com (assets.nagios.com)... 72.14.181.71
Connecting to assets.nagios.com (assets.nagios.com)|72.14.181.71|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 50836297 (48M) [application/x-gzip]
Saving to: ‘xi-5.2.5.tar.gz’
100%[======================================================================================================>] 50,836,297 1.99MB/s in 52s
2016-03-09 14:04:52 (960 KB/s) - ‘xi-5.2.5.tar.gz’ saved [50836297/50836297]
[root@mgmt-centos tmp]# tar xzf xi-5.2.5.tar.gz
[root@mgmt-centos tmp]# cd nagiosxi/
[root@mgmt-centos /]# cd /tmp/nagiosxi/
[root@mgmt-centos nagiosxi]# ./fullinstall
Your system $PATH does not include /sbin and /usr/sbin. This is usually the result of installing GNOME rather than creating a clean system.
Adding /sbin and /usr/sbin to $PATH.
========================
Nagios XI Full Installer
========================
This script will do a complete install of Nagios XI by executing all necessary sub-scripts.
IMPORTANT: This script should only be used on a 'clean' install of CentOS or RedHat. Do NOT use this on a system that has been tasked
with other purposes or has an existing install of Nagios Core. To create such a clean install you should have selected ONLY the 'Base'
package in the OS installer.
Do you want to continue? [Y/n] n
Installation cancelled
[root@mgmt-centos nagiosxi]# export PATH=$PATH:/sbin:/usr/sbin
[root@mgmt-centos nagiosxi]# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin:/usr/sbin
[root@mgmt-centos nagiosxi]# ./fullinstall
========================
Nagios XI Full Installer
========================
This script will do a complete install of Nagios XI by executing all necessary sub-scripts.
IMPORTANT: This script should only be used on a 'clean' install of CentOS or RedHat. Do NOT use this on a system that has been tasked
with other purposes or has an existing install of Nagios Core. To create such a clean install you should have selected ONLY the 'Base'
package in the OS installer.
Do you want to continue? [Y/n] Y
Proceeding with installation...
Checking MySQL credentials...
MySQL not yet installed - that's okay.
Running './0-repos'...
Configuring Repos...
Enabling Nagios repo...
Installing Nagios Repo PKG: packages/nagios-repo-7-2.el7.noarch.rpm
warning: packages/nagios-repo-7-2.el7.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID 1e924cb3: NOKEY
Preparing... ########################################
Updating / installing...
nagios-repo-7-2.el7 ########################################
...
--> Processing Dependency: dejavu-lgc-sans-mono-fonts for package: rrdtool-1.4.9-1.el7.x86_64
--> Processing Dependency: dejavu-lgc-sans-fonts for package: rrdtool-1.4.9-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: rrdtool-1.4.9-1.el7.x86_64 (nagiosxi-deps)
Requires: dejavu-lgc-sans-fonts
Error: Package: nagiosxi-deps-el7-5.2.5-1.noarch (/nagiosxi-deps-el7-5.2.5-1.noarch)
Requires: perl-Config-Tiny
Error: Package: perl-Net-SNMP-6.0.1-7.el7.noarch (epel)
Requires: perl(Crypt::DES)
Error: Package: nagiosxi-deps-el7-5.2.5-1.noarch (/nagiosxi-deps-el7-5.2.5-1.noarch)
Requires: php-snmp
Error: Package: rrdtool-1.4.9-1.el7.x86_64 (nagiosxi-deps)
Requires: dejavu-lgc-sans-mono-fonts
Error: Package: nagiosxi-deps-el7-5.2.5-1.noarch (/nagiosxi-deps-el7-5.2.5-1.noarch)
Requires: gd-devel
Error: Package: perl-Mail-IMAPClient-3.37-1.el7.noarch (epel)
Requires: perl(Parse::RecDescent)
Error: Package: nagiosxi-deps-el7-5.2.5-1.noarch (/nagiosxi-deps-el7-5.2.5-1.noarch)
Requires: php-mbstring
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
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: './1-prereqs'
Unable to install Nagios XI 5.25 on CentOS 7 - by following the instructions for manual installation.
A clean-slate CentOS 7 64bit, on a 32GB RAM, 32GB HDD, VM host.
Receiving errors on packages for the nagiosxi-deps.
Found others who had the same problem, but no one ever reported how they managed to get over these errors.
See attached install.log.
Thanks in advance.
Steps performed:
-----------------------
[root@mgmt-centos tmp]# wget https://assets.nagios.com/downloads/nag ... 2.5.tar.gz
--2016-03-09 14:03:59-- https://assets.nagios.com/downloads/nag ... 2.5.tar.gz
Resolving assets.nagios.com (assets.nagios.com)... 72.14.181.71
Connecting to assets.nagios.com (assets.nagios.com)|72.14.181.71|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 50836297 (48M) [application/x-gzip]
Saving to: ‘xi-5.2.5.tar.gz’
100%[======================================================================================================>] 50,836,297 1.99MB/s in 52s
2016-03-09 14:04:52 (960 KB/s) - ‘xi-5.2.5.tar.gz’ saved [50836297/50836297]
[root@mgmt-centos tmp]# tar xzf xi-5.2.5.tar.gz
[root@mgmt-centos tmp]# cd nagiosxi/
[root@mgmt-centos /]# cd /tmp/nagiosxi/
[root@mgmt-centos nagiosxi]# ./fullinstall
Your system $PATH does not include /sbin and /usr/sbin. This is usually the result of installing GNOME rather than creating a clean system.
Adding /sbin and /usr/sbin to $PATH.
========================
Nagios XI Full Installer
========================
This script will do a complete install of Nagios XI by executing all necessary sub-scripts.
IMPORTANT: This script should only be used on a 'clean' install of CentOS or RedHat. Do NOT use this on a system that has been tasked
with other purposes or has an existing install of Nagios Core. To create such a clean install you should have selected ONLY the 'Base'
package in the OS installer.
Do you want to continue? [Y/n] n
Installation cancelled
[root@mgmt-centos nagiosxi]# export PATH=$PATH:/sbin:/usr/sbin
[root@mgmt-centos nagiosxi]# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin:/usr/sbin
[root@mgmt-centos nagiosxi]# ./fullinstall
========================
Nagios XI Full Installer
========================
This script will do a complete install of Nagios XI by executing all necessary sub-scripts.
IMPORTANT: This script should only be used on a 'clean' install of CentOS or RedHat. Do NOT use this on a system that has been tasked
with other purposes or has an existing install of Nagios Core. To create such a clean install you should have selected ONLY the 'Base'
package in the OS installer.
Do you want to continue? [Y/n] Y
Proceeding with installation...
Checking MySQL credentials...
MySQL not yet installed - that's okay.
Running './0-repos'...
Configuring Repos...
Enabling Nagios repo...
Installing Nagios Repo PKG: packages/nagios-repo-7-2.el7.noarch.rpm
warning: packages/nagios-repo-7-2.el7.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID 1e924cb3: NOKEY
Preparing... ########################################
Updating / installing...
nagios-repo-7-2.el7 ########################################
...
--> Processing Dependency: dejavu-lgc-sans-mono-fonts for package: rrdtool-1.4.9-1.el7.x86_64
--> Processing Dependency: dejavu-lgc-sans-fonts for package: rrdtool-1.4.9-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: rrdtool-1.4.9-1.el7.x86_64 (nagiosxi-deps)
Requires: dejavu-lgc-sans-fonts
Error: Package: nagiosxi-deps-el7-5.2.5-1.noarch (/nagiosxi-deps-el7-5.2.5-1.noarch)
Requires: perl-Config-Tiny
Error: Package: perl-Net-SNMP-6.0.1-7.el7.noarch (epel)
Requires: perl(Crypt::DES)
Error: Package: nagiosxi-deps-el7-5.2.5-1.noarch (/nagiosxi-deps-el7-5.2.5-1.noarch)
Requires: php-snmp
Error: Package: rrdtool-1.4.9-1.el7.x86_64 (nagiosxi-deps)
Requires: dejavu-lgc-sans-mono-fonts
Error: Package: nagiosxi-deps-el7-5.2.5-1.noarch (/nagiosxi-deps-el7-5.2.5-1.noarch)
Requires: gd-devel
Error: Package: perl-Mail-IMAPClient-3.37-1.el7.noarch (epel)
Requires: perl(Parse::RecDescent)
Error: Package: nagiosxi-deps-el7-5.2.5-1.noarch (/nagiosxi-deps-el7-5.2.5-1.noarch)
Requires: php-mbstring
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
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: './1-prereqs'