LinuxQuestions.org
Help answer threads with 0 replies.
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 01-24-2007, 10:55 AM   #1
mr_scary
Member
 
Registered: Aug 2006
Posts: 39

Rep: Reputation: 15
rsync: Timeout, server not responding


I have several WinXP laptops which have been backing up to a FreeBSD 6.0 server via rsync for a good while now. Now one laptop is giving me grief. I am running cwRsync and invoking a remote rsync daemon via a shell command:

cmd /K "rsync.exe -avr --rsh=ssh --progress --stats --delete /cygdrive/d/"My Documents" user@server::user_data"

I get this error locally:

Quote:
Timeout, server not responding
And on the server:

Quote:
2007/01/24 11:46:18 [59320] connect from <FQDN> (192.168.0.110)
2007/01/24 11:46:18 [59320] rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
2007/01/24 11:46:18 [59320] rsync error: error in rsync protocol data stream (code 12) at io.c(462) [receiver=2.6.9]
I have been troubleshooting with a test directory both locally and remotely (client and server). I have also upgraded rsync on the server as well as re-installed cwRsync on the laptop.

Any comments welcome,

Peter
 
Old 01-24-2007, 12:02 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,950
Blog Entries: 5

Rep: Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755
Make sure no one enabled firewall on the Windoze machine. Maybe its initiating the outbound connection but complaining about the return.
 
Old 01-24-2007, 01:58 PM   #3
mr_scary
Member
 
Registered: Aug 2006
Posts: 39

Original Poster
Rep: Reputation: 15
Yeah, the Windows f/w is the first thing I checked. Off.

I can also SSH to the server no problem. I checked for any other Windows gizmo that might impede traffic. Nada. Well, there was SafeEyes but the user assured me that it is used to block pr0n websites and suchlike things.

Peter
 
Old 01-24-2007, 02:02 PM   #4
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,950
Blog Entries: 5

Rep: Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755
You can force rsync to use ssh for transport. Since you say ssh works have you tried that to see if it works? If it does then it would tend to prove the issue is something blocking the port being used by default (873 for daemons).

Can you telnet to the machine at above port?
 
Old 01-27-2007, 07:27 PM   #5
mr_scary
Member
 
Registered: Aug 2006
Posts: 39

Original Poster
Rep: Reputation: 15
But I *am* using SSH. That is what the -rsh=ssh is for.

Peter
 
Old 01-28-2007, 08:26 AM   #6
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,950
Blog Entries: 5

Rep: Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755
Sorry missed that.

Can you ssh directly to the server successfully?
 
Old 01-28-2007, 08:37 AM   #7
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
I think the OP said that ssh was working correctly. I've never tried cwRsync, but would it be possible to try the Cygwin version of rsync? I'm not suggesting changing over, but if both versions of rsync fail that tells us something different to one version working and the other not working.
 
  


Reply


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
Rsync server vs rsync over ssh humbletech99 Linux - Networking 1 10-18-2006 12:10 PM
Server stops responding broadcast Linux - Newbie 1 09-02-2006 09:30 AM
NFS server not responding boru Linux - Networking 5 03-15-2006 05:38 PM
mandriva server not responding mlafi1 Linux - Networking 0 12-26-2005 10:24 AM
Server not responding on public IP MS3FGX Linux - Networking 4 07-02-2004 04:16 PM


All times are GMT -5. The time now is 12:16 PM.

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