protocol version mismatch

Jan-Benedict Glaw jbglaw at lug-owl.de
Tue May 25 15:06:46 GMT 2004


On Tue, 2004-05-25 16:35:46 +0200, Arjen van der Meer <ameer at science.uva.nl>
wrote in message <Pine.LNX.4.44.0405251539290.7094-100000 at poulenc.science.uva.nl>:
>   rsync -a /home/ameer/midastests remotemachine:/home/ameer/midastests
> 
>   protocol version mismatch - is your shell clean?
>   (see the rsync man page for an explanation)
>   rsync error: protocol incompatibility (code 2) at compat.c(62)

So it seems the scripts executed upon login (.bashrc, .profile,
.bash_profile, ...) send some output (that they better didn't send).

Please try:

$ ssh remotemachine true > this_file_should_be_empty

If the file "this_file_should_be_empty" contains *anything*, you'd look
at your scripts and comment those outputting commands.

MfG, JBG

-- 
   Jan-Benedict Glaw       jbglaw at lug-owl.de    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/rsync/attachments/20040525/4f4946c2/attachment.bin


More information about the rsync mailing list