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 ___________________________________________________ ??????? ? ???????????????? http://messenger.yahoo.com.tw/
On Mon, 2009-08-10 at 03:59 +0800, 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: basetry a yum clean all then a yum upgrade -- LostSon http://lostsonsvault.org centOS its not just for servers... -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20090809/b5255c06/attachment-0003.sig>
Thanks. for answer. I tried: yum clean all yum update It still same problem. --- 09/8/9 (?)?lostson <lostson at lostsonsvault.org> ???> ???: lostson <lostson at lostsonsvault.org> > ??: Re: [CentOS] can NOT update CENTOS use YUM > ???: centos at centos.org > ??: 2009?8?9?,?,??4:04 > > On Mon, 2009-08-10 at 03:59 +0800, 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 > > try a > > yum clean all > > then a > > yum upgrade > > > -- > LostSon > > http://lostsonsvault.org > > centOS its not just for servers... > > -----????????----- > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >___________________________________________________ ??????? ? ???????????????? http://messenger.yahoo.com.tw/
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