(py)curl Error 7
Hi,
Disabled ipv6 (using sysctl, disabled ip6tables, no reboot, no proxy present) and still get the message as below.
CentOS 6.3 (i know its old)
Kernel : 2.6.32-279.14.1.el6.x86_64 (I know its old)
Standard /etc/yum.conf (no changes)
Standard repos (CentOS base), enabled
Cleaned cache: yum metadata (didn’t work)
Then: yum clean all (didn’t work)
Then yum makecache (didn’t work)
Yum repolist Could not retrieve mirrorlist http://mirrorlist.CentOS.org/?release=6&arch=x86_64&repo=os error was
14: PYCURL ERROR 7 – “Failed to connect to 2a02:2498:1:3d:5054:ff:fed3:e91a: Network is unreachable”
Ping on mirrorlist.CentOS.org is OK
Curl mirrrorlist.CentOS.org NOT_OK
Message started to occur suddenly, I didn’t even update any package. Any suggestions ?
5 thoughts on - (py)curl Error 7
Hi, from man yum.conf:
ip_resolve Determines how yum resolves host names.
`4′ or `IPv4′: resolve to IPv4 addresses only.
`6′ or `IPv6′: resolve to IPv6 addresses only.
Tried that :D
yum is still trying to connect via ipv6
(ip_resolve=4 in config file)
—–Original Message—
Added:
“OPTIONS=-4 -named” to /etc/sysconfig/named, disabled ipv6 per interface, created /etc/modprobe.d/ipv6_disable.conf file with alias net-pf-10 off alias ipv6 off options ipv6 disable=1
but still getting the same error message. Maybe it just needs a reboot (which im trying to avoid)
—–Original Message—
restarted named.
U were right :D
Tryning not to reboot, when unloading I get the message that the modules is in use. I think that forcing the unload is too dangerouse, read that it might resolve in kernel panic.
—–Original Message—
Our network admin blocked ports (don’t know why – i asked him 2 weeks before I started to troubleshoot the system). Everything is fine now, thanks for help.
—–Original Message—