Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: shawnbishop 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..
-
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.
-
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 !
-
Mary...Mary..Mary... :-)
I use the forums as an absolute last resort, of course I tried a "yum clean all"... :?
-
shawnbishop
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 ?
-
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 ~]#
-
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>
-
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.
-
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"
-
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?
-
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:
-
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 ?
-
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?
-
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..
-
did you already tried this (http://wiki.contribs.org/SME_Server:Documentation:FAQ#General)?
anyway, I would setup a centos test machine and try to update..
-
Thanks Stefano, looks promising..I will try..
-
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
This is a very different error, likely due to a different reason. You previously reported a timeout.
This error (404) indicates a mismatch between the repository metadata and the files actually contained in the repository. The timeout represents a network layer problem, either a repository outage, or a stalled connection due to PMTU discovery problems.
Google for 'ICMP PMTU discovery' to learn about PMTU discovery problems (which will cause short tcp connections to work OK, but larger ones to stall).
-
(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.
That seems to indicate that you are hitting mirrors that are not in sync. Perhaps CentOS is having mirror issues? You could check here: http://mirror-status.centos.org/
-
I had the same problem, also tried different ISPs, it turned out that it was a DNS error. I manually changed my DNS to google's DNS ( 8.8.8.8 ) and the update worked.
-
I had the same problem, also tried different ISPs, it turned out that it was a DNS error. I manually changed my DNS to google's DNS ( 8.8.8.8 ) and the update worked.
So you did configure a DNS server for SME Server? Is that really required? SME Server is perfectly capable of resolving addresses itself without the need of a external DNS server.
-
I am really stumped, I have SME at multiple clients, all different ISP's..
and I get the following.. I am stumped, I actually tried reinstalling a machine..
(28/29): postgresql-libs- 100% |=========================| 150 kB 00:00
http://mirror.centos.org/centos/4/updates/i386/RPMS/postgresql-libs-7.4.30-1.el4_8.2.i386.rpm: [Errno -1] Package does not match checksum
Trying other mirror.
(29/29): glibc-common-2.3 100% |=========================| 16 MB 00:40
http://mirror.centos.org/centos/4/updates/i386/RPMS/glibc-common-2.3.4-2.54.i386.rpm: [Errno -1] Package does not match checksum
Trying other mirror.
Error Downloading Packages:
php-pear - 4.3.9-3.31.i386: failure: RPMS/php-pear-4.3.9-3.31.i386.rpm from updates: [Errno 256] No more mirrors to try.
ntp - 4.2.0.a.20040617-12.el4.i386: failure: RPMS/ntp-4.2.0.a.20040617-12.el4.i386.rpm from updates: [Errno 256] No more mirrors to try.
net-snmp - 5.1.2-20.el4.i386: failure: RPMS/net-snmp-5.1.2-20.el4.i386.rpm from updates: [Errno 256] No more mirrors to try.
samba-client - 3.0.33-0.30.el4.i386: failure: RPMS/samba-client-3.0.33-0.30.el4.i386.rpm from updates: [Errno 256] No more mirrors to try.
libuser - 0.52.5-1.1.el4_8.1.i386: failure: RPMS/libuser-0.52.5-1.1.el4_8.1.i386.rpm from updates: [Errno 256] No more mirrors to try.
openldap - 2.2.13-12.el4_8.4.i386: failure: RPMS/openldap-2.2.13-12.el4_8.4.i386.rpm from updates: [Errno 256] No more mirrors to try.
net-snmp-libs - 5.1.2-20.el4.i386: failure: RPMS/net-snmp-libs-5.1.2-20.el4.i386.rpm from updates: [Errno 256] No more mirrors to try.
rpm-build - 4.3.3-33_nonptl.el4_8.1.i386: failure: RPMS/rpm-build-4.3.3-33_nonptl.el4_8.1.i386.rpm from updates: [Errno 256] No more mirrors to try.
glibc - 2.3.4-2.54.i686: failure: RPMS/glibc-2.3.4-2.54.i686.rpm from updates: [Errno 256] No more mirrors to try.
glibc-common - 2.3.4-2.54.i386: failure: RPMS/glibc-common-2.3.4-2.54.i386.rpm from updates: [Errno 256] No more mirrors to try.
coreutils - 5.2.1-37.el4.i386: failure: RPMS/coreutils-5.2.1-37.el4.i386.rpm from updates: [Errno 256] No more mirrors to try.
krb5-libs - 1.3.4-62.el4_8.3.i386: failure: RPMS/krb5-libs-1.3.4-62.el4_8.3.i386.rpm from updates: [Errno 256] No more mirrors to try.
gnupg - 1.2.6-9.el4_8.1.i386: failure: RPMS/gnupg-1.2.6-9.el4_8.1.i386.rpm from updates: [Errno 256] No more mirrors to try.
python - 2.3.4-14.10.el4.i386: failure: RPMS/python-2.3.4-14.10.el4.i386.rpm from updates: [Errno 256] No more mirrors to try.
freetype - 2.1.9-17.el4_8.1.i386: failure: RPMS/freetype-2.1.9-17.el4_8.1.i386.rpm from updates: [Errno 256] No more mirrors to try.
rpm-libs - 4.3.3-33_nonptl.el4_8.1.i386: failure: RPMS/rpm-libs-4.3.3-33_nonptl.el4_8.1.i386.rpm from updates: [Errno 256] No more mirrors to try.
tcsh - 6.13-10.el4_8.1.i386: failure: RPMS/tcsh-6.13-10.el4_8.1.i386.rpm from updates: [Errno 256] No more mirrors to try.
postgresql-libs - 7.4.30-1.el4_8.2.i386: failure: RPMS/postgresql-libs-7.4.30-1.el4_8.2.i386.rpm from updates: [Errno 256] No more mirrors to try.
lvm2 - 2.02.42-9.el4.i386: failure: RPMS/lvm2-2.02.42-9.el4.i386.rpm from updates: [Errno 256] No more mirrors to try.
xorg-x11-xfs - 6.8.2-1.EL.68.i386: failure: RPMS/xorg-x11-xfs-6.8.2-1.EL.68.i386.rpm from updates: [Errno 256] No more mirrors to try.
mysql - 4.1.22-2.el4_8.4.i386: failure: RPMS/mysql-4.1.22-2.el4_8.4.i386.rpm from updates: [Errno 256] No more mirrors to try.
device-mapper - 1.02.28-3.el4.i386: failure: RPMS/device-mapper-1.02.28-3.el4.i386.rpm from updates: [Errno 256] No more mirrors to try.
samba-common - 3.0.33-0.30.el4.i386: failure: RPMS/samba-common-3.0.33-0.30.el4.i386.rpm from updates: [Errno 256] No more mirrors to try.
php - 4.3.9-3.31.i386: failure: RPMS/php-4.3.9-3.31.i386.rpm from updates: [Errno 256] No more mirrors to try.
bash - 3.0-27.el4.i386: failure: RPMS/bash-3.0-27.el4.i386.rpm from updates: [Errno 256] No more mirrors to try.
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.
tzdata - 2011g-1.el4.noarch: failure: RPMS/tzdata-2011g-1.el4.noarch.rpm from updates: [Errno 256] No more mirrors to try.
xorg-x11-libs - 6.8.2-1.EL.68.i386: failure: RPMS/xorg-x11-libs-6.8.2-1.EL.68.i386.rpm from updates: [Errno 256] No more mirrors to try.
libxml2 - 2.6.16-12.8.i386: failure: RPMS/libxml2-2.6.16-12.8.i386.rpm from updates: [Errno 256] No more mirrors to try.
[root@sbs-srv ~]#
-
did you setup a centos test machine and tried to update?
did you follow Charlie's advice?
IMHO there's something wrong in wan connection from your country (SA IIRC) to centos' mirrors..
-
Good day Stefano
I think you may be right..I have an old Centos 4 box that has the same problems..
-
So you did configure a DNS server for SME Server? Is that really required? SME Server is perfectly capable of resolving addresses itself without the need of a external DNS server.
The automatically obtained DNS server did not resolve mirrors.centos.org to the correct IP address. maybe it changed and the DNS server still needed to update. By using 8.8.8.8 as DNS server it resolved correctly and I was able to update.