Upgrade from 2011R3.3 to 2012R1.0 failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
srrhd
Posts: 131
Joined: Thu May 19, 2011 6:15 am

Upgrade from 2011R3.3 to 2012R1.0 failed

Post by srrhd »

Hi,

While trying to upgrade our VM from 2011R3.3 to 2012R1.0, the installation script script failed because of MySQL conflict. Below is the installation's prompt:
[root@nagiosxi]# ./upgrade
OLD VERSION: 218
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: fr2.rpmfind.net
* epel: fr2.rpmfind.net
* extras: fr2.rpmfind.net
* rpmforge: fr2.rpmfind.net
* updates: fr2.rpmfind.net
Setting up Install Process
Package bc-1.06-21.i386 already installed and latest version
Package matching dstat-0.6.6-5.el5.noarch already installed. Checking for update.
Package expat-devel-1.95.8-11.el5_8.i386 already installed and latest version
Package mailx-8.1.1-44.2.2.i386 already installed and latest version
Package 1:mod_ssl-2.2.3-65.el5.centos.i386 already installed and latest version
Package numpy-1.2.1-2.el5.i386 already installed and latest version
Package openldap-2.3.43-25.el5_8.1.i386 already installed and latest version
Package openldap-devel-2.3.43-25.el5_8.1.i386 already installed and latest version
Package perl-Net-DNS-0.59-3.el5.i386 already installed and latest version
Package python-lxml-2.0.11-1.el5.i386 already installed and latest version
Package python-simplejson-2.0.9-8.el5.i386 already installed and latest version
Package rpmdevtools-6.8-1.el5.noarch already installed and latest version
Package rrdtool-python is obsoleted by python-rrdtool, trying to install python-rrdtool-1.4.7-1.el5.rf.i386 instead
Package python-rrdtool-1.4.7-1.el5.rf.i386 already installed and latest version
Package 3:traceroute-2.0.1-6.el5.i386 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package perl-DBD-MySQL.i386 0:3.0007-2.el5 set to be updated
---> Package perl-Mail-IMAPClient.noarch 0:3.32-1.el5 set to be updated
--> Processing Dependency: perl(Parse::RecDescent) for package: perl-Mail-IMAPClient
---> Package pymssql.i386 0:1.0.2-2.el5 set to be updated
---> Package sudo.i386 0:1.7.2p1-14.el5_8.4 set to be updated
--> Running transaction check
---> Package perl-Parse-RecDescent.noarch 0:1.965.1-2.el5.rf set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================================================================
Installing:
perl-DBD-MySQL i386 3.0007-2.el5 base 148 k
perl-Mail-IMAPClient noarch 3.32-1.el5 epel 233 k
pymssql i386 1.0.2-2.el5 epel 45 k
Updating:
sudo i386 1.7.2p1-14.el5_8.4 updates 353 k
Installing for dependencies:
perl-Parse-RecDescent noarch 1.965.1-2.el5.rf rpmforge 145 k

Transaction Summary
======================================================================================================================================================================================
Install 4 Package(s)
Upgrade 1 Package(s)

Total size: 924 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
file /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Bundle/DBD/mysql.pm from install of perl-DBD-MySQL-3.0007-2.el5.i386 conflicts with file from package perl-DBD-mysql-4.014-1.el5.rf.i386
file /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/DBD/mysql.pm from install of perl-DBD-MySQL-3.0007-2.el5.i386 conflicts with file from package perl-DBD-mysql-4.014-1.el5.rf.i386
file /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/DBD/mysql/GetInfo.pm from install of perl-DBD-MySQL-3.0007-2.el5.i386 conflicts with file from package perl-DBD-mysql-4.014-1.el5.rf.i386
file /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/DBD/mysql/INSTALL.pod from install of perl-DBD-MySQL-3.0007-2.el5.i386 conflicts with file from package perl-DBD-mysql-4.014-1.el5.rf.i386
file /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/DBD/mysql/mysql.so from install of perl-DBD-MySQL-3.0007-2.el5.i386 conflicts with file from package perl-DBD-mysql-4.014-1.el5.rf.i386
file /usr/share/man/man3/Bundle::DBD::mysql.3pm.gz from install of perl-DBD-MySQL-3.0007-2.el5.i386 conflicts with file from package perl-DBD-mysql-4.014-1.el5.rf.i386
file /usr/share/man/man3/DBD::mysql.3pm.gz from install of perl-DBD-MySQL-3.0007-2.el5.i386 conflicts with file from package perl-DBD-mysql-4.014-1.el5.rf.i386
file /usr/share/man/man3/DBD::mysql::INSTALL.3pm.gz from install of perl-DBD-MySQL-3.0007-2.el5.i386 conflicts with file from package perl-DBD-mysql-4.014-1.el5.rf.i386

Error Summary
-------------
The VM was installed from the VMWare Virtual Machine Image from the NagiosXI Main Download Page and i didn't remember to have upgrade anything except NagiosXI.

Any Ideas ?
Configuration:
Nagios XI 2014R2.5
manually upgraded on 64bits CentOS 6
with nothing extra, no gnome, no proxy, no SSL
Add-ons: Hypermap, Minemap, Ping Action, Traceroute Action, Network Replay, graph Explorer, Latest Alert
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Upgrade from 2011R3.3 to 2012R1.0 failed

Post by scottwilkerson »

We have seen this on a couple times and it can be resolved by removing perl-DBD-MySQL from the install-2012-prereqs file or just replacing that file by unzipping the one I have attached to this post.
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
srrhd
Posts: 131
Joined: Thu May 19, 2011 6:15 am

Re: Upgrade from 2011R3.3 to 2012R1.0 failed

Post by srrhd »

Removing the prereqs worked perfectly, installation succeeded. Any problems appears with mysql, all hosts and services seems to work...

I need to go deeper this new version but for what i have seen: Great Job guys !!
Configuration:
Nagios XI 2014R2.5
manually upgraded on 64bits CentOS 6
with nothing extra, no gnome, no proxy, no SSL
Add-ons: Hypermap, Minemap, Ping Action, Traceroute Action, Network Replay, graph Explorer, Latest Alert