LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-12-2012, 09:25 PM   #1
Rupadhya
Member
 
Registered: Sep 2012
Location: Hoffman Estates, IL
Distribution: Fedora 20
Posts: 167

Rep: Reputation: Disabled
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
 
Old 10-13-2012, 05:16 AM   #2
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
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.
 
Old 10-13-2012, 09:36 AM   #3
Rupadhya
Member
 
Registered: Sep 2012
Location: Hoffman Estates, IL
Distribution: Fedora 20
Posts: 167

Original Poster
Rep: Reputation: Disabled
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

Last edited by Rupadhya; 10-13-2012 at 10:32 PM. Reason: multiple http:
 
Old 10-14-2012, 01:52 AM   #4
Rupadhya
Member
 
Registered: Sep 2012
Location: Hoffman Estates, IL
Distribution: Fedora 20
Posts: 167

Original Poster
Rep: Reputation: Disabled
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
 
  


Reply

Tags
rsync, scp, ssh


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] rsync across many machines ottadini Linux - Newbie 4 06-09-2010 06:29 PM
LXer: Synchronizing any two machines is easy when you use rsync LXer Syndicated Linux News 0 04-16-2009 03:50 AM
How to rsync to clone two machines linuxbee1 Linux - Newbie 3 03-21-2008 11:59 AM
consecutive rsync between three machines horacioemilio Linux - Newbie 2 01-05-2008 08:08 PM
Rsync between multiple machines Maeltor Linux - General 7 07-31-2006 11:22 PM


All times are GMT -5. The time now is 09:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration