Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to setup a Rsyncmirror on my mount drive /mnt/Mirror/ubuntu_mirror, so I am trying the command:

rsync -a --bwlimit=128 rsync://archive.ubuntu.com/ubuntu /mnt/Mirror/ubuntu_mirror

but it shows an error:

rsync: getaddrinfo: archive.ubuntu.com 873: Name or service not known
rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.9]
share|improve this question
    
can you ping archive.ubuntu.com ? –  mulaz Oct 25 '12 at 16:22

1 Answer 1

This problem is caused by the wrong DNS server.

If the device is use static ip, make sure you set the right "Domain name server".

If the device is use dynamic ip, make sure the device get the right "Domain name server".

Edit: check /etc/resolv.conf

share|improve this answer
    
I add my proxy ip on /etc/resolv.conf and tryed with above command but now I am facing a new problem rsync: failed to connect to archive.ubuntu.com (91.189.92.177): Connection refused (111) rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.9] can anyone suggest me ?? Thank U.. –  Chandan Oct 30 '12 at 8:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.