Page 1 of 2

nagios xi installation problem

Posted: Wed May 06, 2015 10:53 am
by laporte
Hi there,
During an fresh installation on a RH 5.9 vm, created specifically for nagios xi I run into the below errors. (xi-2014r2.7.tar.gz)
Note the os is a customized image and does have direct access to internet (no proxy).
Also there are no other applications running on this server. (newly provisioned)
See attached the install.log for more details

An installation of Nagios Core on a different server with same specs and os version was working without any issues.
Appreciate any leads getting the installation to complete.
Cheers,
__
Pascal

errors below.
Note that running the suggestions did not help.
+++++
<SNIP>
--> Processing Dependency: openssl = 0.9.8e-22.el5_8.4 for package: openssl-devel
---> Package xz-libs.x86_64 0:4.999.9-0.3.beta.20091007git.el5 set to be updated
--> Finished Dependency Resolution
krb5-devel-1.6.1-70.el5.x86_64 from 5Server-Repo has depsolving problems
--> Missing Dependency: krb5-libs = 1.6.1-70.el5 is needed by package krb5-devel-1.6.1-70.el5.x86_64 (5Server-Repo)
e2fsprogs-devel-1.39-35.el5.x86_64 from 5Server-Repo has depsolving problems
--> Missing Dependency: e2fsprogs-libs = 1.39-35.el5 is needed by package e2fsprogs-devel-1.39-35.el5.x86_64 (5Server-Repo)
openldap-devel-2.3.43-25.el5_8.1.x86_64 from 5Server-Repo has depsolving problems
--> Missing Dependency: openldap = 2.3.43-25.el5_8.1 is needed by package openldap-devel-2.3.43-25.el5_8.1.x86_64 (5Server-Repo)
openssl-devel-0.9.8e-22.el5_8.4.x86_64 from 5Server-Repo has depsolving problems
--> Missing Dependency: openssl = 0.9.8e-22.el5_8.4 is needed by package openssl-devel-0.9.8e-22.el5_8.4.x86_64 (5Server-Repo)
1:net-snmp-utils-5.3.2.2-20.el5.x86_64 from 5Server-Repo has depsolving problems
--> Missing Dependency: net-snmp = 1:5.3.2.2-20.el5 is needed by package 1:net-snmp-utils-5.3.2.2-20.el5.x86_64 (5Server-Repo)
freetype-devel-2.2.1-31.el5_8.1.x86_64 from 5Server-Repo has depsolving problems
--> Missing Dependency: freetype = 2.2.1-31.el5_8.1 is needed by package freetype-devel-2.2.1-31.el5_8.1.x86_64 (5Server-Repo)
Error: Missing Dependency: krb5-libs = 1.6.1-70.el5 is needed by package krb5-devel-1.6.1-70.el5.x86_64 (5Server-Repo)
Error: Missing Dependency: openldap = 2.3.43-25.el5_8.1 is needed by package openldap-devel-2.3.43-25.el5_8.1.x86_64 (5Server-Repo)
Error: Missing Dependency: net-snmp = 1:5.3.2.2-20.el5 is needed by package 1:net-snmp-utils-5.3.2.2-20.el5.x86_64 (5Server-Repo)
Error: Missing Dependency: freetype = 2.2.1-31.el5_8.1 is needed by package freetype-devel-2.2.1-31.el5_8.1.x86_64 (5Server-Repo)
Error: Missing Dependency: openssl = 0.9.8e-22.el5_8.4 is needed by package openssl-devel-0.9.8e-22.el5_8.4.x86_64 (5Server-Repo)
Error: Missing Dependency: e2fsprogs-libs = 1.39-35.el5 is needed by package e2fsprogs-devel-1.39-35.el5.x86_64 (5Server-Repo)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest

Re: nagios xi installation problem

Posted: Wed May 06, 2015 11:06 am
by jolson
Could you please post some further information about your distribution and repositories?

Code: Select all

uname -a
cat /etc/*release*
yum repolist
Is it possible to do this install on a RHEL 6 box instead of RHEL 5?

Re: nagios xi installation problem

Posted: Wed May 06, 2015 11:41 am
by laporte
[root@vm-plaporte-001 ~]# uname -a
Linux vm-plaporte-001 2.6.18-371.6.1.el5 #1 SMP Tue Feb 18 11:42:11 EST 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@vm-plaporte-001 ~]# cat /etc/*release*
cat: /etc/lsb-release.d: Is a directory
Red Hat Enterprise Linux Server release 5.9 (Tikanga)
[root@vm-plaporte-001 ~]# yum repolist
Failed to set locale, defaulting to C
Loaded plugins: kmod
5Server-Repo | 2.4 kB 00:00
Cisco-Packages | 2.3 kB 00:00
epel | 3.7 kB 00:00
nagios-base | 1.2 kB 00:00
nagiosxi-deps | 1.2 kB 00:00
rpmforge | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
repo id repo name status
5Server-Repo Redhat Enterprise Linux 5Server 5150+1628
Cisco-Packages Cisco Packages 3
epel Extra Packages for Enterprise Linux 5 - x86_64 5327+1332
nagios-base Nagios 1
nagiosxi-deps Nagios XI Dependencies 1+1
rpmforge RHEL 5Server - RPMforge.net - dag 11403
repolist: 21885
[root@vm-plaporte-001 ~]#

Re: nagios xi installation problem

Posted: Wed May 06, 2015 1:17 pm
by jolson
Please note that your yum errors contain the following entry:

Code: Select all

X from 5Server-Repo has depsolving problems
It looks like '5Server-Repo' is a custom repository, and it's having trouble resolving all of the dependencies for the packages mentioned. Any chance you could use the default RHEL repositories instead of this custom one for the purpose of installation?

Re: nagios xi installation problem

Posted: Wed May 06, 2015 1:38 pm
by laporte
I'm afraid that will not be possible.
The custom is a company wide one.
Can we add, whatever required, to complete the installation?
Regards,
__
Pascal

Re: nagios xi installation problem

Posted: Wed May 06, 2015 1:52 pm
by ssax
Yes, you can add the ones it is erroring out on:

Code: Select all

Error: Missing Dependency: krb5-libs = 1.6.1-70.el5 is needed by package krb5-devel-1.6.1-70.el5.x86_64 (5Server-Repo)
Error: Missing Dependency: openldap = 2.3.43-25.el5_8.1 is needed by package openldap-devel-2.3.43-25.el5_8.1.x86_64 (5Server-Repo)
Error: Missing Dependency: net-snmp = 1:5.3.2.2-20.el5 is needed by package 1:net-snmp-utils-5.3.2.2-20.el5.x86_64 (5Server-Repo)
Error: Missing Dependency: freetype = 2.2.1-31.el5_8.1 is needed by package freetype-devel-2.2.1-31.el5_8.1.x86_64 (5Server-Repo)
Error: Missing Dependency: openssl = 0.9.8e-22.el5_8.4 is needed by package openssl-devel-0.9.8e-22.el5_8.4.x86_64 (5Server-Repo)
Error: Missing Dependency: e2fsprogs-libs = 1.39-35.el5 is needed by package e2fsprogs-devel-1.39-35.el5.x86_64 (5Server-Repo)

Re: nagios xi installation problem

Posted: Thu May 07, 2015 2:43 am
by laporte
When I try to install that it tells me it's already installed, though with a slightly different name:

[root@vm-plaporte-001 ~]# yum install -y krb5-libs
Failed to set locale, defaulting to C
Loaded plugins: kmod
5Server-Repo | 2.4 kB 00:00
Cisco-Packages | 2.3 kB 00:00
epel | 3.7 kB 00:00
nagios-base | 1.2 kB 00:00
nagiosxi-deps | 1.2 kB 00:00
rpmforge | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Install Process
Package matching krb5-libs-1.6.1-70.el5.x86_64 already installed. Checking for update.
Nothing to do

Re: nagios xi installation problem

Posted: Thu May 07, 2015 10:04 am
by jdalrymple
The problem isn't jumping out at me.

As further troubleshooting let's see where your current krb5-libs are sourced from:

Code: Select all

[jdalrymple@localhost ~]$ yum info krb5-libs
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/metalink                                                                                                          |  13 kB     00:00
 * base: mirror.ubiquityservers.com
 * epel: lug.mtu.edu
 * extras: reflector.westga.edu
 * rpmforge: mirror.team-cymru.org
 * updates: mirror.beyondhosting.net
base                                                                                                                   | 3.7 kB     00:00
cr                                                                                                                     | 3.3 kB     00:00
extras                                                                                                                 | 3.4 kB     00:00
nagios-base                                                                                                            | 1.5 kB     00:00
nagiosxi-deps                                                                                                          | 1.5 kB     00:00
rpmforge                                                                                                               | 1.9 kB     00:00
updates                                                                                                                | 3.4 kB     00:00
Installed Packages
Name        : krb5-libs
Arch        : x86_64
Version     : 1.10.3
Release     : 37.el6_6
Size        : 2.0 M
Repo        : installed
From repo   : updates
Summary     : The shared libraries used by Kerberos 5
URL         : http://web.mit.edu/kerberos/www/
License     : MIT
Description : Kerberos is a network authentication system. The krb5-libs package
            : contains the shared libraries needed by Kerberos 5. If you are using
            : Kerberos, you need to install this package.

Available Packages
Name        : krb5-libs
Arch        : i686
Version     : 1.10.3
Release     : 37.el6_6
Size        : 773 k
Repo        : updates
Summary     : The shared libraries used by Kerberos 5
URL         : http://web.mit.edu/kerberos/www/
License     : MIT
Description : Kerberos is a network authentication system. The krb5-libs package
            : contains the shared libraries needed by Kerberos 5. If you are using
            : Kerberos, you need to install this package.
Lets also see what repos are hosting krb5-libs-devel:

Code: Select all

[jdalrymple@localhost ~]$ yum info krb5-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.ubiquityservers.com
 * epel: lug.mtu.edu
 * extras: reflector.westga.edu
 * rpmforge: mirror.team-cymru.org
 * updates: mirror.beyondhosting.net
Installed Packages
Name        : krb5-devel
Arch        : x86_64
Version     : 1.10.3
Release     : 37.el6_6
Size        : 2.3 M
Repo        : installed
From repo   : updates
Summary     : Development files needed to compile Kerberos 5 programs
URL         : http://web.mit.edu/kerberos/www/
License     : MIT
Description : Kerberos is a network authentication system. The krb5-devel package
            : contains the header files and libraries needed for compiling Kerberos
            : 5 programs. If you want to develop Kerberos-aware programs, you need
            : to install this package.

Available Packages
Name        : krb5-devel
Arch        : i686
Version     : 1.10.3
Release     : 37.el6_6
Size        : 498 k
Repo        : updates
Summary     : Development files needed to compile Kerberos 5 programs
URL         : http://web.mit.edu/kerberos/www/
License     : MIT
Description : Kerberos is a network authentication system. The krb5-devel package
            : contains the header files and libraries needed for compiling Kerberos
            : 5 programs. If you want to develop Kerberos-aware programs, you need
            : to install this package.
And just for fun lets see if we get any different output if we try to directly install krb5-devel instead of having it be a downstream dependancy:

Code: Select all

[jdalrymple@localhost ~]$ sudo yum install krb5-devel

Re: nagios xi installation problem

Posted: Fri May 08, 2015 2:23 am
by laporte
After having installed krb5-devel per suggestion the installation was successful.
My SA in parallel might have made some other changes which I will cross-check.
Thanks much for helping out!

Re: nagios xi installation problem

Posted: Fri May 08, 2015 9:10 am
by tmcdonald
Are we set to close this thread then?