error while upgrading from 5.2.7 to 5.2.9

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

error while upgrading from 5.2.7 to 5.2.9

Post by Frédéric GRANAT »

Hi,
I've got an error at the beginning fo the upgrade from 5.2.7 to 5.2.9.
Please find attached the attached the install.log

Rgds,

Frederic
You do not have the required permissions to view the files attached to this post.
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: error while upgrading from 5.2.7 to 5.2.9

Post by bwallace »

Usually those errors are proxy related, at least that's the first thing to consider. Do you use a proxy server at your location?
Is yum setup to use a proxy? -- check in
/etc/yum.repos.d/epel.repo

If applicable, try configuring your proxy in the "/etc/yum.conf" and "/etc/wgetrc" as described in the KB article below:
https://support.nagios.com/kb/article.php?id=147
Be sure to check out the Knowledgebase for helpful articles and solutions!
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Re: error while upgrading from 5.2.7 to 5.2.9

Post by Frédéric GRANAT »

Hi,

Do you use a proxy server at your location
Is yum setup to use a proxy?
=> How can I check that ?

If applicable, try configuring your proxy in the "/etc/yum.conf" and "/etc/wgetrc" as described in the KB article below:
=> Done but I still have the problem.
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: error while upgrading from 5.2.7 to 5.2.9

Post by bwallace »

Thanks - could you post the output of:
yum repolist
Be sure to check out the Knowledgebase for helpful articles and solutions!
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Re: error while upgrading from 5.2.7 to 5.2.9

Post by Frédéric GRANAT »

Hi,

Code: Select all

[root@nagiosxi nagiosxi]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://apt.sw.be/redhat/el5/en/mirrors-rpmforge error was
[Errno 14] HTTP Error 404: Not Found
 * base: mirror1.evolution-host.com
 * epel: mirror.ibcp.fr
 * extras: mirror1.evolution-host.com
 * remi: rpms.remirepo.net
 * updates: mirrors.atosworldline.com
http://apt.sw.be/redhat/el5/en/i386/dag/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
repo id                                                                         repo name                                                                                                         status
base                                                                            CentOS-5 - Base                                                                                                   2,791
dag                                                                             Dag RPM Repository for Red Hat Enterprise Linux                                                                       0
epel                                                                            Extra Packages for Enterprise Linux 5 - i386                                                                          0
extras                                                                          CentOS-5 - Extras                                                                                                     0
nagios-base                                                                     Nagios                                                                                                                0
nagiosxi-deps                                                                   Nagios XI Dependencies                                                                                                0
remi                                                                            Les RPM de remi pour Enterprise Linux 5 - i386                                                                        0
rpmforge                                                                        RHEL 5 - RPMforge.net - dag                                                                                           0
updates                                                                         CentOS-5 - Updates                                                                                                    0
repolist: 2,791
[root@nagiosxi nagiosxi]#
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: error while upgrading from 5.2.7 to 5.2.9

Post by tgriep »

First, run this as root to clean the cache.

Code: Select all

yum clean all
Then edit the /etc/yum.repos.d/rpmforge.repo and change the following from

Code: Select all

mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
to

Code: Select all

#mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
Save the file and try the upgrade again.
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: error while upgrading from 5.2.7 to 5.2.9

Post by Frédéric GRANAT »

Hi,
Done, It doesn't work

Code: Select all

[rpmforge]
name = RHEL $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/redhat/el5/en/$basearch/rpmforge
#mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge

Frederic
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: error while upgrading from 5.2.7 to 5.2.9

Post by rkennedy »

What is the new error you're receiving?

It should be since we aren't connecting online to download at this point.
Former Nagios Employee
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Re: error while upgrading from 5.2.7 to 5.2.9

Post by Frédéric GRANAT »

Hi,
Same error than the one displayed in the original post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: error while upgrading from 5.2.7 to 5.2.9

Post by rkennedy »

Looks like that mirror has been taken down. You'll want to update the mirror list by modifying your /etc/yum.repos.d/rpmforge.repo file.

Change the Repo baseurl to http://mirror.nl.leaseweb.net/dag/redha ... 6/rpmforge

Then, try once again.

The issue could be Cent5 / 32-bit, but we'll see what happens.
Former Nagios Employee
Locked