rsync : connection unexpectedly closed
Vijay Ram.C
cvijay at banyannetworks.com
Fri Feb 24 06:37:05 GMT 2006
Hi all,
I am working on a networking product in which i am using Rsync to update configuration files in them.
While syncing a file of 5.5MB, i am facing a problem. An error is displayed and the syncing process is terminated.
The error is as below:
rsync: connection unexpectedly closed (1804855 bytes received so far) [receiver]
rsync: connection unexpectedly closed (39 bytes received so far) [generator]
The rsync command line is given as below:
rsync --timeout=60 srcIp::path/file.tar.gz destPath/destFile
On looking into the code, i found the comment saying that expecting an EOF over a network is wrong. Hence a wait for
10 seconds is done and then the connection is terminated. Does the increase in the time to a higher value solve this
problem ? Or is there any other fix available for this issue.
Any help on this regard is greatly appreciated.
Best Regards,
Vijay Ram.C
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the rsync
mailing list