Page 1 of 2

error while upgrading from 5.2.7 to 5.2.9

Posted: Tue Sep 27, 2016 10:37 am
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

Re: error while upgrading from 5.2.7 to 5.2.9

Posted: Tue Sep 27, 2016 10:49 am
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

Re: error while upgrading from 5.2.7 to 5.2.9

Posted: Wed Sep 28, 2016 2:47 am
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.

Re: error while upgrading from 5.2.7 to 5.2.9

Posted: Wed Sep 28, 2016 9:37 am
by bwallace
Thanks - could you post the output of:
yum repolist

Re: error while upgrading from 5.2.7 to 5.2.9

Posted: Thu Sep 29, 2016 1:39 am
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]#

Re: error while upgrading from 5.2.7 to 5.2.9

Posted: Thu Sep 29, 2016 9:13 am
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.

Re: error while upgrading from 5.2.7 to 5.2.9

Posted: Thu Sep 29, 2016 10:14 am
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

Re: error while upgrading from 5.2.7 to 5.2.9

Posted: Thu Sep 29, 2016 11:49 am
by rkennedy
What is the new error you're receiving?

It should be since we aren't connecting online to download at this point.

Re: error while upgrading from 5.2.7 to 5.2.9

Posted: Fri Sep 30, 2016 1:43 am
by Frédéric GRANAT
Hi,
Same error than the one displayed in the original post.

Re: error while upgrading from 5.2.7 to 5.2.9

Posted: Fri Sep 30, 2016 10:01 am
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.