LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Rsync not working between two Fedora machines. (http://www.linuxquestions.org/questions/linux-networking-3/rsync-not-working-between-two-fedora-machines-4175431946/)

Rupadhya 10-12-2012 09:25 PM

Rsync not working between two Fedora machines.
 
Hello,

I am trying to rsync to backup some directories from one machine to another. Here is what I tried.
Code:

raj@rajhome2 ~$ rsync -av source/* raj@192.168.1.1::source
I get
Code:

rsync: failed to connect to 192.168.1.1 (192.168.1.1): No route to host (113)
rsync error: error in socket IO (code 10) at clientserver.c(122) [sender=3.0.9]

When I ping 192.168.1.1, it is successful. I can rsync serverA to serverA and serverB to serverB but not serverA to serverB. I have checked the firewall and the services started and I think they are right.
ssh and scp between the two machines works.
Any ideas?
- Raj Upadhyaya

SecretCode 10-13-2012 05:16 AM

It would help a lot if you explained your network layout - at least whether the two machines are on different networks. Perhaps not since you're talking about private (192.168) addresses.

Is the rsync daemon running on the other machine? If not try adding option -e ssh to the rsync command.

Rupadhya 10-13-2012 09:36 AM

Quote:

It would help a lot if you explained your network layout
Both machines are obtaining their IP addresses from a Netopia router. The MachineA is 192.168.1.1 and MachineB is 192.168.1.104. They are each pingable from the bash shell.

Quote:

Is the rsync daemon running on the other machine? If not try adding option -e ssh to the rsync command.
It doesn't look like it is running on either machine. I will follow http://docs.fedoraproject.org/en-US/..._Examples.html to see if I can set them up.

Thank you,
Raj

Rupadhya 10-14-2012 01:52 AM

After much effort, I finally got rsync configured and running on both Fedora machines. I am rsyncing a big directory right now , and afterwards I will copy one file into it to see if it rsyncs just that file.

Thanks for the help.
- Raj


All times are GMT -5. The time now is 08:54 PM.