Koozali.org: home of the SME Server

Yum update failing the whole weekend..

Offline shawnbishop

  • *****
  • 298
  • +0/-0
Yum update failing the whole weekend..
« on: May 23, 2011, 07:33:43 AM »
Good Day

Did a new installation of 7.5.1 on Firday night, and I have been trying to updates and install software the whole weekend, and the server goes live today..I keep gettting the following errors

http://mirror.centos.org/centos/4/updates/i386/RPMS/postgresql-libs-7.4.30-1.el4_8.2.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: failure: RPMS/postgresql-libs-7.4.30-1.el4_8.2.i386.rpm from updates: [Errno 256] No more mirrors to try.

Really frustrating..

Offline shawnbishop

  • *****
  • 298
  • +0/-0
Re: Yum update failing the whole weekend..
« Reply #1 on: May 23, 2011, 07:42:49 AM »
Also getting the following

Setting up repositories
base                      100% |=========================| 1.1 kB    00:00     
updates                   100% |=========================|  951 B    00:00     
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 320 kB    00:01     
http://mirror.centos.org/centos/4/os/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from base: [Errno 256] No more mirrors to try.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Yum update failing the whole weekend..
« Reply #2 on: May 24, 2011, 02:24:04 AM »
shawnbishop

PLEASE READ THE FAQ, and the Wiki Howto article re Installing software. Both have detailed info re fixing yum issues eg

yum clean all

PS You have been around these forums long enough to know you should check published resources first !
« Last Edit: May 24, 2011, 02:26:46 AM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline shawnbishop

  • *****
  • 298
  • +0/-0
Re: Yum update failing the whole weekend..
« Reply #3 on: May 24, 2011, 09:12:14 AM »
Mary...Mary..Mary... :-)

I use the forums as an absolute last resort, of course I tried a "yum clean all"... :?


Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Yum update failing the whole weekend..
« Reply #4 on: May 24, 2011, 12:42:09 PM »
shawnbishop

Quote
I use the forums as an absolute last resort, of course I tried a "yum clean all"... :?

Well you did not tell us, so how are we supposed to know what you have "tried".

What else did you try that you have not told us about, please give the whole story rather than us having to ask.
It will of course save us from suggesting things you have already tried.

Did you follow all the other instructions in the wiki, if so what ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline shawnbishop

  • *****
  • 298
  • +0/-0
Re: Yum update failing the whole weekend..
« Reply #5 on: May 24, 2011, 05:28:00 PM »
Good Day Mary

1 . I have tried "yum clean all"
2. I have tried another internet connection from a different ISP

and I still get this

[root@sbs-srv ~]# yum clean all
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Loading "protect-packages" plugin
Loading "smeserver" plugin
Cleaning up Everything
148 headers removed
127 packages removed
18 metadata files removed
0 cache files removed
6 cache files removed
[root@sbs-srv ~]# yum update                       
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Loading "protect-packages" plugin
Loading "smeserver" plugin
Setting up Update Process
Setting up repositories
smeaddons                 100% |=========================| 1.9 kB    00:00     
smeextras                 100% |=========================| 1.9 kB    00:00     
http://mirror.centos.org/centos/4/os/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
Cannot open/read repomd.xml file for repository: base
failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
[root@sbs-srv ~]#

Offline shawnbishop

  • *****
  • 298
  • +0/-0
Re: Yum update failing the whole weekend..
« Reply #6 on: May 25, 2011, 06:41:27 AM »
I have had a look at the repodata for the site

As you can see the "base " entry is missing, this must be a centos problem??

<repomd><data type="other"><location href="repodata/other.xml.gz"/><checksum type="sha">53cb779c2e5d8a8df29919618b546da734280316</checksum><timestamp>1249383368</timestamp><open-checksum type="sha">19d8da79e27e0218fe17b52d29dd5fd39dd42356</open-checksum></data><data type="filelists"><location href="repodata/filelists.xml.gz"/><checksum type="sha">d65f1d8cae7bf105c3754249e2d81286592e448a</checksum><timestamp>1249383368</timestamp><open-checksum type="sha">ba24bd2b466e09c90f238edf07d1d6ee960c48fa</open-checksum></data><data type="primary"><location href="repodata/primary.xml.gz"/><checksum type="sha">6562f5c1ed2deb19c7a0e1ded95f4d4583af1940</checksum><timestamp>1249383368</timestamp><open-checksum type="sha">f36abf3c6cb3ac0171534ff965c6cf1de4348ba0</open-checksum></data><data type="group"><location href="repodata/yumgroups.xml"/><checksum type="sha">5923e370cb0955d12e0fbd6af48d338be9d0e6eb</checksum><timestamp>1248024048</timestamp></data></repomd>

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Yum update failing the whole weekend..
« Reply #7 on: May 25, 2011, 07:29:29 AM »
As you can see the "base " entry is missing, this must be a centos problem??
Why should there be a base item in there?

