全球主机交流论坛
标题:
3小时了 没有 给力的。。。。
[打印本页]
作者:
yugongtian
时间:
2011-1-19 19:09
标题:
3小时了 没有 给力的。。。。
刚刚 配置iptabels 默认 都 关了 只留了一个 ssh 用 端口
问题是 yum 命令 不好使了 报错 。是不知 Yum也是用 端口 ?
我的意思 它是 ftp 吗? 端口是21 吗?
我将 21 端口 防火墙 打开 就 ok 了吧 ?
停止中 请前辈 速速 帮助解答
[
本帖最后由 yugongtian 于 2011-1-19 21:10 编辑
]
作者:
cnx
时间:
2011-1-19 19:11
yum什么错?
作者:
yugongtian
时间:
2011-1-19 19:12
[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
作者:
yugongtian
时间:
2011-1-19 19:12
难道是 80 端口吗 ?
作者:
yugongtian
时间:
2011-1-19 19:17
没动静了
作者:
PPS
时间:
2011-1-19 19:23
出去的都允许,进来的要限制。出去的dns解析不一定走53端口
作者:
大鲨鱼
时间:
2011-1-19 19:29
学习一下
作者:
yugongtian
时间:
2011-1-19 19:35
原帖由
PPS
于 2011-1-19 19:23 发表
出去的都允许,进来的要限制。出去的dns解析不一定走53端口
我的理解是 我的 dns 端口53 关闭了 造成的 yum 升级错误么?
作者:
PPS
时间:
2011-1-19 19:44
nslookup 163.com看看是不是不能解析
作者:
yugongtian
时间:
2011-1-19 21:06
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
作者:
yugongtian
时间:
2011-1-19 21:07
付 上 iptables
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:52885
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:21
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
Chain FORWARD (policy DROP)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
作者:
yugongtian
时间:
2011-1-19 21:10
欢迎光临 全球主机交流论坛 (https://443502.xyz/)
Powered by Discuz! X3.4