Hi there:

As I posted a few days ago I have problems rsyncing two machines. I will add 
more logs to this e-mail hoping someone could help me.
I'm doing a daily backup calling a shell script from cron as root. 
This is the log of the shell script:

------------------------------------- 8< ----------------------- 8< 
--------------------
[Fri Feb 25 05:21:05 CET 2011] /usr/bin/rsync -az --delete --numeric-ids 
--relative --delete-excluded --rsh=/usr/bin/ssh root@server1:/opt/apache/conf 
/data/backups/daily.0/server1
[Fri Feb 25 05:21:05 CET 2011] /usr/bin/rsync -az --delete --numeric-ids 
--relative --delete-excluded --rsh=/usr/bin/ssh root@server1:/opt/apache/logs 
/data/backups/daily.0/server1
ssh: connect to host server1 port 22: Connection timed out
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: unexplained error (code 255) at io.c(635) [receiver=3.0.3]
[Fri Feb 25 05:21:26 CET 2011] /usr/bin/rsync -az --delete --numeric-ids 
--relative --delete-excluded --rsh=/usr/bin/ssh root@server1:/usr/local/webs 
/data/backups/daily.0/server1
[Fri Feb 25 05:21:31 CET 2011] /usr/bin/rsync -az --delete --numeric-ids 
--relative --delete-excluded --rsh=/usr/bin/ssh root@server1:/var/mail 
/data/backups/daily.0/server1
ssh: connect to host server1 port 22: Connection timed out
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: unexplained error (code 255) at io.c(635) [receiver=3.0.3]
[Fri Feb 25 05:21:52 CET 2011] /usr/bin/rsync -az --delete --numeric-ids 
--relative --delete-excluded --rsh=/usr/bin/ssh root@server1:/var/spool/mail 
/data/backups/daily.0/server1
[Fri Feb 25 05:21:52 CET 2011] /usr/bin/rsync -az --delete --numeric-ids 
--relative --delete-excluded --rsh=/usr/bin/ssh root@server1:/var/spool/exim 
/data/backups/daily.0/server1
ssh: connect to host server1 port 22: Connection timed out
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: unexplained error (code 255) at io.c(635) [receiver=3.0.3]
[Fri Feb 25 05:22:13 CET 2011] /usr/bin/rsync -az --delete --numeric-ids 
--relative --delete-excluded --rsh=/usr/bin/ssh root@server1:/opt/qpsmtpd 
/data/backups/daily.0/server1
[Fri Feb 25 05:22:18 CET 2011] /usr/bin/rsync -az --delete --numeric-ids 
--relative --delete-excluded --rsh=/usr/bin/ssh root@server1:/opt/spamassassin 
/data/backups/daily.0/server1
[Fri Feb 25 05:22:28 CET 2011] /usr/bin/rsync -az --delete --numeric-ids 
--relative --delete-excluded --rsh=/usr/bin/ssh root@server1:/opt/exim 
/data/backups/daily.0/server1
ssh: connect to host server1 port 22: Connection timed out
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: unexplained error (code 255) at io.c(635) [receiver=3.0.3]
[Fri Feb 25 05:22:49 CET 2011] /usr/bin/rsync -az --delete --numeric-ids 
--relative --delete-excluded --rsh=/usr/bin/ssh root@server1:/var/spool/cron 
/data/backups/daily.0/server1
------------------------------------- 8< ----------------------- 8< 
--------------------

As you can see seems to be a timeout problem cause the timeout arrises 21 
seconds after the command is invoked.
But why this happens in some paths and not in others?
The paths are always the same paths (from day to day).
What can I do? Where can I change timeouts?

Any help will be  appreciated, cause this is getting me crazy.

Thanks in advance:

        Xabi




-- 
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

Reply via email to