Rsync error main.c

KING,RICHARD (HP-Boise,ex1) richard_king at
Fri Mar 28 10:13:08 EST 2003


Thank you for replying. You are correct in that I do have two identical
machines, thanks for clarifying. 

It seems I still get the same exact error message with or without using SSH.

Which brings me back to why I'm I getting the error message, eventhough the
file has transferred?


Rick King

-----Original Message-----
From: jw schultz [mailto:jw at] 
Sent: Thursday, March 27, 2003 12:37 PM
To: 'rsync at'
Subject: Re: Rsync error main.c

On Thu, Mar 27, 2003 at 11:29:33AM -0500, KING,RICHARD (HP-Boise,ex1) wrote:
> Rsync Ver: 2.5.5
> OS: HPUX-11

Assuming that describes both ends.

> Hello List,
> I'm using rsync with ssh with this command line:
> rsync -avz -e ssh some_file user-b at hostname-b:/home/user-b
> Which does work, however I get the following error output:
> rsync error: protocol incompatibility (code 2) at main.c(578)
> Since the file does transfer, is the error output just some sort of 
> bug? I looked in the maillist archives, and I found only one person 
> that replied stating that the error message was merely a "user 
> friendly nit".
> What I would like to know is:
> A) Is the error message something to be concerned about?
> B) Is there a patch?
> C) What option to use to surpress the error message?
> However, I did find it odd in using the following command line, I did 
> not get any error output:
> rsync -avz -e ssh hostname-a:/home/user-a/some_file /home/user-b
> Any help with the error message would be greatly appreciated.

It looks like your ssh process took a sigint.
Try -vv  That should generate a log message that reads
_exit_cleanup(code=nn, file=nn, line=nn): about to call exit(nn)

	J.W. Schultz            Pegasystems Technologies
	email address:		jw at

		Remember Cernan and Schmitt
To unsubscribe or change options:
Before posting, read:

More information about the rsync mailing list