Page 1 of 3

Upgrade to latest version from Nagios XI 2014R2.0 fails

Posted: Fri Mar 25, 2016 9:30 am
by Frédéric GRANAT
Hi,
I tried to upgrade from Nagios XI 2014R2.0 to latest version using https://assets.nagios.com/downloads/nag ... nstall.pdf
It doesn't work.
Please find the result of "./upgrade > upgrade.log" attached.

Rgds,

Frederic

Re: Upgrade to latest version from Nagios XI 2014R2.0 fails

Posted: Fri Mar 25, 2016 10:30 am
by hsmith
What OS are you on? What's the output of 'yum repolist' ?

Re: Upgrade to latest version from Nagios XI 2014R2.0 fails

Posted: Fri Mar 25, 2016 11:04 am
by Frédéric GRANAT
Hi,
Here it is :

Code: Select all

[root@nagiosxi ~]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.rezopole.net
 * epel: mirrors.ircam.fr
 * extras: mirrors.ircam.fr
 * remi: remi.schlundtech.de
 * rpmforge: mir01.syntis.net
 * updates: centos.crazyfrogs.org
repo id          repo name                                                status
base             CentOS-5 - Base                                           2,791
dag              Dag RPM Repository for Red Hat Enterprise Linux          11,610
epel             Extra Packages for Enterprise Linux 5 - i386              5,427
extras           CentOS-5 - Extras                                           272
remi             Les RPM de remi pour Enterprise Linux 5 - i386            2,091
rpmforge         RHEL 5 - RPMforge.net - dag                              11,610
updates          CentOS-5 - Updates                                          569
repolist: 34,370
[root@nagiosxi ~]#

Re: Upgrade to latest version from Nagios XI 2014R2.0 fails

Posted: Fri Mar 25, 2016 12:33 pm
by tgriep
Try running this to install the conflicting package, disabling the rpmforge and dag repos to see if will install.

Code: Select all

yum install --disablerepo=rpmforge,dag -y 'perl(Test::Simple)'
If it does install, try the upgrade again to see if it works.

Re: Upgrade to latest version from Nagios XI 2014R2.0 fails

Posted: Tue Mar 29, 2016 1:45 am
by Frédéric GRANAT
Hi,
It seems it's already installed

Code: Select all

[root@nagiosxi ~]# yum install --disablerepo=rpmforge,dag -y 'perl(Test::Simple)'
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: miroir.univ-paris13.fr
 * epel: mirrors.ircam.fr
 * extras: miroir.univ-paris13.fr
 * remi: remi.schlundtech.de
 * updates: centos.mirror.fr.planethoster.net
Setting up Install Process
Package 4:perl-5.8.8-43.el5_11.i386 already installed and latest version
Nothing to do
The install stil doesn't work

Rgds,

Re: Upgrade to latest version from Nagios XI 2014R2.0 fails

