[CentOS] Network guru please help: baffled by missing file

Filipe Brandenburger

filbranden at gmail.com
Fri Jul 17 17:01:50 UTC 2009


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



More information about the CentOS mailing list