Upgrade to 3.3 ?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
sikainfo
Posts: 105
Joined: Thu Mar 29, 2012 3:26 am

Upgrade to 3.3 ?

Post by sikainfo »

Hi there, if I try to run the upgrade script it stops with following error:

Code: Select all

[root@chsismon1 nagiosxi]# ./upgrade
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
rhel-6-server-cf-tools-1-rpms                                                                                                             | 2.8 kB     00:00
rhel-6-server-optional-rpms                                                                                                               | 3.5 kB     00:00
rhel-6-server-rpms                                                                                                                        | 3.7 kB     00:00
rhel-6-server-supplementary                                                                                                               | 3.5 kB     00:00
rhel-6-server-supplementary-src                                                                                                           | 2.6 kB     00:00
Setting up Install Process
Package bc-1.06.95-1.el6.x86_64 already installed and latest version
Package matching dstat-0.7.0-1.el6.noarch already installed. Checking for update.
Package expat-devel-2.0.1-11.el6_2.x86_64 already installed and latest version
Package mailx-12.4-6.el6.x86_64 already installed and latest version
Package 1:mod_ssl-2.2.15-15.el6_2.1.x86_64 already installed and latest version
Package numpy-1.4.1-9.el6.x86_64 already installed and latest version
Package openldap-2.4.23-26.el6_3.2.x86_64 already installed and latest version
Package openldap-devel-2.4.23-26.el6_3.2.x86_64 already installed and latest version
Package python-lxml-2.2.3-1.1.el6.x86_64 already installed and latest version
Package python-simplejson-2.0.9-3.1.el6.x86_64 already installed and latest version
Package rpmdevtools-7.5-1.el6.noarch already installed and latest version
Package sudo-1.7.4p5-13.el6_3.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package rrdtool-python.x86_64 0:1.3.8-6.el6 will be installed
--> Processing Dependency: rrdtool = 1.3.8-6.el6 for package: rrdtool-python-1.3.8-6.el6.x86_64
--> Running transaction check
---> Package rrdtool.i686 0:1.3.8-6.el6 will be installed
--> Processing Dependency: libxml2.so.2(LIBXML2_2.4.30) for package: rrdtool-1.3.8-6.el6.i686
--> Processing Dependency: libxml2.so.2 for package: rrdtool-1.3.8-6.el6.i686
--> Processing Dependency: libpng12.so.0(PNG12_0) for package: rrdtool-1.3.8-6.el6.i686
--> Processing Dependency: libpng12.so.0 for package: rrdtool-1.3.8-6.el6.i686
--> Processing Dependency: libpangocairo-1.0.so.0 for package: rrdtool-1.3.8-6.el6.i686
--> Processing Dependency: libpango-1.0.so.0 for package: rrdtool-1.3.8-6.el6.i686
--> Processing Dependency: libgobject-2.0.so.0 for package: rrdtool-1.3.8-6.el6.i686
--> Processing Dependency: libgmodule-2.0.so.0 for package: rrdtool-1.3.8-6.el6.i686
--> Processing Dependency: libglib-2.0.so.0 for package: rrdtool-1.3.8-6.el6.i686
--> Processing Dependency: libcairo.so.2 for package: rrdtool-1.3.8-6.el6.i686
--> Running transaction check
---> Package cairo.i686 0:1.8.8-3.1.el6 will be installed
--> Processing Dependency: libz.so.1 for package: cairo-1.8.8-3.1.el6.i686
--> Processing Dependency: libpixman-1.so.0 for package: cairo-1.8.8-3.1.el6.i686
--> Processing Dependency: libfreetype.so.6 for package: cairo-1.8.8-3.1.el6.i686
--> Processing Dependency: libfontconfig.so.1 for package: cairo-1.8.8-3.1.el6.i686
--> Processing Dependency: libXrender.so.1 for package: cairo-1.8.8-3.1.el6.i686
---> Package glib2.i686 0:2.22.5-7.el6 will be installed
--> Processing Dependency: libselinux.so.1 for package: glib2-2.22.5-7.el6.i686
--> Processing Dependency: libfam.so.0 for package: glib2-2.22.5-7.el6.i686
---> Package libpng.i686 2:1.2.49-1.el6_2 will be installed
---> Package libxml2.i686 0:2.7.6-4.el6_2.4 will be installed
---> Package pango.i686 0:1.28.1-3.el6_0.5 will be installed
--> Processing Dependency: libthai.so.0(LIBTHAI_0.1) for package: pango-1.28.1-3.el6_0.5.i686
--> Processing Dependency: libthai.so.0 for package: pango-1.28.1-3.el6_0.5.i686
--> Processing Dependency: libXft.so.2 for package: pango-1.28.1-3.el6_0.5.i686
--> Running transaction check
---> Package fontconfig.i686 0:2.8.0-3.el6 will be installed
--> Processing Dependency: libexpat.so.1 for package: fontconfig-2.8.0-3.el6.i686
---> Package freetype.i686 0:2.3.11-6.el6_2.9 will be installed
---> Package gamin.i686 0:0.1.10-9.el6 will be installed
---> Package libXft.i686 0:2.1.13-4.1.el6 will be installed
---> Package libXrender.i686 0:0.9.5-1.el6 will be installed
---> Package libselinux.i686 0:2.0.94-5.3.el6 will be installed
---> Package libthai.i686 0:0.1.12-3.el6 will be installed
---> Package pixman.i686 0:0.18.4-1.el6_0.1 will be installed
---> Package zlib.i686 0:1.2.3-27.el6 will be installed
--> Running transaction check
---> Package expat.i686 0:2.0.1-11.el6_2 will be installed
--> Finished Dependency Resolution
Error: Protected multilib versions: rrdtool-1.3.8-6.el6.i686 != rrdtool-1.4.7-1.el6.rfx.x86_64
Error: Protected multilib versions: libxml2-2.7.6-4.el6_2.4.i686 != libxml2-2.7.6-5.el6.rfx.x86_64
attached you find my systemprofile with all relevant infos.

