Page 1 of 1

NagiosXI update to latest version

Posted: Wed Mar 23, 2016 11:25 am
by emartine
I updated our RHEL 6 server (2.6.32-573.8.1.el6.x86_64 #1 SMP Fri Sep 25 19:24:22 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux)
with the latest version of NagiosXI and wanted to do an update to the system as well.

I received a multilib version problem when I did this and wanted to know which could be removed.

Code: Select all

Error:  Multilib version problems found. This often means that the root
       cause is something else and multilib version checking is just
       pointing out that there is a problem. Eg.:

         1. You have an upgrade for rrdtool which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of rrdtool of the
            different architecture. If you exclude the bad architecture
            yum will tell you what the root cause is (which package
            requires what). You can try redoing the upgrade with
            --exclude rrdtool.otherarch ... this should give you an error
            message showing the root cause of the problem.

         2. You have multiple architectures of rrdtool installed, but
            yum can only see an upgrade for one of those arcitectures.
            If you don't want/need both architectures anymore then you
            can remove the one with the missing update and everything
            will work.

         3. You have duplicate versions of rrdtool installed already.
            You can use "yum check" to get yum show these errors.

       ...you can also use --setopt=protected_multilib=false to remove
       this checking, however this is almost never the correct thing to
       do as something else is very likely to go wrong (often causing
       much more problems).

Protected multilib versions: rrdtool-1.3.8-7.el6.i686 != rrdtool-1.4.7-1.el6.rfx.x86_64
Error: Protected multilib versions: php-mssql-5.3.3-4.el6.x86_64 != php-mssql-5.3.3-3.el6.i686

I could start making assumption but would rather get an answer from support.

Prior to this I noticed a perl update problem with a dependency on lftp (Is lftp used nagiosxi ?) Currently I excluded the packages perl* and lftp from updates but it would probably also be best to update this as well.

Code: Select all

--> Running transaction check
---> Package kernel.x86_64 0:2.6.32-431.29.2.el6 will be erased
---> Package perl-IO-Compress.noarch 0:2.052-1.el6.rfx will be obsoleting
--> Processing Dependency: perl(Compress::Raw::Zlib) = 2.052 for package: perl-IO-Compress-2.052-1.el6.rfx.noarch
--> Finished Dependency Resolution
Error: Package: perl-IO-Compress-2.052-1.el6.rfx.noarch (rpmforge-extras)
           Requires: perl(Compress::Raw::Zlib) = 2.052
           Installed: 1:perl-Compress-Raw-Zlib-2.021-141.el6_7.1.x86_64 (@rhel-6-server-rpms)
               perl(Compress::Raw::Zlib) = 2.021
           Available: perl-Compress-Raw-Zlib-2.023-115.el6.x86_64 (rhel-6-server-rpms)
               perl(Compress::Raw::Zlib) = 2.020
           Available: perl-Compress-Raw-Zlib-2.023-119.el6.x86_64 (rhel-6-server-rpms)
               perl(Compress::Raw::Zlib) = 2.020
           Available: perl-Compress-Raw-Zlib-2.023-119.el6_1.1.x86_64 (rhel-6-server-rpms)
               perl(Compress::Raw::Zlib) = 2.020
           Available: perl-Compress-Raw-Zlib-2.030-1.el6.rfx.x86_64 (rpmforge-extras)
               perl(Compress::Raw::Zlib) = 2.030
           Available: perl-Compress-Raw-Zlib-2.033-1.el6.rfx.x86_64 (rpmforge-extras)
               perl(Compress::Raw::Zlib) = 2.033
           Available: perl-Compress-Raw-Zlib-2.034-1.el6.rfx.x86_64 (rpmforge-extras)
               perl(Compress::Raw::Zlib) = 2.034
           Available: perl-Compress-Raw-Zlib-2.035-1.el6.rfx.x86_64 (rpmforge-extras)
               perl(Compress::Raw::Zlib) = 2.035
           Available: perl-Compress-Raw-Zlib-2.037-1.el6.rfx.x86_64 (rpmforge-extras)
               perl(Compress::Raw::Zlib) = 2.037
           Available: perl-Compress-Raw-Zlib-2.051-1.el6.rfx.x86_64 (rpmforge-extras)
               perl(Compress::Raw::Zlib) = 2.051
           Available: perl-Compress-Raw-Zlib-2.052-1.el6.rfx.x86_64 (rpmforge-extras)
               perl(Compress::Raw::Zlib) = 2.052
           Available: 1:perl-Compress-Raw-Zlib-2.020-127.el6.x86_64 (rhel-6-server-rpms)
               perl(Compress::Raw::Zlib) = 2.020
           Available: 1:perl-Compress-Raw-Zlib-2.020-129.el6.x86_64 (rhel-6-server-rpms)
               perl(Compress::Raw::Zlib) = 2.020
           Available: 1:perl-Compress-Raw-Zlib-2.020-130.el6_4.x86_64 (rhel-6-server-rpms)
               perl(Compress::Raw::Zlib) = 2.020
           Available: 1:perl-Compress-Raw-Zlib-2.020-131.el6_4.x86_64 (rhel-6-server-rpms)
               perl(Compress::Raw::Zlib) = 2.020
           Available: 1:perl-Compress-Raw-Zlib-2.021-136.el6.x86_64 (rhel-6-server-rpms)
               perl(Compress::Raw::Zlib) = 2.021
           Available: 1:perl-Compress-Raw-Zlib-2.021-136.el6_6.1.x86_64 (rhel-6-server-rpms)
               perl(Compress::Raw::Zlib) = 2.021
           Available: 1:perl-Compress-Raw-Zlib-2.021-141.el6.x86_64 (rhel-6-server-rpms)
               perl(Compress::Raw::Zlib) = 2.021
 You could try using --skip-broken to work around the problem

Re: NagiosXI update to latest version

Posted: Wed Mar 23, 2016 3:28 pm
by hsmith
Just for some clarification here - the XI upgrade completed just fine, and all you want to do is a system update? Something like 'yum update' ?

Re: NagiosXI update to latest version

Posted: Mon Mar 28, 2016 9:28 am
by emartine
Yes! ...And I am running into a multi version problem.

Re: NagiosXI update to latest version

Posted: Mon Mar 28, 2016 2:00 pm
by hsmith
I have not experienced any issues when doing a yum update before.

As far as the multilib issue, can we see the output of a yum list installed command?

Re: NagiosXI update to latest version

Posted: Mon Mar 28, 2016 2:11 pm
by emartine
Here is the other issue. I'll attach the list in a fews.

--> Finished Dependency Resolution
Error: Package: perl-IO-Compress-2.052-1.el6.rfx.noarch (rpmforge-extras)
Requires: perl(Compress::Raw::Zlib) = 2.052
Installed: 1:perl-Compress-Raw-Zlib-2.021-141.el6_7.1.x86_64 (@rhel-6-server-rpms)
perl(Compress::Raw::Zlib) = 2.021
Available: perl-Compress-Raw-Zlib-2.023-115.el6.x86_64 (rhel-6-server-rpms)
perl(Compress::Raw::Zlib) = 2.020
Available: perl-Compress-Raw-Zlib-2.023-119.el6.x86_64 (rhel-6-server-rpms)
perl(Compress::Raw::Zlib) = 2.020
Available: perl-Compress-Raw-Zlib-2.023-119.el6_1.1.x86_64 (rhel-6-server-rpms)
perl(Compress::Raw::Zlib) = 2.020
Available: perl-Compress-Raw-Zlib-2.030-1.el6.rfx.x86_64 (rpmforge-extras)
perl(Compress::Raw::Zlib) = 2.030
Available: perl-Compress-Raw-Zlib-2.033-1.el6.rfx.x86_64 (rpmforge-extras)
perl(Compress::Raw::Zlib) = 2.033
Available: perl-Compress-Raw-Zlib-2.034-1.el6.rfx.x86_64 (rpmforge-extras)
perl(Compress::Raw::Zlib) = 2.034
Available: perl-Compress-Raw-Zlib-2.035-1.el6.rfx.x86_64 (rpmforge-extras)
perl(Compress::Raw::Zlib) = 2.035
Available: perl-Compress-Raw-Zlib-2.037-1.el6.rfx.x86_64 (rpmforge-extras)
perl(Compress::Raw::Zlib) = 2.037
Available: perl-Compress-Raw-Zlib-2.051-1.el6.rfx.x86_64 (rpmforge-extras)
perl(Compress::Raw::Zlib) = 2.051
Available: perl-Compress-Raw-Zlib-2.052-1.el6.rfx.x86_64 (rpmforge-extras)
perl(Compress::Raw::Zlib) = 2.052
Available: 1:perl-Compress-Raw-Zlib-2.020-127.el6.x86_64 (rhel-6-server-rpms)
perl(Compress::Raw::Zlib) = 2.020
Available: 1:perl-Compress-Raw-Zlib-2.020-129.el6.x86_64 (rhel-6-server-rpms)
perl(Compress::Raw::Zlib) = 2.020
Available: 1:perl-Compress-Raw-Zlib-2.020-130.el6_4.x86_64 (rhel-6-server-rpms)
perl(Compress::Raw::Zlib) = 2.020
Available: 1:perl-Compress-Raw-Zlib-2.020-131.el6_4.x86_64 (rhel-6-server-rpms)
perl(Compress::Raw::Zlib) = 2.020
Available: 1:perl-Compress-Raw-Zlib-2.021-136.el6.x86_64 (rhel-6-server-rpms)
perl(Compress::Raw::Zlib) = 2.021
Available: 1:perl-Compress-Raw-Zlib-2.021-136.el6_6.1.x86_64 (rhel-6-server-rpms)
perl(Compress::Raw::Zlib) = 2.021
Available: 1:perl-Compress-Raw-Zlib-2.021-141.el6.x86_64 (rhel-6-server-rpms)
perl(Compress::Raw::Zlib) = 2.021
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Re: NagiosXI update to latest version

Posted: Mon Mar 28, 2016 2:17 pm
by emartine
Attaching the installed package list.

Re: NagiosXI update to latest version

Posted: Mon Mar 28, 2016 4:35 pm
by tgriep
I would be careful in upgrading all of the packages on your server, if a newer package is installed that isn't compatible with XI, it could cause problems.

Re: NagiosXI update to latest version

Posted: Tue Apr 12, 2016 9:35 am
by emartine
I expect that bug fixes and vulnerabilities should apply to the OS as much as the application that resides on it. Yes I do run into the issue of potential problems but it is even worse if I don't patch since we run the risk of compromise. At this time there are no high level vulnerabilities but there will come a time, it's inevitable,where a vulnerability will be found and patching will be necessary.

Re: NagiosXI update to latest version

Posted: Tue Apr 12, 2016 2:07 pm
by jomann
The XI system will install 64/32 bit versions of things that it builds manually based on the system's architecture. If you're running it on a 64 bit system it'll try to build for a 64 bit system, and will require all the 64 bit dependencies.