Page 1 of 2
Nagios XI Installation Failed
Posted: Tue May 24, 2016 3:38 pm
by aulusow
Nagios XI Installation Log
==========================
DATE: Tue May 24 14:46:09 EDT 2016
DISTRO INFO:
RedHatEnterpriseServer
7.2
x86_64
THIS IS A NEW INSTALL!
INSTALLING:
full=5.2.8
major=5
minor=2.8
releasedate=2016-05-24
release=519
--> 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.8-1.noarch (/nagiosxi-deps-el7-5.2.8-1.noarch)
Requires: gd-devel
Error: Package: perl-Net-SNMP-6.0.1-7.el7.noarch (epel)
Requires: perl(Crypt::DES)
Error: Package: nagiosxi-deps-el7-5.2.8-1.noarch (/nagiosxi-deps-el7-5.2.8-1.noarch)
Requires: php-mbstring
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.8-1.noarch (/nagiosxi-deps-el7-5.2.8-1.noarch)
Requires: perl-Config-Tiny
Error: Package: perl-Mail-IMAPClient-3.37-1.el7.noarch (epel)
Requires: perl(Parse::RecDescent)
Error: Package: nagiosxi-deps-el7-5.2.8-1.noarch (/nagiosxi-deps-el7-5.2.8-1.noarch)
Requires: php-snmp
Error: nagiosxi-deps-el7 conflicts with nrpe-2.15-7.el7.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Can someone assist?
Re: Nagios XI Installation Failed
Posted: Tue May 24, 2016 3:40 pm
by rkennedy
What is the full output of yum repolist?
Re: Nagios XI Installation Failed
Posted: Tue May 24, 2016 3:45 pm
by aulusow
[root@ nagiosxi]# yum repolist
Loaded plugins: langpacks, package_upload, product-id, search-disabled-repos, subscription-manager
repo id repo name status
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 10,052
nagios-base Nagios 31
nagiosxi-deps Nagios XI Dependencies 26
!rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 10,859
!rhel-7-server-satellite-tools-6.1-rpms/x86_64 Red Hat Satellite Tools 6.1 (for RHEL 7 Server) (RPMs) 83
rpmforge RHEL 7Server - RPMforge.net - dag 245
repolist: 21,296
Re: Nagios XI Installation Failed
Posted: Tue May 24, 2016 4:05 pm
by hsmith
Can you enable the redhat optional repo, and try once more?
Re: Nagios XI Installation Failed
Posted: Tue May 24, 2016 10:57 pm
by Box293
aulusow wrote:[root@ nagiosxi]# yum repolist
Loaded plugins: langpacks, package_upload, product-id, search-disabled-repos, subscription-manager
repo id repo name status
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 10,052
nagios-base Nagios 31
nagiosxi-deps Nagios XI Dependencies 26
!rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 10,859
!rhel-7-server-satellite-tools-6.1-rpms/x86_64 Red Hat Satellite Tools 6.1 (for RHEL 7 Server) (RPMs) 83
rpmforge RHEL 7Server - RPMforge.net - dag 245
repolist: 21,296
The exclamation ! marks at the beginning of these lines indicate that it is having issues contacting these repositories.
Try
Re: Nagios XI Installation Failed
Posted: Wed May 25, 2016 2:42 pm
by aulusow
[root@ nagiosxi]# yum clean all
Loaded plugins: langpacks, package_upload, product-id, search-disabled-repos, subscription-manager
Cleaning repos: epel nagios-base nagiosxi-deps rhel-7-server-rpms rhel-7-server-satellite-tools-6.1-rpms rpmforge
Cleaning up everything
[root@ nagiosxi]# yum repolist
Loaded plugins: langpacks, package_upload, product-id, search-disabled-repos, subscription-manager
epel/x86_64/metalink | 13 kB 00:00:00
epel | 4.3 kB 00:00:00
nagios-base | 1.5 kB 00:00:00
nagiosxi-deps | 1.5 kB 00:00:00
rhel-7-server-rpms | 2.1 kB 00:00:00
rhel-7-server-satellite-tools-6.1-rpms | 2.1 kB 00:00:00
rpmforge | 1.9 kB 00:00:00
(1/11): epel/x86_64/group_gz | 170 kB 00:00:00
(2/11): epel/x86_64/updateinfo | 557 kB 00:00:00
(3/11): nagios-base/primary | 5.4 kB 00:00:00
(4/11): nagiosxi-deps/primary | 9.5 kB 00:00:00
(5/11): rhel-7-server-rpms/7Server/x86_64/group | 588 kB 00:00:00
(6/11): rhel-7-server-rpms/7Server/x86_64/updateinfo | 1.1 MB 00:00:00
(7/11): rhel-7-server-satellite-tools-6.1-rpms/x86_64/updateinfo | 7.6 kB 00:00:00
(8/11): rhel-7-server-satellite-tools-6.1-rpms/x86_64/group | 1.4 kB 00:00:00
(9/11): rhel-7-server-satellite-tools-6.1-rpms/x86_64/primary | 19 kB 00:00:00
(10/11): epel/x86_64/primary_db | 4.1 MB 00:00:00
(11/11): rhel-7-server-rpms/7Server/x86_64/primary | 13 MB 00:00:00
rpmforge/primary_db | 125 kB 00:00:00
nagios-base 31/31
nagiosxi-deps 26/26
rhel-7-server-rpms 10859/10859
rhel-7-server-satellite-tools-6.1-rpms 83/83
repo id repo name status
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 10,052
nagios-base Nagios 31
nagiosxi-deps Nagios XI Dependencies 26
!rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 10,859
!rhel-7-server-satellite-tools-6.1-rpms/x86_64 Red Hat Satellite Tools 6.1 (for RHEL 7 Server) (RPMs) 83
rpmforge RHEL 7Server - RPMforge.net - dag 245
repolist: 21,296
It seems the issue is still there. This server is managed by satellite is the issue related to satellite.
Re: Nagios XI Installation Failed
Posted: Wed May 25, 2016 2:47 pm
by hsmith
It's looking that way. Can you verify the information in those repo files is correct?
Re: Nagios XI Installation Failed
Posted: Wed May 25, 2016 2:47 pm
by rkennedy
aulusow wrote:[root@ nagiosxi]# yum clean all
Loaded plugins: langpacks, package_upload, product-id, search-disabled-repos, subscription-manager
Cleaning repos: epel nagios-base nagiosxi-deps rhel-7-server-rpms rhel-7-server-satellite-tools-6.1-rpms rpmforge
Cleaning up everything
[root@ nagiosxi]# yum repolist
Loaded plugins: langpacks, package_upload, product-id, search-disabled-repos, subscription-manager
epel/x86_64/metalink | 13 kB 00:00:00
epel | 4.3 kB 00:00:00
nagios-base | 1.5 kB 00:00:00
nagiosxi-deps | 1.5 kB 00:00:00
rhel-7-server-rpms | 2.1 kB 00:00:00
rhel-7-server-satellite-tools-6.1-rpms | 2.1 kB 00:00:00
rpmforge | 1.9 kB 00:00:00
(1/11): epel/x86_64/group_gz | 170 kB 00:00:00
(2/11): epel/x86_64/updateinfo | 557 kB 00:00:00
(3/11): nagios-base/primary | 5.4 kB 00:00:00
(4/11): nagiosxi-deps/primary | 9.5 kB 00:00:00
(5/11): rhel-7-server-rpms/7Server/x86_64/group | 588 kB 00:00:00
(6/11): rhel-7-server-rpms/7Server/x86_64/updateinfo | 1.1 MB 00:00:00
(7/11): rhel-7-server-satellite-tools-6.1-rpms/x86_64/updateinfo | 7.6 kB 00:00:00
(8/11): rhel-7-server-satellite-tools-6.1-rpms/x86_64/group | 1.4 kB 00:00:00
(9/11): rhel-7-server-satellite-tools-6.1-rpms/x86_64/primary | 19 kB 00:00:00
(10/11): epel/x86_64/primary_db | 4.1 MB 00:00:00
(11/11): rhel-7-server-rpms/7Server/x86_64/primary | 13 MB 00:00:00
rpmforge/primary_db | 125 kB 00:00:00
nagios-base 31/31
nagiosxi-deps 26/26
rhel-7-server-rpms 10859/10859
rhel-7-server-satellite-tools-6.1-rpms 83/83
repo id repo name status
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 10,052
nagios-base Nagios 31
nagiosxi-deps Nagios XI Dependencies 26
!rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 10,859
!rhel-7-server-satellite-tools-6.1-rpms/x86_64 Red Hat Satellite Tools 6.1 (for RHEL 7 Server) (RPMs) 83
rpmforge RHEL 7Server - RPMforge.net - dag 245
repolist: 21,296
It seems the issue is still there. This server is managed by satellite is the issue related to satellite.
I believe so, as @Box293 mentioned -
The exclamation ! marks at the beginning of these lines indicate that it is having issues contacting these repositories.
Under your RHEL & RHEL Satellite repositories, there is still an exclamation point present -
Code: Select all
!rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 10,859
!rhel-7-server-satellite-tools-6.1-rpms/x86_64 Red Hat Satellite Tools 6.1 (for RHEL 7 Server) (RPMs) 83
Are you using local mirrors for these that aren't present? I'd look into what servers it's trying to query for those repositories.
Re: Nagios XI Installation Failed
Posted: Thu May 26, 2016 10:01 am
by aulusow
--> 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.8-1.noarch (/nagiosxi-deps-el7-5.2.8-1.noarch)
Requires: gd-devel
Error: Package: perl-Net-SNMP-6.0.1-7.el7.noarch (epel)
Requires: perl(Crypt::DES)
Error: Package: nagiosxi-deps-el7-5.2.8-1.noarch (/nagiosxi-deps-el7-5.2.8-1.noarch)
Requires: php-mbstring
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.8-1.noarch (/nagiosxi-deps-el7-5.2.8-1.noarch)
Requires: perl-Config-Tiny
Error: Package: perl-Mail-IMAPClient-3.37-1.el7.noarch (epel)
Requires: perl(Parse::RecDescent)
Error: Package: nagiosxi-deps-el7-5.2.8-1.noarch (/nagiosxi-deps-el7-5.2.8-1.noarch)
Requires: php-snmp
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************
Error: Package: rrdtool-1.4.9-1.el7.x86_64 (nagiosxi-deps)
Requires: dejavu-lgc-sans-fonts
Error: Package: nagiosxi-deps-el7-5.2.8-1.noarch (/nagiosxi-deps-el7-5.2.8-1.noarch)
Requires: gd-devel
Error: Package: perl-Net-SNMP-6.0.1-7.el7.noarch (epel)
Requires: perl(Crypt::DES)
Error: Package: nagiosxi-deps-el7-5.2.8-1.noarch (/nagiosxi-deps-el7-5.2.8-1.noarch)
Requires: php-mbstring
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.8-1.noarch (/nagiosxi-deps-el7-5.2.8-1.noarch)
Requires: perl-Config-Tiny
Error: Package: perl-Mail-IMAPClient-3.37-1.el7.noarch (epel)
Requires: perl(Parse::RecDescent)
Error: Package: nagiosxi-deps-el7-5.2.8-1.noarch (/nagiosxi-deps-el7-5.2.8-1.noarch)
Requires: php-snmp
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'
[root@nagiosxi]# yum repolist
Loaded plugins: langpacks, package_upload, product-id, search-disabled-repos, subscription-manager
repo id repo name status
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 10,055
nagios-base Nagios 31
nagiosxi-deps Nagios XI Dependencies 26
rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 10,859
rpmforge RHEL 7Server - RPMforge.net - dag 245
repolist: 21,216
The Red Hat issue is fixed, however the NagiosXI install script still fails with above error. Can you possibly look into it and advise?
Thanks
Re: Nagios XI Installation Failed
Posted: Thu May 26, 2016 12:54 pm
by hsmith
hsmith wrote:Can you enable the redhat optional repo, and try once more?
Give this a shot.