Are you behind a proxy?
E-mail: per@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@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 if
you
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@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@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@helen ~]$ cat /etc/redhat-release CentOS release 5.3 (Final) ---------------------------------
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@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@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.