Ian Webber
2005-Sep-15 03:55 UTC
Partial files cause: error in rsync protocol data stream (code 12) at io.c(584)
Hello, I am wondering if any of you have any ideas for what I am experiencing. I use Rsync over a local network to backup files from a laptop to my main PC which is running the server as a service. These are both Windows 2000 machines running Cygwin 1.5.18-1 and Rsync 2.6.6. It works fine unless I turn on the partial file option (--partial) and then try to resume an interrupted copy. This is a log of what's happening. opening tcp connection to 192.168.0.102 port 873 opening connection using --server -vvtr --partial . avcopy building file list ... 24 files to consider ShouldIWorryAbout/ ShouldIWorryAbout/Should I Worry About... Drinking.avi rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown" [sender]: Con nection reset by peer (104) rsync: read error: Connection reset by peer (104) rsync error: error in rsync protocol data stream (code 12) at io.c(584) It definately seems to be a problem when it finds a partial of the file it is trying to copy in the destination directory. From what I have seen if you have the --partial option set, if you stop the transfer, the file in the destination directory is renamed to it's 'proper' name even though it is not complete. When the partial didn't rename properly I could start the transfer again without difficulty, otherwise I had to delete the partial file and start the transfer again. Once the partial file is in the directory, even if I change the command to not make use of partial files, rsync still fails with the above error. I am not using a secure channel and I have tried it without any firewalls running but this makes no difference. I am running cwRsync 2.03 (http://www.itefix.no) on both the computers. Only the main PC has the server installed on it running as a service. I have checked the permissions and the correct local user has the ability to write to the required directory. I googled the web and the archive list and didn't find anything that seemed to relate to it. Thanks for any help you can offer. Ian -------------- next part -------------- HTML attachment scrubbed and removed
Wayne Davison
2005-Sep-15 07:46 UTC
Partial files cause: error in rsync protocol data stream (code 12) at io.c(584)
On Wed, Sep 14, 2005 at 08:51:41PM -0700, Ian Webber wrote:> rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown" [sender]: Connection reset by peer (104)See the "issues and debugging" page of the website for instructions on how to go about debugging a failure on the remote end of the rsync connection (e.g. enabling core files to check for a crash, or logging system calls to see what is failing). ..wayne..