Posted: Tue Mar 29, 2016 4:50 am
by Frédéric GRANAT
Hi,
One post per day...that will take a long time to solve my problem. (I'm located in France and Nagios support in USA).
The last time I had to perform an upgrade it took one month to solve the problem, by using the support forum.

Is it possible to plan a remote session on my server in order you solve my problem ?

Rgds,

Frederic

Re: Upgrade to latest version from Nagios XI 2014R2.0 fails

Posted: Tue Mar 29, 2016 2:56 pm
by tgriep
The strange part is we are trying to install perl(Test::Simple) but the system thinks we are installing just perl. It looks like the yum cache may need to be cleaned.
Run this and see if you can get the perl(Test::Simple) to install.

Code: Select all

yum clean all
yum install --disablerepo=rpmforge,dag -y 'perl(Test::Simple)'
If it still fails, run the following and post the output.

Code: Select all

yum provides 'perl(Test::Simple)'

Re: Upgrade to latest version from Nagios XI 2014R2.0 fails

Posted: Wed Mar 30, 2016 1:25 am
by Frédéric GRANAT
Hi,
I Applied the changes.
It failed one more time with the same error message.

Code: Select all


[root@nagiosxi nagiosxi]# yum provides 'perl(Test::Simple)'
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.ircam.fr
 * epel: mirrors.ircam.fr
 * extras: miroir.univ-paris13.fr
 * remi: remi.schlundtech.de
 * rpmforge: mir01.syntis.net
 * updates: centos.mirror.fr.planethoster.net
perl-Test-Simple-0.94-1.el5.rf.noarch : Basic utilities for writing tests
Repo        : rpmforge
Matched from:
Other       : perl(Test::Simple)



perl-Test-Simple-0.74-1.el5.rf.noarch : Basic utilities for writing tests
Repo        : rpmforge
Matched from:
Other       : perl(Test::Simple)



perl-Test-Simple-0.80-1.el5.rf.noarch : Basic utilities for writing tests
Repo        : rpmforge
Matched from:
Other       : perl(Test::Simple)



perl-Test-Simple-0.88-1.el5.rf.noarch : Basic utilities for writing tests
Repo        : rpmforge
Matched from:
Other       : perl(Test::Simple)



perl-Test-Simple-0.72-1.el5.rf.noarch : Simplified testing framework
Repo        : rpmforge
Matched from:
Other       : perl(Test::Simple)



perl-Test-Simple-0.92-1.el5.rf.noarch : Basic utilities for writing tests
Repo        : rpmforge
Matched from:
Other       : perl(Test::Simple)



perl-Test-Simple-0.96-1.el5.rf.noarch : Basic utilities for writing tests
Repo        : rpmforge
Matched from:
Other       : perl(Test::Simple)



perl-Test-Simple-0.98-1.el5.rf.noarch : Basic utilities for writing tests
Repo        : rpmforge
Matched from:
Other       : perl(Test::Simple)



perl-Test-Simple-0.78-1.el5.rf.noarch : Basic utilities for writing tests
Repo        : rpmforge
Matched from:
Other       : perl(Test::Simple)



perl-Test-Simple-0.75-1.el5.rf.noarch : Basic utilities for writing tests
Repo        : rpmforge
Matched from:
Other       : perl(Test::Simple)



perl-Test-Simple-0.94-1.el5.rf.noarch : Basic utilities for writing tests
Repo        : dag
Matched from:
Other       : perl(Test::Simple)



perl-Test-Simple-0.74-1.el5.rf.noarch : Basic utilities for writing tests
Repo        : dag
Matched from:
Other       : perl(Test::Simple)



perl-Test-Simple-0.80-1.el5.rf.noarch : Basic utilities for writing tests
Repo        : dag
Matched from:
Other       : perl(Test::Simple)



perl-Test-Simple-0.88-1.el5.rf.noarch : Basic utilities for writing tests
Repo        : dag
Matched from:
Other       : perl(Test::Simple)



perl-Test-Simple-0.72-1.el5.rf.noarch : Simplified testing framework
Repo        : dag
Matched from:
Other       : perl(Test::Simple)



perl-Test-Simple-0.92-1.el5.rf.noarch : Basic utilities for writing tests
Repo        : dag
Matched from:
Other       : perl(Test::Simple)



perl-Test-Simple-0.96-1.el5.rf.noarch : Basic utilities for writing tests
Repo        : dag
Matched from:
Other       : perl(Test::Simple)



perl-Test-Simple-0.98-1.el5.rf.noarch : Basic utilities for writing tests
Repo        : dag
Matched from:
Other       : perl(Test::Simple)



perl-Test-Simple-0.78-1.el5.rf.noarch : Basic utilities for writing tests
Repo        : dag
Matched from:
Other       : perl(Test::Simple)



perl-Test-Simple-0.75-1.el5.rf.noarch : Basic utilities for writing tests
Repo        : dag
Matched from:
Other       : perl(Test::Simple)



4:perl-5.8.8-42.el5.i386 : The Perl programming language
Repo        : base
Matched from:
Other       : perl(Test::Simple)



4:perl-5.8.8-43.el5_11.i386 : The Perl programming language
Repo        : updates
Matched from:
Other       : perl(Test::Simple)



4:perl-5.8.8-43.el5_11.i386 : The Perl programming language
Repo        : installed
Matched from:
Other       : Provides-match: perl(Test::Simple)


Re: Upgrade to latest version from Nagios XI 2014R2.0 fails

Posted: Wed Mar 30, 2016 11:54 am
by tgriep
There has to be a conflict with the Dag repo, can you disable it and see if the upgrade runs?
If you do disable it, run the "yum clean all" before running the upgrade.

Re: Upgrade to latest version from Nagios XI 2014R2.0 fails

Posted: Thu Mar 31, 2016 1:43 am
by Frédéric GRANAT
Hi,
As I said : "yum clean all" before upgrade doesnt' solve my problem.

Rgds,

Frederic