Timothy Murphy
2009-Jul-17 12:14 UTC
[CentOS] Network guru please help: baffled by missing file
The mirrorlist entry in my Fedora-11 /etc/yum.repos.d/fedora-update.repo reads: mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released- f$releasever&arch=$basearch As far as I can see, this means that yum is looking for the file metalink at mirrors.fedoraproject.org ? If I try "sudo yum update" I get: ----------------------------------- [tim at elizabeth ~]$ sudo yum update Loaded plugins: aliases, allowdowngrade, auto-update-debuginfo, basearchonly, changelog, downloadonly, fastestmirror, filter- : data, keys, list-data, merge-conf, post-transaction-actions, presto, priorities, protect-packages, : protectbase, refresh-packagekit, refresh-updatesd, remove- with-leaves, rpm-warm-cache, security, show-leaves, : tsflags, upgrade-helper, verify, versionlock Loading mirror speeds from cached hostfile Error: Cannot retrieve metalink for repository: updates. Please verify its path and try again ----------------------------------- Adding --noplugins does not help: ----------------------------------- [tim at elizabeth ~]$ sudo yum --noplugins update Error: Cannot retrieve repository metadata (repomd.xml) for repository: updates. Please verify its path and try again ----------------------------------- Trying to get the file with wget: ----------------------------------- [tim at elizabeth ~]$ wget https://mirrors.fedoraproject.org/metalink --2009-07-17 13:04:41-- https://mirrors.fedoraproject.org/metalink Resolving mirrors.fedoraproject.org... 209.132.176.122 Connecting to mirrors.fedoraproject.org|209.132.176.122|:443... connected. ERROR: certificate common name `fedoraproject.org' doesn't match requested host name `mirrors.fedoraproject.org'. To connect to mirrors.fedoraproject.org insecurely, use `--no-check- certificate'. Unable to establish SSL connection. ----------------------------------- Adding --no-check-certificate does not seem to help: ----------------------------------- [tim at elizabeth ~]$ wget --no-check-certificate https://mirrors.fedoraproject.org/metalink --2009-07-17 13:06:22-- https://mirrors.fedoraproject.org/metalink Resolving mirrors.fedoraproject.org... 209.132.176.122 Connecting to mirrors.fedoraproject.org|209.132.176.122|:443... connected. WARNING: certificate common name `fedoraproject.org' doesn't match requested host name `mirrors.fedoraproject.org'. HTTP request sent, awaiting response... 404 Not Found 2009-07-17 13:06:23 ERROR 404: Not Found. ----------------------------------- When I look at the http traffic on my server with wireshark the file-request seems to be properly sent, but the file is not found. The symptoms seem to me (no http expert) to suggest that there is some condition for seeing this file that my system is not fulfilling. Any and all suggestions gratefully received. -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College Dublin
Stephen Harris
2009-Jul-17 13:08 UTC
[CentOS] Network guru please help: baffled by missing file
On Fri, Jul 17, 2009 at 01:14:26PM +0100, Timothy Murphy wrote:> The mirrorlist entry in my Fedora-11 /etc/yum.repos.d/fedora-update.repo[...]> Any and all suggestions gratefully received.This is a list for CentOS, not Fedora. You'll get better help if you post to the right lists :-) -- rgds Stephen
Per Qvindesland
2009-Jul-17 14:15 UTC
[CentOS] Network guru please help: baffled by missing file
Are you behind a proxy? E-mail: per at norhex.com [1] http://www.linkedin.com/in/perqvindesland [2] --- Original message follows --- SUBJECT:?Re: [CentOS] Network guru please help: baffled by missing file FROM: ?Timothy Murphy TO:?"centos at centos.org" DATE:?17-07-2009 15:48 Stephen Harris wrote:> On Fri, Jul 17, 2009 at 01:14:26PM +0100, Timothy Murphy wrote: >> The mirrorlist entry in my Fedora-11/etc/yum.repos.d/fedora-update.repo> > [...] > >> Any and all suggestions gratefully received. > > This is a list for CentOS, not Fedora. You'll get better help ifyou> post to the right lists :-)Sorry, I should have said that my server is running Centos-5.3. If there is a problem on my system, it is at the server. I ran wget on the server, and got the same result. I also get the same result for EPEL: --------------------------------- [tim at helen ~]$ sudo yum update Loaded plugins: downloadonly, fastestmirror, priorities, protect-packages, protectbase Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=x86_64 error was [Errno 14] HTTP Error 404: Not Found Error: Cannot find a valid baseurl for repo: epel --------------------------------- using the mirrorlist line in /etc/yum.repos.d/epel.repo : mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearchkk Also wget fails similarly: --------------------------------- [tim at helen ~]$ wget http://mirrors.fedoraproject.org/mirrorlist --14:43:39-- http://mirrors.fedoraproject.org/mirrorlist Resolving mirrors.fedoraproject.org... 209.132.176.122 Connecting to mirrors.fedoraproject.org|209.132.176.122|:80... connected. HTTP request sent, awaiting response... 404 Not Found 14:43:39 ERROR 404: Not Found. --------------------------------- This machine is running x86_64 CentOS: --------------------------------- [tim at helen ~]$ cat /etc/redhat-release CentOS release 5.3 (Final) --------------------------------- -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College Dublin _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos Links: ------ [1] http://webmail.norhex.com/# [2] http://www.linkedin.com/in/perqvindesland -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090717/fda514fc/attachment-0003.html>
Timothy Murphy
2009-Jul-17 15:11 UTC
[CentOS] Network guru please help: baffled by missing file
Per Qvindesland wrote:> Are you behind a proxy?I don't think so. My server is connected to an ADSL modem which links it to my ISP. I don't know if the modem (Cayman 3341) could be acting as a proxy server? I'm running shorewall on the server, but I get the same response when I turn it off. As I said, it seems to me that mirrors.fedoraproject.org for some reason does not like my system. I can connect to this site, and download files from it, eg index.html, static/css/fedora.css, etc. It is just the files mirrorlist and metalink which I cannot see. I never get this problem in any other context, as far as I know.> If there is a problem on my system, it is at the server. > I ran wget on the server, and got the same result. > I also get the same result for EPEL: > --------------------------------- > [tim at helen ~]$ sudo yum update > Loaded plugins: downloadonly, fastestmirror, priorities, > protect-packages, > protectbase > Loading mirror speeds from cached hostfile > Could not retrieve mirrorlist > http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=x86_64 > error > was > [Errno 14] HTTP Error 404: Not Found > Error: Cannot find a valid baseurl for repo: epel > --------------------------------- > using the mirrorlist line in /etc/yum.repos.d/epel.repo : >mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearchkk> > Also wget fails similarly: > --------------------------------- > [tim at helen ~]$ wget http://mirrors.fedoraproject.org/mirrorlist > --14:43:39-- http://mirrors.fedoraproject.org/mirrorlist > Resolving mirrors.fedoraproject.org... 209.132.176.122 > Connecting to mirrors.fedoraproject.org|209.132.176.122|:80... > connected. > HTTP request sent, awaiting response... 404 Not Found > 14:43:39 ERROR 404: Not Found. > ----------------------------------- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College Dublin
Filipe Brandenburger
2009-Jul-17 15:34 UTC
[CentOS] Network guru please help: baffled by missing file
Hi, On Fri, Jul 17, 2009 at 08:14, Timothy Murphy<gayleard at eircom.net> wrote:> mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released- > f$releasever&arch=$basearch > > [tim at elizabeth ~]$ wget https://mirrors.fedoraproject.org/metalink > ERROR: certificate common name `fedoraproject.org' doesn't match requested > host name `mirrors.fedoraproject.org'.Does it work if you use http:// instead of https:// with the same URL? HTH, Filipe
Filipe Brandenburger
2009-Jul-17 17:01 UTC
[CentOS] Network guru please help: baffled by missing file
Hi, It's a problem with the mirror you are using (209.132.176.122), it seems to be bogus or out of sync: On Fri, Jul 17, 2009 at 08:14, Timothy Murphy<gayleard at eircom.net> wrote:> [tim at elizabeth ~]$ wget --no-check-certificate > https://mirrors.fedoraproject.org/metalink > --2009-07-17 13:06:22-- ?https://mirrors.fedoraproject.org/metalink > Resolving mirrors.fedoraproject.org... 209.132.176.122 > Connecting to mirrors.fedoraproject.org|209.132.176.122|:443... connected. > WARNING: certificate common name `fedoraproject.org' doesn't match requested > host name `mirrors.fedoraproject.org'. > HTTP request sent, awaiting response... 404 Not Found > 2009-07-17 13:06:23 ERROR 404: Not Found.I am getting mirror 209.132.176.120 (and some others), which seems to be working OK:> $ wget https://mirrors.fedoraproject.org/metalink > --12:54:34-- https://mirrors.fedoraproject.org/metalink > Resolving mirrors.fedoraproject.org... 209.132.176.120, 152.46.7.222, 66.35.62.166, ... > Connecting to mirrors.fedoraproject.org|209.132.176.120|:443... connected. > HTTP request sent, awaiting response... 200 OK > Length: 53 [text/plain] > Saving to: `metalink' > > 100%[=======================================>] 53 --.-K/s in 0s > > 12:54:35 (1.41 MB/s) - `metalink' saved [53/53]I see you also tried to access the IP directly (wget http://66.35.62.166/mirrorlist) but that does not work probably because the server uses virtual hosts and the default virtual host is probably not the one you want. It's possible to work around that by using --header 'Host: mirrors.fedoraproject.org' in the wget command line. For example, the same host I used above:> $ wget --header 'Host: mirrors.fedoraproject.org' http://209.132.176.120/metalink > --12:56:07-- http://209.132.176.120/metalink > Connecting to 209.132.176.120:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: 53 [text/plain] > Saving to: `metalink' > > 100%[=======================================>] 53 --.-K/s in 0s > > 12:56:08 (3.94 MB/s) - `metalink' saved [53/53]And the one you are using:> $ wget --header 'Host: mirrors.fedoraproject.org' http://209.132.176.122/metalink > --12:56:12-- http://209.132.176.122/metalink > Connecting to 209.132.176.122:80... connected. > HTTP request sent, awaiting response... 404 Not Found > 12:56:12 ERROR 404: Not Found.To work around this issue, I suggest you add a line with "209.132.176.122 mirrors.fedoraproject.org" to your /etc/hosts, and also contact the Fedora project to inform them that this specific mirror is bad... You might also try to flush your DNS cache to see if you get a new IP for that domain. HTH, Filipe
Robert Spangler
2009-Jul-17 21:07 UTC
[CentOS] Network guru please help: baffled by missing file
On Friday 17 July 2009 08:14, Timothy Murphy wrote:> The mirrorlist entry in my Fedora-11 /etc/yum.repos.d/fedora-update.repo > reads: > > mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released >- f$releasever&arch=$basearch > > As far as I can see, this means that yum is looking for > the file metalink at mirrors.fedoraproject.org ? > > If I try "sudo yum update" I get:Why would you want to link to Fedora's Repo's? So you can have an unstalbe Centos box? -- Regards Robert Linux User #296285 http://counter.li.org