error in rsync protocol data stream (code 12) at token.c(288)

Stuart Anderson sba at
Fri Feb 1 10:26:16 EST 2002

I am getting the following error when mirroring part of the RedHat
distribution tree over a slow connection (~T1 speed). When running
over a faster network (100BaseT) the problem does not appear. Note,
the problem file a large 600MB ISO image, whereas other small files
appear to be fine.

rsync: open connection using /path/ssh /path/rsync --server -vlHogDtprRz --timeout=600 --delete --force . / 
rsync: building file list...
rsync: 90108 files to consider.
deflate on token returned 0 (16384 bytes left)
rsync error: error in rsync protocol data stream (code 12) at token.c(288)
rsync finished

The file has in fact been mirrored correctly (md5sum is identical),
however, the file is left with today's date rather synchronizing the
file times as specified.

A repeat of the rsync command with the file already on the destination
machines results in the same error.

This is running between two Sun servers running Solaris 8 and using:

rsync  version 2.5.2  protocol version 26
Copyright (C) 1996-2002 by Andrew Tridgell and others
Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles, no IPv6,
              64-bit system inums, 64-bit internal inums

Stuart Anderson  sba at

More information about the rsync mailing list