2015년 4월 14일 화요일

Centos 6 / yum error PYCURL ERROR 7 with ipv6 address right after minimal installation


Version
CentOS 6.6 minimal install

Error
Loaded plugins: fastestmirror
Setting up Update Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
14: PYCURL ERROR 7 - "Failed to connect to 2a02:2498:1:3d:5054:ff:fed3:e91a: 네트워크가 접근 불가능합니다"
Error: Cannot find a valid baseurl for repo: base
Ref
https://www.centos.org/forums/viewtopic.php?t=4122 

Solved
It's because that gateway wasn't set 
I modified /etc/sysconfig/network-scripts/ifcfg-eth0
added "GATEWAY=(x.x.x.x)"
or it's also possible that modify /etc/sysconfig/network



댓글 없음:

댓글 쓰기