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'
Installation error - Nagios XI 5.25 on CentOS 7
-
ziv.feferman
- Posts: 3
- Joined: Wed Mar 09, 2016 3:46 am
Installation error - Nagios XI 5.25 on CentOS 7
You do not have the required permissions to view the files attached to this post.
Re: Installation error - Nagios XI 5.25 on CentOS 7
I just ran through a full install of 5.2.5 the other day without issues on a Cent7 minimal machine. A few questions for you -
- Are you using a provider to host this, or did you mount the Cent7 ISO yourself?
- What is the result of a yum repolist?
- Do you have a GUI running?
- Are you using a provider to host this, or did you mount the Cent7 ISO yourself?
- What is the result of a yum repolist?
- Do you have a GUI running?
Former Nagios Employee
-
ziv.feferman
- Posts: 3
- Joined: Wed Mar 09, 2016 3:46 am
Re: Installation error - Nagios XI 5.25 on CentOS 7
rkennedy - thanks for the prompt response.
This is a VM host in our lab. OS installed from an image.
No GUI.
[/size]
This is a VM host in our lab. OS installed from an image.
No GUI.
Code: Select all
[root@mgmt-centos ~]# yum repolist
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* epel: mirror.nonstop.co.il
* rpmforge: mirror1.hs-esslingen.de
repo id repo name status
!epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 9,570
!kickstart/x86_64 Kickstart 3,723
!nagios-base Nagios 76
!nagiosxi-deps Nagios XI Dependencies 27
!rpmforge RHEL 7 - RPMforge.net - dag 245
repolist: 13,641
Re: Installation error - Nagios XI 5.25 on CentOS 7
I don't see the "CentOS-7 - Base", and "CentOS-7 - Updates" repos. Can you enable them, and rerun the "fullinstall" script?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Installation error - Nagios XI 5.25 on CentOS 7
To add on to lmiltchev' s observation, here is the repo list from my recent installation of Cent 7 (minimal) and XI 5.2.5:
repo name
CentOS-7 - Base
Extra Packages for Enterprise Linux 7 - x86_64
CentOS-7 - Extras
Nagios
Nagios XI Dependencies
RHEL 7 - RPMforge.net - dag
CentOS-7 - Updates
repo name
CentOS-7 - Base
Extra Packages for Enterprise Linux 7 - x86_64
CentOS-7 - Extras
Nagios
Nagios XI Dependencies
RHEL 7 - RPMforge.net - dag
CentOS-7 - Updates
Be sure to check out the Knowledgebase for helpful articles and solutions!
-
ziv.feferman
- Posts: 3
- Joined: Wed Mar 09, 2016 3:46 am
Re: Installation error - Nagios XI 5.25 on CentOS 7
Problem solved!
@lmiltchev's comment pointed me in the right direction:
Copying/enabling the centos-base.repo did it:
cp /etc/yum.repos.d/RepoLockBackup/CentOS-Base.repo /etc/yum.repos.d/
Thanks for all the help.
@lmiltchev's comment pointed me in the right direction:
Copying/enabling the centos-base.repo did it:
cp /etc/yum.repos.d/RepoLockBackup/CentOS-Base.repo /etc/yum.repos.d/
Thanks for all the help.
Re: Installation error - Nagios XI 5.25 on CentOS 7
Are we good to close this thread?
Former Nagios Employee.
me.
me.