0

I am attempting to install lftp on centos I use the command;

yum install lftp

this is the error i am getting:

Could not retrieve mirrorlist    http://s2plmirror01.prod.sdl2.secureserver.net/vph/2/download/mirrors/cos-5.i386 error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
5
  • Paste in the results of cat /etc/resolv.conf
    – Wesley
    Apr 10, 2012 at 2:24
  • nameserver 208.109.188.1 nameserver 208.109.188.2
    – arrowill12
    Apr 10, 2012 at 2:25
  • Are you using a proxy server for HTTP traffic?
    – Wesley
    Apr 10, 2012 at 2:27
  • At a terminal, type host s2plmirror01.prod.sdl2.secureserver.net
    – Wesley
    Apr 10, 2012 at 2:28
  • connection timed out no server could be reached .... I just used yum the other day not sure why it is doing this
    – arrowill12
    Apr 10, 2012 at 2:30

2 Answers 2

2

There is a problem with your DNS servers. 208.109.188.1 and 208.109.188.2 are GoDaddy default DNS servers. At the moment, it appears that 208.109.188.1 is not responding properly. I recommend changing your resolv.conf file to use another DNS provider. Perhaps OpenDNS: 208.67.220.220 and 208.67.222.222

EDIT 1

Try temporarily disabling iptables to test if it's a firewall rule:

/etc/init.d/iptables save
/etc/init.d/iptables stop

Test it and then restart the firewall:

/etc/init.d/iptables start

Edit 2

It was an iptables rule causing traffic blockage.

9
  • this time it gave me this: * atomic: www2.atomicorp.com * rpmforge: apt.sw.be then the same error as before
    – arrowill12
    Apr 10, 2012 at 2:48
  • could this have to do my my repos
    – arrowill12
    Apr 10, 2012 at 2:48
  • @user1272737 Try yum clean all
    – Wesley
    Apr 10, 2012 at 2:55
  • same error now with this after: Error: Cannot find a valid baseurl for repo: addons
    – arrowill12
    Apr 10, 2012 at 3:07
  • @user1272737 Can you ping any internet address by its name? ping google.com or ping bing.com? What about ip addresses like ping 8.8.8.8 or ping 208.67.222.222? How about wget http://newark1.linode.com/100MB-newark.bin (just a 100mb file to test connection speed with)
    – Wesley
    Apr 10, 2012 at 3:20
1

Check your DNS server/configuration to see if it can resolve the hostname s2plmirror01.prod.sdl2.secureserver.net.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .