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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

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

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

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

Post by hsmith »

What OS are you on? What's the output of 'yum repolist' ?
Former Nagios Employee.
me.
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

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

Post 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 ~]#
Last edited by tmcdonald on Thu Mar 31, 2016 2:20 pm, edited 1 time in total.
Reason: Please use [code][/code] tags around long output
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

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

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

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

Post 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,
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

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

Post 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
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

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

Post 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)'
Be sure to check out our Knowledgebase for helpful articles and solutions!
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

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

Post 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)

User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

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

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

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

Post by Frédéric GRANAT »

Hi,
As I said : "yum clean all" before upgrade doesnt' solve my problem.

Rgds,

Frederic
Locked