Errno 12] Timeout: <urlopen error timed out>

[Errno 12] Timeout: <urlopen error timed out>


[ Log in to get rid of this advertisement]
Hi! To All GURUS,

I already do (yum clean all) and even copied files from other server to my /var/cache/yum/* and still error in finding mirror site. I dont see any problem on my internet access since opening mirror on firefox is not a problem. Kindly HELP;

[root@clnode1 addons]# uname -a
Linux clnode1 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 12:03:43 EST 2008 i686 i686 i386 GNU/Linux

[root@clnode1 addons]# yum update
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* base: mirror.centos.org
* updates: mirror.centos.org
* addons: mirror.centos.org
* extras: mirror.centos.org
http://mirror.centos.org/centos/5/os...ta/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again

Thanks,
Ram
Hi!
You could try;
Code:
yum clean all && yum clean metadata && yum clean dbcache && yum makecache && yum update
or
Code:
rm -f /var/lib/rpm/__db* && rpmdb -vv --rebuilddb
Will you post the output of your /etc/yum.repos.d/.
========================================
Try the following

service named restart
yum repolist
yum clean all
yum update

If that doesn't fix it

nano -w /etc/yum.conf

Add the following:

timeout=300

If that doesn't work, do the following:

rm -f /var/lib/rpm/__db* && rpmdb -vv --rebuilddb

转载于:https://www.cnblogs.com/SophiaTang/archive/2012/01/28/2330622.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值