全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 2165|回复: 11
打印 上一主题 下一主题

[疑问] 3小时了 没有 给力的。。。。

[复制链接]
跳转到指定楼层
1#
发表于 2011-1-19 19:09:36 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
刚刚 配置iptabels 默认 都 关了 只留了一个 ssh 用 端口
问题是 yum 命令 不好使了 报错 。是不知 Yum也是用 端口 ?
我的意思 它是 ftp 吗?  端口是21 吗?
我将 21 端口 防火墙 打开 就 ok 了吧 ?
停止中 请前辈 速速 帮助解答

[ 本帖最后由 yugongtian 于 2011-1-19 21:10 编辑 ]
2#
发表于 2011-1-19 19:11:31 | 只看该作者
yum什么错?
3#
 楼主| 发表于 2011-1-19 19:12:11 | 只看该作者
[root@chansion ~]# yum update httpd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: anorien.csc.warwick.ac.uk
* updates: centos.bio.lmu.de
* addons: anorien.csc.warwick.ac.uk
* extras: anorien.csc.warwick.ac.uk
http://anorien.csc.warwick.ac.uk ... epodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://ftp.heanet.ie/pub/centos/5.3/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://mirror.as29550.net/mirror ... epodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://mirror.bytemark.co.uk/cen ... epodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://mirror.sov.uk.goscomb.net ... epodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://mirror.ukhost4u.com/cento ... epodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://mirrors.dedipower.com/cen ... epodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://mirrors.nl.kernel.org/cen ... epodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://mirrors.ukfast.co.uk/site ... epodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://www.mirrorservice.org/sit ... epodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
4#
 楼主| 发表于 2011-1-19 19:12:33 | 只看该作者
难道是 80  端口吗 ?
5#
 楼主| 发表于 2011-1-19 19:17:08 | 只看该作者
   没动静了
6#
发表于 2011-1-19 19:23:19 | 只看该作者
出去的都允许,进来的要限制。出去的dns解析不一定走53端口
7#
发表于 2011-1-19 19:29:59 | 只看该作者
学习一下
8#
 楼主| 发表于 2011-1-19 19:35:43 | 只看该作者
原帖由 PPS 于 2011-1-19 19:23 发表
出去的都允许,进来的要限制。出去的dns解析不一定走53端口


我的理解是 我的 dns 端口53 关闭了 造成的 yum 升级错误么?
9#
发表于 2011-1-19 19:44:18 | 只看该作者
nslookup 163.com看看是不是不能解析
10#
 楼主| 发表于 2011-1-19 21:06:07 | 只看该作者
nslookup 163.com
Server:         4.2.2.1
Address:        4.2.2.1#53

Non-authoritative answer:
Name:   163.com
Address: 220.181.8.211
Name:   163.com
Address: 220.181.8.212
Name:   163.com
Address: 220.181.8.213
Name:   163.com
Address: 220.181.8.90
Name:   163.com
Address: 220.181.8.188
Name:   163.com
Address: 220.181.8.201

错误依旧
http://mirrors.ukfast.co.uk/site ... epodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.bytemark.co.uk/cen ... epodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirrors.dedipower.com/cen ... epodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.ukhost4u.com/cento ... epodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://anorien.csc.warwick.ac.uk ... epodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.sov.uk.goscomb.net ... epodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.heanet.ie/pub/centos/5.3/os/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://www.mirrorservice.org/sit ... epodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirrors.nl.kernel.org/cen ... epodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.as29550.net/mirror ... epodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-9-27 02:20 , Processed in 0.073457 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表