CentOS [Errno 14] PYCURL ERROR 6 - ""
2015-04-27 17:13
253 查看
使用CentOS 6的过程中遇到的些问题,有些其实与版本无关,是系统管理方面的问题,比如今天这个。
yum update 时,出现了大量的 [Errno 14] PYCURL ERROR 6 - "" 错误。
其实这是因为系统 nameserver没有配置好,或者说 DNS解析上有问题,修改 /etc/resolv.conf
resolv.conf
原来的配置为
# Generated by NetworkManager
search 202.96.209.6
nameserver 202.96.209.6
似乎 202.96.209.6 这个DNS服务器已经不能正常工作了,换一个。修改后的配置
# Generated by NetworkManager
#search 202.96.209.133
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 202.96.209.6
使用 google 的公开DNS服务器(尽管google的ip不断被国内屏蔽,这也是没办法的事)
在用yum update,基本上都正常了
感谢:http://blog.163.com/szu_2011/blog/static/196602077201191212557617/
yum update 时,出现了大量的 [Errno 14] PYCURL ERROR 6 - "" 错误。
其实这是因为系统 nameserver没有配置好,或者说 DNS解析上有问题,修改 /etc/resolv.conf
resolv.conf
原来的配置为
# Generated by NetworkManager
search 202.96.209.6
nameserver 202.96.209.6
似乎 202.96.209.6 这个DNS服务器已经不能正常工作了,换一个。修改后的配置
# Generated by NetworkManager
#search 202.96.209.133
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 202.96.209.6
使用 google 的公开DNS服务器(尽管google的ip不断被国内屏蔽,这也是没办法的事)
在用yum update,基本上都正常了
感谢:http://blog.163.com/szu_2011/blog/static/196602077201191212557617/
相关文章推荐
- centos 6 尝鲜纪实 - [Errno 14] PYCURL ERROR 6 - ""
- CentOS [Errno 14] PYCURL ERROR 6 错误如何解决
- https://packages.elastic.co/elasticsearch/2.3/centos/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22
- yum安装失败[Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.aliyun.com'"
- 解决 [Errno 14] PYCURL ERROR 6
- yum安装时出现错误:[Errno 14] PYCURL ERROR 22
- 通过本地yum源安装软件报错[Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
- [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
- 通过本地yum源安装软件报错[Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
- 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"错误解决
- yum报错[Errno 14] PYCURL ERROR 22(更换yum源)
- yum报错[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
- 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
- yum broken [Errno 14] PYCURL ERROR 7
- error was 14:pycurl error 6 - "couldn't resolve host 'mirrorlist.centos.org'"
- CentOS使用yum install出现PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
- centos安装pycurl出现src/module.c:723: error: ‘CURLPROTO_*’ undeclared错误的解决办法
- CentOS 7.0 yum install 错误http://vault.centos.org/centos/7/os/Source/repodata/repomd.xml: [Errno 14]
- CentOS配置yum出现error 14
- Centos GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL