zoukankan      html  css  js  c++  java
  • 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
  • 相关阅读:
    expect
    grep
    Python函数
    Python的set
    Python字典
    Python循环
    Python条件判断
    Python列表
    Python字符串
    Python组织代码块的形式
  • 原文地址:https://www.cnblogs.com/SophiaTang/p/2330622.html
Copyright © 2011-2022 走看看