<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi there:<br><br><div>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.</div><div>I'm doing a daily backup calling a shell script from cron as root.&nbsp;</div><div>This is the log of the shell script:</div><div><br></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">------------------------------------- 8&lt; ----------------------- 8&lt; --------------------</span></font></div><div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">[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</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">[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</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">ssh: connect to host server1 port 22: Connection timed out</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">rsync: connection unexpectedly closed (0 bytes received so far) [receiver]</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">rsync error: unexplained error (code 255) at io.c(635) [receiver=3.0.3]</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">[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</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">[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</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">ssh: connect to host server1 port 22: Connection timed out</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">rsync: connection unexpectedly closed (0 bytes received so far) [receiver]</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">rsync error: unexplained error (code 255) at io.c(635) [receiver=3.0.3]</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">[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</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">[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</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">ssh: connect to host server1 port 22: Connection timed out</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">rsync: connection unexpectedly closed (0 bytes received so far) [receiver]</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">rsync error: unexplained error (code 255) at io.c(635) [receiver=3.0.3]</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">[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</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">[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</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">[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</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">ssh: connect to host server1 port 22: Connection timed out</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">rsync: connection unexpectedly closed (0 bytes received so far) [receiver]</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">rsync error: unexplained error (code 255) at io.c(635) [receiver=3.0.3]</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">[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</span></font></div></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">------------------------------------- 8&lt; ----------------------- 8&lt; --------------------</span></font></div><div><br></div><div>As you can see seems to be a timeout problem cause the timeout arrises 21 seconds after the command is invoked.</div><div>But why this happens in some paths and not in others?</div><div>The paths are always the same paths (from day to day).</div><div>What can I do? Where can I change timeouts?</div><div><br></div><div>Any help will be &nbsp;appreciated, cause this is getting me crazy.</div><div><br></div><div>Thanks in advance:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Xabi</div><div><br></div><div><br></div><div><br></div><div><br></div></body></html>