LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   yum shows strange messages (https://www.linuxquestions.org/questions/linux-newbie-8/yum-shows-strange-messages-4175472295/)

windstory 08-06-2013 04:16 AM

yum shows strange messages
 
My box is centos 5.4 x86, and yum shows strange messages.

Quote:

[root@terauser /]# yum -y install xwmconfig
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* extras: centos.chlux.co.kr
* rpmforge: apt.sw.be
* updates: centos.chlux.co.kr
http://centos.arcticnetwork.ca/5/os/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://centos.chlux.co.kr/5.8/extras...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://centos.mirror.cdnetworks.com/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://centos.tt.co.kr/5.8/extras/i3...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://centos.ustc.edu.cn/centos/5.8...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://ftp.daum.net/centos/5.8/extra...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://ftp.iij.ad.jp/pub/linux/cento...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://ftp.jaist.ac.jp/pub/Linux/Cen...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://ftp.nara.wide.ad.jp/pub/Linux...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://ftp.nsysu.edu.tw/CentOS/5.8/e...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://ftp.riken.jp/Linux/centos/5.8...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://ftp.tc.edu.tw/Linux/CentOS/5....ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://ftp.tsukuba.wide.ad.jp/Linux/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirror.fairway.ne.jp/centos/5...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirror.neu.edu.cn/centos/5.8/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirrors.grandcloud.cn/centos/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirrors.stuhome.net/centos/5....ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirrors.ta139.com/centos/5.8/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirrors.tuna.tsinghua.edu.cn/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://rsync.atworks.co.jp/centos/5....ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://www.ftp.ne.jp/Linux/packages/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://apt.sw.be/redhat/el5/en/i386/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://archive.cs.uu.nl/mirror/dag.w...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://be.mirror.eurid.eu/rpmforge/r...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://fr2.rpmfind.net/linux/dag/red...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://ftp.fi.muni.cz/pub/linux/repo...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://ftp.heanet.ie/mirrors/ftp.fre...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://ftp.is.co.za/mirror/ftp.rpmfo...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://ftp.lug.ro/freshrpms/dag/redh...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://ftp.riken.jp/pub/Linux/dag/re...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://merlin.fit.vutbr.cz/mirrors/r...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mir01.syntis.net/repoforge/re...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirror-fpt-telecom.fpt.net/re...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirror.atrpms.net/repoforge/r...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirror.awanti.com/rpmforge/da...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirror.cpsc.ucalgary.ca/mirro...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirror.de.leaseweb.net/dag/re...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirror.fairway.ne.jp/dag/redh...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirror.hmc.edu/repoforge/redh...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirror.nl.leaseweb.net/dag/re...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirror.oscc.org.my/dag/redhat...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirror.rit.edu/dag/redhat/el5...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirror.teklinks.com/repoforge...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirror.us.leaseweb.net/dag/re...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirror1.hs-esslingen.de/repof...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://nl.mirror.eurid.eu/rpmforge/r...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://repoforge.eecs.wsu.edu/redhat...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://repoforge.spinellicreations.c...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://repository.vsb.cz/mirrors/rep...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://thammuz.tchpc.tcd.ie/mirrors/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://www.mirrorservice.org/sites/a...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://centos.chlux.co.kr/5.8/update...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://centos.mirror.cdnetworks.com/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://centos.tt.co.kr/5.8/updates/i...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://centos.ustc.edu.cn/centos/5.8...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://ftp.daum.net/centos/5.8/updat...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://ftp.iij.ad.jp/pub/linux/cento...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://ftp.jaist.ac.jp/pub/Linux/Cen...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://ftp.nara.wide.ad.jp/pub/Linux...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://ftp.riken.jp/Linux/centos/5.8...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://ftp.stu.edu.tw/Linux/CentOS/5...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://ftp.tc.edu.tw/Linux/CentOS/5....ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://ftp.tsukuba.wide.ad.jp/Linux/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirror.fairway.ne.jp/centos/5...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirror.neu.edu.cn/centos/5.8/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirrors.grandcloud.cn/centos/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirrors.stuhome.net/centos/5....ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirrors.ta139.com/centos/5.8/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://mirrors.tuna.tsinghua.edu.cn/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://rsync.atworks.co.jp/centos/5....ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
http://www.ftp.ne.jp/Linux/packages/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Trying other mirror.
Please let me know how to fix this problem.

Thanks in advance.

dt64 08-06-2013 04:29 AM

It looks like you machine can't resolve the URLs.
Can you access other websites by name? Try e.g.
Code:

ping www.google.com
try the following commands and post the output:
Code:

nslookup centos.arcticnetwork.ca
Code:

dig centos.arcticnetwork.ca

prayag_pjs 08-06-2013 07:52 AM

Please check if you can ping outside like :

Quote:

ping www.yahoo.com
If you are able to ping run the below command :

Quote:

yum clean all

windstory 08-06-2013 11:52 PM

I can download files but this "yum" has problem.

And the results are these.

Quote:

[root@terauser ~]# dig centos.arcticnetwork.ca

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> centos.arcticnetwork.ca
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38407
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 0

;; QUESTION SECTION:
;centos.arcticnetwork.ca. IN A

;; AUTHORITY SECTION:
. 3600000 IN NS I.ROOT-SERVERS.NET.
. 3600000 IN NS J.ROOT-SERVERS.NET.
. 3600000 IN NS K.ROOT-SERVERS.NET.
. 3600000 IN NS L.ROOT-SERVERS.NET.
. 3600000 IN NS M.ROOT-SERVERS.NET.
. 3600000 IN NS A.ROOT-SERVERS.NET.
. 3600000 IN NS B.ROOT-SERVERS.NET.
. 3600000 IN NS C.ROOT-SERVERS.NET.
. 3600000 IN NS D.ROOT-SERVERS.NET.
. 3600000 IN NS E.ROOT-SERVERS.NET.
. 3600000 IN NS F.ROOT-SERVERS.NET.
. 3600000 IN NS G.ROOT-SERVERS.NET.
. 3600000 IN NS H.ROOT-SERVERS.NET.

;; Query time: 22 msec
;; SERVER: 203.250.57.28#53(203.250.57.28)
;; WHEN: Wed Aug 7 13:48:49 2013
;; MSG SIZE rcvd: 252

[root@terauser ~]# yum clean all
Loaded plugins: fastestmirror
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@terauser ~]# yum -y upgrade
Loaded plugins: fastestmirror
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...86&repo=extras error was
[Errno 4] IOError: <urlopen error (-3, 'name resolution\xbf\xa1\xbc\xad \xc0\xcf\xbd\xc3\xc0\xfb\xc0\xce \xbd\xc7\xc6\xd0')>
Error: Cannot find a valid baseurl for repo: extras
[root@terauser ~]# ping www.yahoo.com
ping: unknown host www.yahoo.com
[root@terauser ~]# nslookup centos.arcticnetwork.ca
Server: 203.250.57.28
Address: 203.250.57.28#53

