Could not retrieve mirrorlist...error was 12: Timeout on...
Hi,
I'm having this problem, i can't install any package with yum; i used a live CD of Centos 6.3 Following my system specifications: Code:
[root@asterisk01 ~]# cat /etc/issue Code:
[root@asterisk01 ~]# yum update Code:
[root@asterisk01 ~]# nslookup google.com Code:
[root@asterisk01 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 Code:
[root@asterisk01 ~]# cat /etc/sysconfig/network Code:
[root@asterisk01 ~]# cat /etc/sysctl.conf Code:
[root@asterisk01 ~]# cat /etc/yum.conf Code:
[root@asterisk01 ~]# cat /etc/yum.repos.d/CentOS-Base.repo |
The default repo file for centos base has baseurl commented out, it is the mirrors which should look for the repository and get you the packages. Can I ask you why have you remove the "#" comment from baseurl. Also do you have IPTABLES enabled on your system and Yum is allowed to communicate ?
|
Quote:
I've commented again the repos like this: Code:
[root@asterisk01 ~]# cat /etc/yum.repos.d/CentOS-Base.repo More ideas please? Thanks so much |
ok.. is that the same error you got ? if yes lets try some other thing, this time comment out the mirror list and uncomment the baseurl.
yum clean all #do not forget to do this every time you change the repo file. ping mirror.centos.org #just to check if the server in pinging via your network. yum update #try running the update |
Quote:
After chaging the file like the following: Code:
# CentOS-Base.repo Code:
yum clean all Code:
[root@opensips01 /]# yum clean all I can't ping mirror.centos.org: Code:
[root@opensips01 /]# ping mirror.centos.org Code:
[root@opensips01 /]# nslookup google.com Thanks |
hmmm.. dont know how to overcome this:
Can you share /etc/resolv.conf file, just to confirm it is checking your primary name server at the first place. Also try pinging some other domain www.yahoo.com. |
All times are GMT -5. The time now is 08:39 AM. |