Nagios XI Installation Failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
aulusow
Posts: 18
Joined: Tue May 24, 2016 2:02 pm

Nagios XI Installation Failed

Post 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?
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios XI Installation Failed

Post by rkennedy »

What is the full output of yum repolist?
Former Nagios Employee
aulusow
Posts: 18
Joined: Tue May 24, 2016 2:02 pm

Re: Nagios XI Installation Failed

Post 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
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios XI Installation Failed

Post by hsmith »

Can you enable the redhat optional repo, and try once more?
Former Nagios Employee.
me.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Nagios XI Installation Failed

Post 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

Code: Select all

yum clean all
yum repolist
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
aulusow
Posts: 18
Joined: Tue May 24, 2016 2:02 pm

Re: Nagios XI Installation Failed

Post 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.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios XI Installation Failed

Post by hsmith »

It's looking that way. Can you verify the information in those repo files is correct?
Former Nagios Employee.
me.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios XI Installation Failed

Post 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.
Former Nagios Employee
aulusow
Posts: 18
Joined: Tue May 24, 2016 2:02 pm

Re: Nagios XI Installation Failed

Post 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
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios XI Installation Failed

Post by hsmith »

hsmith wrote:Can you enable the redhat optional repo, and try once more?
Give this a shot.
Former Nagios Employee.
me.
Locked