Partial files cause: error in rsync protocol data stream (code 12) at io.c(584)

4 posts / 0 new
Last post
itefix
Offline
Last seen: 2 weeks 14 hours ago
Joined: 01.05.2008 - 21:33
Partial files cause: error in rsync protocol data stream (code 12) at io.c(584)

Hello,
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. It works fine unless I turn on the partial file option (--partial). 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" : 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 file and start the transfer again.

Once there partial 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 on both the computers. Only the main PC has the server installed on it.

Thanks for any help.

itefix
Offline
Last seen: 2 weeks 14 hours ago
Joined: 01.05.2008 - 21:33
Re: Partial files cause: error in rsync protocol data stream (co

This seems to be an rsync-related problem. Consider posting it at Rsync users mailing list

itefix
Offline
Last seen: 2 weeks 14 hours ago
Joined: 01.05.2008 - 21:33
Re: Partial files cause: error in rsync protocol data stream (co

I am actually getting the same error on 2003 Server with SP1. I had posted the thread on the error running client and server on the same machine, but it turns out that even with just newest 2.04 client installed I'm having the issue. The biggest problem is that when I get this error my network connectivity dies and I can't remote desktop into the box (it's not local) and I have to have it manually powered on and off! I don't see any further error info in the logs unfortunately either, any help would be VERY much appreciated...

itefix
Offline
Last seen: 2 weeks 14 hours ago
Joined: 01.05.2008 - 21:33
Re: Partial files cause: error in rsync protocol data stream (co

same error here,no solutions so far ?

Topic locked

Release announcements