Paul Hamer
2009-Feb-05 10:39 UTC
Can no longer connect to rsync server since new router, but sometimes it works?!
Hi, I've been searching the web for days for an answer to this weird problem. I hope you guys can shed some light on this. A few months ago our office has changed internet provider, and hence we use a different router/DSL-modem: a ZyXEL P-2602H-D1A Ever since the change our nightly rsync from our office server to our external webserver, which runs an rsync daemon, refuses to work... at least, MOST of the times... sometimes, like once or twice a month, it works fine ??? Our setup: Office: Windows XP, cwRsync 3.0.1 (=rsync 3.0.5) Webserver: Linux, rsync 3.0.4 (running as a daemon) Used commandline on Windows XP machine:> rsync -arv -e "ssh -l root" --delete-after --force --files-from backup_system.list / backup@ourwebserver::officeThe Windows machine fails after 2 or 3 seconds saying:> rsync error: timeout in data send/receive (code 30) at io.c(200) [sender=3.0.5]On the Linux box I see the following: in /var/log/rsync.log:> 2009/02/05 11:14:05 [20660] connect from xxx.telfort.nl (195.241.xx.xx) > 2009/02/05 11:14:05 [20660] rsync: connection unexpectedly closed (0 bytes received so far) [receiver] > 2009/02/05 11:14:05 [20660] rsync error: error in rsync protocol data stream (code 12) at io.c(632) [receiver=3.0.4]in /var/log/messages:> Feb 5 11:14:05 s4 sshd[20657]: Accepted keyboard-interactive/pam for root from 195.241.xx.xx port 29433 ssh2 > Feb 5 11:14:05 s4 sshd[20657]: fatal: Write failed: Connection reset by peerNote that I'm using rsync over SSH. Doing an SSH to the linux server works perfectly, so I'd say the router/firewall is set up correctly. Also I've fiddled with just about any setting/parameter, but the error remains the same. Any thoughts as to why this does not work? Tanx a lot! Kinds regards, Paul Hamer
Paul Hamer
2009-Feb-09 01:26 UTC
Can no longer connect to rsync server since new router, but sometimes it works?! (Solved!)
Hiya, I've found the problem. I had SoftX internet logger installed (but not enabled) which apparently screwed things up. After removing it, rsync works fine again! Tnx, Paul Hamer> -----Original Message----- > From: rsync-bounces+paul=mediamens.nl@lists.samba.org > [mailto:rsync-bounces+paul=mediamens.nl@lists.samba.org] On > Behalf Of Paul Hamer > Sent: Thursday, 05 February, 2009 11:23 > To: rsync@lists.samba.org > Subject: Can no longer connect to rsync server since new > router,but sometimes it works?! > > Hi, > > I've been searching the web for days for an answer to this > weird problem. I hope you guys can shed some light on this. > > A few months ago our office has changed internet provider, > and hence we use a different router/DSL-modem: a ZyXEL P-2602H-D1A > > Ever since the change our nightly rsync from our office > server to our external webserver, which runs an rsync daemon, > refuses to work... at least, MOST of the times... sometimes, > like once or twice a month, it works fine ??? > > Our setup: > > Office: Windows XP, cwRsync 3.0.1 (=rsync 3.0.5) > Webserver: Linux, rsync 3.0.4 (running as a daemon) > > Used commandline on Windows XP machine: > > > rsync -arv -e "ssh -l root" --delete-after --force > --files-from backup_system.list / backup@ourwebserver::office > > The Windows machine fails after 2 or 3 seconds saying: > > rsync error: timeout in data send/receive (code 30) at > io.c(200) [sender=3.0.5] > > On the Linux box I see the following: > > in /var/log/rsync.log: > > 2009/02/05 11:14:05 [20660] connect from xxx.telfort.nl > (195.241.xx.xx) > > 2009/02/05 11:14:05 [20660] rsync: connection unexpectedly > closed (0 bytes received so far) [receiver] > > 2009/02/05 11:14:05 [20660] rsync error: error in rsync > protocol data stream (code 12) at io.c(632) [receiver=3.0.4] > > in /var/log/messages: > > Feb 5 11:14:05 s4 sshd[20657]: Accepted > keyboard-interactive/pam for root from 195.241.xx.xx port 29433 ssh2 > > Feb 5 11:14:05 s4 sshd[20657]: fatal: Write failed: > Connection reset by peer > > Note that I'm using rsync over SSH. Doing an SSH to the linux > server works perfectly, so I'd say the router/firewall is set > up correctly. Also I've fiddled with just about any > setting/parameter, but the error remains the same. > > Any thoughts as to why this does not work? Tanx a lot! > > Kinds regards, > Paul Hamer > > -- > Please use reply-all for most replies to avoid omitting the > mailing list. > To unsubscribe or change options: > https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: > http://www.catb.org/~esr/faqs/smart-questions.html