protocol version mismatch

Arjen van der Meer ameer at science.uva.nl
Tue May 25 16:47:25 GMT 2004


Dear JBG,

Thank you for your help. I indeed had some package being sourced in my 
.cshrc file of the remote machine. Everything works fine now!

MvG Arjen

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Arjen van der Meer
Sterrenkundig Instituut
"Anton Pannekoek"		room:  H 3.42
Kruislaan 403			phone: +31-205925097
1098 SJ Amsterdam		email: ameer at science.uva.nl
The Netherlands			http:  www.astro.uva.nl/~ameer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


On Tue, 25 May 2004, Jan-Benedict Glaw wrote:

> 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));
> 



More information about the rsync mailing list