Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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:// /mnt/Mirror/ubuntu_mirror

but it shows an error:

rsync: getaddrinfo: 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 ? – mulaz Oct 25 '12 at 16:22
I'm thinking that the error listing combines the lines from before and after you fixed the dns issue, and only the latter is now valid? The command you are using works for me. Can you add '-vvvv' to the rsync options to get some more info on where it is failing? Also can you test your network connectivity with nmap -p rsync – mc0e Dec 25 '15 at 1:35

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 ( 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
What's this about a proxy? (If you are trying to connect via a proxy, that's important info that needs to be in your question). – mc0e Dec 25 '15 at 1:36

Your Answer


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.