Protocol problem (bug?) with rsync-2.5.6

Klaus-J. Wolf
Sat May 10 09:26:17 EST 2003


Hi,

let me shortly describe the background of my problem: I was using a Gentoo box 
as a workstation and a NetBSD-1.6 box as a backup machine. Everything ran 
perfectly. Now I switched my workstation OS to FreeBSD-4.8_RELEASE.

Both rsyncs are made from the ports, respectively (with Gentoo, it were the 
Ebuilds, but the same idea...). (FreeBSD port version: 2.5.6_1)

Now, when I try to synchronize the backup, I get a disturbing error message, 
something like (running -n dry-run mode):

[...many lines of text...]
deleting directory work/nvidia/NVIDIA_GLX-1.0-4191
deleting directory work/nvidia
unexpected tag 94
rsync error: error in rsync protocol data stream (code 12) at io.c(315)

or:

[...many lines of text...]
.thumbnails/normal/ee4752ec2125bc1faef8edd4a75d1df5.png
.thumbnails/normal/ee55bb657904968ef3f852db22a17662.png
Invalid file index 117440540 (count=136972)
rsync error: protocol incompatibility (code 2) at sender.c(135)

I have checked the network connection by transferring >11GB (cat xyz |rsh 
amadillo "md5"), and I had no problems. It's simply a cross-over cable 
between the machines, so I don't expect any switch problems, and they're both 
x86-based.

My command line looks like:
rsync -n -e rsh -axv --delete --exclude-from $TMPF --delete-excluded 
--progress ~kjwolf/ amadillo:/pile/myhome

I would have supected the FreeBSD port patches, but a quick and not very 
professional look on them didn't reveal any obvious fault...

Can you help?

Kind regards,
k.j.

ps. rsync is the best invention after Unix!!!





More information about the rsync mailing list