error in rsync protocol data stream

Richard Jones ra.jones at dpw.clara.co.uk
Sun Dec 2 19:57:45 GMT 2007


Help. This one's defeated me so far. I'm tring to push files from from a 
local Ubuntu 6.06 server to a remote Ubuntu 6.06 server using rsync (v 
2.6.6 installed on both via apt-get). Every time I get the same eg:

building file list ...
4 files to consider
./
Demo1.plt
       63459 100%    7.32MB/s    0:00:00  (1, 50.0% of 4)
Test.plt
        1280 100%  208.33kB/s    0:00:00  (2, 75.0% of 4)
USA_wp.txt
       39032 100%    2.66MB/s    0:00:00  (3, 100.0% of 4)

...... very long pause ....... then:
Read from remote host <remote.ip.address>: Connection timed out
rsync: connection unexpectedly closed (84 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(434)

When there are new sub-directories involved, they get created OK on the 
remote server (proving we get a vaild connection), but no files get 
transfered. So I tried synch'ing just a single file, and found that a 
text file of a few kilobytes transferred OK, but once it reached a few 
tens of kilobytes, it no longer transferred and I got the behaviour above.

I did have denyhosts running, which caused problems by adding my IP 
address to hosts.deny, but I removed it and killed the process but it 
makes no difference.

There is a reference to this behaviour in the rsync FAQ (the transfer 
fails to finish), but I'm afraid I can't follow the information 
supplied. Presumably it *is* possible to rsync between 2 Ubuntu Dapper 
servers?


More information about the rsync mailing list