Hi there, We are using rsync 3.0.6 on two identical SLES 10.2 servers. The destination server is running rsyncd. When I include the -X switch in the rsync command from the source I get the following: --xattrs requires protocol 30 or higher (negotiated 29). rsync error: protocol incompatibility (code 2) at compat.c(205) [sender=3.0.6] Both rsync versions are 3.0.6 protocol version 30. Any thoughts? Kirk -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20090822/90dfda27/attachment.html>
On Sat, Aug 22, 2009 at 11:22:40AM +0100, Kirk Maule wrote:> Both rsync versions are 3.0.6 protocol version 30.You'll undoubtedly find that there is an older rsync on the $PATH on one of the machines. e.g, try this: ssh hostname rsync --version Either get rid of the old version, or specify --rsync-path=/path/rsync so that you get the rsync you expect. ..wayne..
On comparing file sizes I noted that the 2.6.8 versions of rscynd and rsync are the same file. I backed those up and copied the /usr/local/bin/rsync 3.0.6 version as /usr/sbin/rsyncd and /usr/bin/rsync. I no longer get the "--xattrs requires protocol 30..." error. Cheers, Kirk === On Sat, Aug 22, 2009 at 08:49:10PM +0100, Kirk Maule wrote:> Should the rsync*.tar.gz install procedure replaced rsyncd 2.6.8 as > well as rsync 2.6.8 with the 3.0.6 version?Depends on how the package was built. Rsync is just one executable, so be sure to put it in a consistent spot. For your daemon setup, check your xinetd setup and/or init file to see what they are running. ..wayne..