http://mirror.centos.org/centos/4/os/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
Cannot open/read repomd.xml file for repository: base
failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
The error seems to indicate that the url to the mirror can not be opened and that no repomd.xml file can be found for the repository that is called 'base'. The name 'base' is local to your system only.

At the moment I can perfectly access http://mirror.centos.org/centos/4/os/i386/repodata/repomd.xml (from the Netherlands). If you are still having issues it might be somewhere to your location, country or local network setup IMHO.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline shawnbishop

  • *****
  • 298
  • +0/-0
Re: Yum update failing the whole weekend..
« Reply #8 on: May 25, 2011, 07:48:24 AM »
Correct..

if you open

http://mirror.centos.org/centos/4/os/i386/repodata/repomd.xml , that is the repomd.xml file, you will see there is no entry for "base"

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Yum update failing the whole weekend..
« Reply #9 on: May 25, 2011, 02:42:49 PM »
http://mirror.centos.org/centos/4/os/i386/repodata/repomd.xml , that is the repomd.xml file, you will see there is no entry for "base"
I know, that is normal, there should not be any references to base. As I already said the base name is a identification only locally known on your SME Server. There should be no references in the repomod.xml file to base.

You are chasing the wrong tails IMHO. You should investigate why you are unable to access the mirror. Did you already check the internet connection? Is the problem still present?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline shawnbishop

  • *****
  • 298
  • +0/-0
Re: Yum update failing the whole weekend..
« Reply #10 on: May 25, 2011, 02:53:58 PM »
Great thanks for your help, and detailed explanation.

The problem is still persisting..The server is running as a proxy and 20 users , go through it to browse the web with no problems..


[root@sbs-srv ~]# date
Wed May 25 14:52:27 SAST 2011
[root@sbs-srv ~]# yum update
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Loading "protect-packages" plugin
Loading "smeserver" plugin
Setting up Update Process
Setting up repositories
http://mirror.centos.org/centos/4/os/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
Cannot open/read repomd.xml file for repository: base
failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
[root@sbs-srv ~]#
 :mad:

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Yum update failing the whole weekend..
« Reply #11 on: May 25, 2011, 03:54:43 PM »
shawnbishop

Is this server "behind" another SME server (that is acting as gateway).
I seem to recall there is/maybe a problem with yum in that sort of situation where the gateway server has Dansguardian installed.
What is your network configuration ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Yum update failing the whole weekend..
« Reply #12 on: May 25, 2011, 03:55:00 PM »
Setting up repositories
http://mirror.centos.org/centos/4/os/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>

This most likely is a problem with your router, or with some other firewall between your server and mirror.centos.org.

Read some of these references:

http://www.google.ca/search?q=icmp+PMTU+discovery

How is your server connected to the Internet?

Offline shawnbishop

  • *****
  • 298
  • +0/-0
Re: Yum update failing the whole weekend..
« Reply #13 on: May 26, 2011, 09:33:17 AM »
Good Day

Something really weird is happening , maybe it is South Africa..??

I tried to do an "yum update" on another SMESERVER, different client, different ISP, and both these servers are connected directly to the internet as Proxy/Gateways, and I get the same errors??

Remove       0 Package(s)         
Total download size: 129 M
Downloading Packages:
(1/5): xorg-x11-Mesa-libG 100% |=========================| 390 kB    00:02     
http://mirror.centos.org/centos/4/updates/i386/RPMS/xorg-x11-Mesa-libGL-6.8.2-1.EL.68.i386.rpm: [Errno -1] Package does not match checksum
Trying other mirror.
(2/5): glibc-2.3.4-2.54.i 100% |=========================| 6.0 MB    01:48     
(3/5): xorg-x11-libs-6.8. 100% |=========================| 2.7 MB    00:00     
(4/5): util-linux-2.12a-2 100% |=========================| 1.5 MB    00:18     
(5/5): samba-3.0.33-0.30. 100% |=========================| 3.3 MB    01:37     
http://mirror.centos.org/centos/4/updates/i386/RPMS/samba-3.0.33-0.30.el4.i386.rpm: [Errno 4] Socket Error: timed out
Trying other mirror.


Error Downloading Packages:
  samba - 3.0.33-0.30.el4.i386: failure: RPMS/samba-3.0.33-0.30.el4.i386.rpm from updates: [Errno 256] No more mirrors to try.
  xorg-x11-Mesa-libGL - 6.8.2-1.EL.68.i386: failure: RPMS/xorg-x11-Mesa-libGL-6.8.2-1.EL.68.i386.rpm from updates: [Errno 256] No more mirrors to try.
[root@mail ~]#

This is very strange, so two different sites, different ISP, nothing in common except the SMESERVER..


Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Yum update failing the whole weekend..
« Reply #14 on: May 26, 2011, 09:43:05 AM »
did you already tried this?

anyway, I would setup a centos test machine and try to update..