[CentOS] can NOT update CENTOS use YUM

Les Mikesell lesmikesell at gmail.com
Sun Aug 9 21:33:11 UTC 2009

mcclnx mcc wrote:
> We have CENTOS 5.1 on DELL server.  This server is OUTSIDE Firewall.  I tried to update it to latest release and get error.
> any ideal?
> =========================================
> # yum update
> Loading "fastestmirror" plugin
> Loading mirror speeds from cached hostfile
> Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=os error was
> [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
> Error: Cannot find a valid baseurl for repo: base

'Connection refused' sounds like a firewall problem to me.  I have no problem
accessing that URL.  Try it in a browser from a different location and you
should get back a list of URLs.  Can you access other internet locations from
this server?  Once you have the connections working you might want to read
http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.3 if you haven't already.  I
don't know if the advice to update glibc\*, etc. is a requirement starting from
5.1 or not, but I'd do it that way anyway.

  Les Mikesell
   lesmikesell at gmail.com

More information about the CentOS mailing list