Non-authoritative answer:
*** Can't find centos.arcticnetwork.ca: No answer


dt64 08-07-2013 05:13 AM

Try
Code:

wget "http://mirrorlist.centos.org/?release=5&arch=i386&repo=extras"
Make sure you use the double high quotes (" ").
Then do a
Code:

cat "index.html?release=5&arch=i386&repo=extras"
This should give you
Code:

http://centos.mirror.linuxwerk.com/5.9/extras/i386/
http://mirror.ms5.eu/centos.org/5.9/extras/i386/
http://mirror2.hs-esslingen.de/centos/5.9/extras/i386/
http://wftp.tu-chemnitz.de/pub/linux/centos/5.9/extras/i386/
http://ftp.uni-bayreuth.de/linux/CentOS/5.9/extras/i386/
http://centos.psw.net/centos/5.9/extras/i386/
http://artfiles.org/centos.org/5.9/extras/i386/
http://mirror.softaculous.com/centos/5.9/extras/i386/
http://ftp.plusline.de/centos/5.9/extras/i386/
http://mirror.euserv.net/linux/centos/5.9/extras/i386/

In your /etc/yum.repos.d/Centos-Base.repo you should have the section
Code:

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

Try uncommenting the baseurl line and try again.

Edit:
Just spotted
Code:

[root@terauser ~]# ping www.yahoo.com
ping: unknown host www.yahoo.com

in your answer.
Why does this fail? Have you tried
Code:

nslookup www.yahoo.com
and what was the output?

Edit2:
What the DNS setup of your machine?
Code:

cat /etc/resolv.conf

prayag_pjs 08-07-2013 08:14 AM

There is dns issue.

1 .Please try adding below dns server to check(later on you can remove it)

Code:

vi /etc/resolv.conf
nameserver 8.8.8.8

2. After this check if you can ping :

Code:

ping yahoo.com
3.Also see iptables are off :

Code:

iptables -L

iptables -F

iptables -L


windstory 08-07-2013 08:32 PM

[QUOTE=prayag_pjs;5004821]There is dns issue.

1 & 2.

<- Yes, fixed and worked.


All times are GMT -5. The time now is 10:10 PM.