I'll be in vacancy for 1 week and hope you may help me out here after my holidays.

Thanks in advance.

Andy
You do not have the required permissions to view the files attached to this post.
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Upgrade to 3.3 ?

Post by agriffin »

What output do you get from running the following command?

Code: Select all

package-cleanup -C -q --dupes
User avatar
sikainfo
Posts: 105
Joined: Thu Mar 29, 2012 3:26 am

Re: Upgrade to 3.3 ?

Post by sikainfo »

Hi there,
I'm back from holidays,

just tried your suggested command. the resulting output was just nothing. :? :?:

Andy
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Upgrade to 3.3 ?

Post by mguthrie »

Can you show us the output from the following command?

Code: Select all

yum repolist
User avatar
sikainfo
Posts: 105
Joined: Thu Mar 29, 2012 3:26 am

Re: Upgrade to 3.3 ?

Post by sikainfo »

the output looks like this:

$Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
rhel-6-server-cf-tools-1-rpms | 2.8 kB 00:00
rhel-6-server-optional-rpms | 3.5 kB 00:00
rhel-6-server-rpms | 3.7 kB 00:00
rhel-6-server-supplementary | 3.5 kB 00:00
rhel-6-server-supplementary-src | 2.6 kB 00:00
repo id repo name status
rhel-6-server-cf-tools-1-rpms Red Hat CloudForms Tools for RHEL 6 (RPMs) 26
rhel-6-server-optional-rpms Red Hat Enterprise Linux 6 Server - Optiona 5,307
rhel-6-server-rpms Red Hat Enterprise Linux 6 Server (RPMs) 8,436
rhel-6-server-supplementary Red Hat Enterprise Linux 6 Server - Supplem 255
rhel-6-server-supplementary-src Red Hat Enterprise Linux 6 Server - Supplem 3
rhel-x86_64-rhev-agent-6-server Red Hat Enterprise Virt Agent (v.6 Server f 12
rhel-x86_64-rhev-agent-6-server-beta-debuginfo Red Hat Enterprise Virt Agent Beta Debug (v 1
rhel-x86_64-rhev-agent-6-server-debuginfo Red Hat Enterprise Virt Agent Debug (v.6 Se 3
rhel-x86_64-server-6 Red Hat Enterprise Linux Server (v. 6 for 6 8,436
rhel-x86_64-server-6-beta-debuginfo RHEL Server Beta Debuginfo (v.6 for x86_64) 156
rhel-x86_64-server-6-debuginfo RHEL Server Debuginfo (v.6 for x86_64) 3,548
rhel-x86_64-server-fastrack-6 RHEL Server FasTrack (v. 6 64-bit x86_64) 20
rhel-x86_64-server-fastrack-6-debuginfo RHEL Server FasTrack Debuginfo (v.6 x86_64) 10
rhel-x86_64-server-optional-6 RHEL Server Optional (v. 6 64-bit x86_64) 5,307
rhel-x86_64-server-optional-6-beta-debuginfo RHEL Server Optional Beta Debuginfo (v.6 x8 0
rhel-x86_64-server-optional-6-debuginfo RHEL Server Optional Debuginfo (v.6 x86_64) 2,168
rhel-x86_64-server-optional-fastrack-6 RHEL Server Optional FasTrack (v. 6 64-bit 17
rhel-x86_64-server-optional-fastrack-6-debuginfo RHEL Server Optional FasTrack Debuginfo (v. 8
rhel-x86_64-server-supplementary-6 RHEL Server Supplementary (v. 6 64-bit x86_ 255
rhel-x86_64-server-supplementary-6-beta-debuginfo RHEL Server Supplementary Beta Debuginfo (v 0
rhel-x86_64-server-supplementary-6-debuginfo RHEL Server Supplementary Debuginfo (v.6 x8 2
rhel-x86_64-server-v2vwin-6 RHEL V2VWIN (v. 6 for 64-bit x86_64) 2
rhel-x86_64-server-v2vwin-6-beta-debuginfo RHEL V2VWIN Beta Debuginfo (v.6 for x86_64) 0
rhel-x86_64-server-v2vwin-6-debuginfo RHEL V2VWIN Debuginfo (v.6 for x86_64) 1
rhn-tools-rhel-x86_64-server-6 RHN Tools for RHEL (v. 6 for 64-bit x86_64) 65
repolist: 34,038

If I read the messages correctly there is a problem that the upgrade script tries to install 32bit program/library and there is already a 64bit program/library installed.

Am I correct on this ?

Regards Andy
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Upgrade to 3.3 ?

Post by agriffin »

No, the upgrade script only tries to install packages for your architecture. It may be that something about your system is trying to pull in 32-bit packages due to something we haven't run into on our test machines. It could also be out-of-sync repos, duplicate packages on your system, yum configuration differences, previously installed 32-bit packages, or something else. I've already eliminated duplicate packages as a possible cause with that first command I had you run.

What do you see when you run the following command?

Code: Select all

# yum list installed '*.i?86'
(That will list any 32-bit packages you already have installed.)
User avatar
sikainfo
Posts: 105
Joined: Thu Mar 29, 2012 3:26 am

Re: Upgrade to 3.3 ?

Post by sikainfo »

Ok so below you'll find this ouptput

Code: Select all

[root@chsismon1 ~]# yum list installed '*.i?86'
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
rhel-6-server-cf-tools-1-rpms                                                                           | 2.8 kB     00:00
rhel-6-server-optional-rpms                                                                             | 3.5 kB     00:00
rhel-6-server-rpms                                                                                      | 3.7 kB     00:00
rhel-6-server-supplementary                                                                             | 3.5 kB     00:00
rhel-6-server-supplementary-src                                                                         | 2.6 kB     00:00
Installed Packages
compat-libcap1.i686                                      1.10-1                                             @rhel-6-server-rpms
compat-libstdc++-33.i686                                 3.2.3-69.el6                                       @rhel-6-server-rpms
glibc.i686                                               2.12-1.80.el6_3.5                                  @rhel-6-server-rpms
libX11.i686                                              1.3-2.el6                                          @rhel-6-server-rpms
libXau.i686                                              1.0.5-1.el6                                        @rhel-6-server-rpms
libXext.i686                                             1.1-3.el6                                          @rhel-6-server-rpms
libXp.i686                                               1.0.0-15.1.el6                                     @rhel-6-server-rpms
libxcb.i686                                              1.5-1.el6                                          @rhel-6-server-rpms
nss-softokn-freebl.i686                                  3.12.9-11.el6                                      @rhel-6-server-rpms
Just for my understanding, why do you add all the external resources in your installation via yum, why not deliver a full tested package with all needed libraries preconfigurated within the package, ready to install on a standard RHEL Installation?
Independend what the base System has installed or not?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Upgrade to 3.3 ?

Post by mguthrie »

The challenge we're looking at with your scenario is that you've got quite a few 32bit architecture packages installed on your 64 bit system, which isn't bad necessarily, except that it conflicts with some of the x64 packages that yum it attempting to install. There are quite a few more repos that have been added to your installation than the base platform used with our installation scripts. Also, upon initial installation, our installer cleans the system of all x86 packages and *then installs the prereqs to remove those conflicts. As you might imagine, we can't do that on an upgrade in case additional packages have been installed for other purposes.

It appears that the two packages that the upgrade is choking on are the 32bit packages listed below:

Code: Select all

Error: Protected multilib versions: rrdtool-1.3.8-6.el6.i686 != rrdtool-1.4.7-1.el6.rfx.x86_64
Error: Protected multilib versions: libxml2-2.7.6-4.el6_2.4.i686 != libxml2-2.7.6-5.el6.rfx.x86_64
You could see if you can remove those packages and the install the 64bit versions, then re-run the installer.

The reason for the use of yum instead of prepackaged installation is the problem of the platform. We tried doing a prepackaged offline installer and found that is was an absolute disaster and completely unsupportable because there were too many unknowns in the installation platform, and we were having to recreate too much of what yum already does, and yum does it much better. Besides, having all prereqs included in the tarball wouldn't solve the issue of package conflicts, and creates new problems with package updates. Also, the prereqs list is over 50 packages, which is almost impossible to maintain manually for both 32 abd 64 bit architecture and keep conflicts resolved for each version of RHEL and CentOS. That's the short answer at least : )
User avatar
sikainfo
Posts: 105
Joined: Thu Mar 29, 2012 3:26 am

Re: Upgrade to 3.3 ?

Post by sikainfo »

Thank for the reply, and explanation.
Back to my problem:
As i understand the message:

Code: Select all

Error: Protected multilib versions: rrdtool-1.3.8-6.el6.i686 != rrdtool-1.4.7-1.el6.rfx.x86_64
Error: Protected multilib versions: libxml2-2.7.6-4.el6_2.4.i686 != libxml2-2.7.6-5.el6.rfx.x86_64
The *.i686 packages are the 32bit versions right?
when i try to remove, I get following answer from yum:

Code: Select all

yum remove rrdtool-1.3.8-6.el6.i686
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security,
              : subscription-manager
Updating certificate-based repositories.
Setting up Remove Process
No Match for argument: rrdtool-1.3.8-6.el6.i686
rhel-6-server-cf-tools-1-rpms                            | 2.8 kB     00:00
rhel-6-server-optional-rpms                              | 3.5 kB     00:00
rhel-6-server-rpms                                       | 3.7 kB     00:00
rhel-6-server-supplementary                              | 3.5 kB     00:00
rhel-6-server-supplementary-src                          | 2.6 kB     00:00
Package(s) rrdtool-1.3.8-6.el6.i686 available, but not installed.
No Packages marked for removal
if I try to remove the othere package I get this:

Code: Select all

yum remove rrdtool-1.4.7-1.el6.rfx.x86_64
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security,
              : subscription-manager
Updating certificate-based repositories.
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package rrdtool.x86_64 0:1.4.7-1.el6.rfx will be erased
--> Processing Dependency: librrd.so.4()(64bit) for package: python-rrdtool-1.4.7-1.el6.rfx.x86_64
--> Processing Dependency: librrd.so.4()(64bit) for package: perl-rrdtool-1.4.7-1.el6.rfx.x86_64
--> Processing Dependency: rrdtool for package: cacti-0.8.8a-1.el6.rf.noarch
--> Processing Dependency: rrdtool = 1.4.7 for package: perl-rrdtool-1.4.7-1.el6.rfx.x86_64
--> Processing Dependency: rrdtool = 1.4.7 for package: python-rrdtool-1.4.7-1.el6.rfx.x86_64
--> Processing Dependency: rrdtool for package: nagiosxi-deps-2011r3.1-1.noarch
--> Running transaction check
---> Package cacti.noarch 0:0.8.8a-1.el6.rf will be erased
---> Package nagiosxi-deps.noarch 0:2011r3.1-1 will be erased
---> Package perl-rrdtool.x86_64 0:1.4.7-1.el6.rfx will be erased
---> Package python-rrdtool.x86_64 0:1.4.7-1.el6.rfx will be erased
--> Finished Dependency Resolution
rhel-6-server-cf-tools-1-rpms                            | 2.8 kB     00:00
rhel-6-server-optional-rpms                              | 3.5 kB     00:00
rhel-6-server-rpms                                       | 3.7 kB     00:00
rhel-6-server-supplementary                              | 3.5 kB     00:00
rhel-6-server-supplementary-src                          | 2.6 kB     00:00

Dependencies Resolved

================================================================================
 Package        Arch   Version          Repository                         Size
================================================================================
Removing:
 rrdtool        x86_64 1.4.7-1.el6.rfx  @rpmforge-extras                  2.3 M
Removing for dependencies:
 cacti          noarch 0.8.8a-1.el6.rf  @rpmforge                         5.4 M
 nagiosxi-deps  noarch 2011r3.1-1       @/nagiosxi-deps-2011r3.1-1.noarch 0.0
 perl-rrdtool   x86_64 1.4.7-1.el6.rfx  @rpmforge-extras                  118 k
 python-rrdtool x86_64 1.4.7-1.el6.rfx  @rpmforge-extras                   69 k

Transaction Summary
================================================================================
Remove        5 Package(s)

Installed size: 7.9 M
Is this ok [y/N]:
My interpretation is that the upgrade script tries to install 32bit packages but i have already installed the 64bit version.
At least yum tells me that .....

Regards Andy
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade to 3.3 ?

Post by scottwilkerson »

Can you try running the following alone

Code: Select all

yum install expat
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked