rsync IPC error

Dan Pritts danno at internet2.edu
Tue Dec 13 16:57:42 GMT 2005


On Tue, Dec 13, 2005 at 04:13:19AM -0800, Vijaya Krishna P.B. wrote:
> Running rsync 2.6.6.version 29, getting following erorr
>    
>   rsync: Failed to exec ssh: no such file or directory (2)
>   rsync error: error in IPC code (code14) at pipe.c(83)
>   rsync: connection unexpectedly closed (0 bytes received so far) [sender]
>   rsync error: error in rsync protocol data stram (code 12) at io.c(434)
>    
>    
>   Version 2.4.6 is working fine.  Can anybodey help...

Somewhere between 2.4.6 & 2.6.6 the default "rsh" program that rsync
is compiled with changed from rsh (which almost nobody uses, but i bet
you still do - it is insecure and should not be used on internet-connected
hosts) to ssh (which is much more secure).
 
If you want to use the new rsync with rsh, you can just add "-e rsh" to your
rsync command line and it should work like the old version.  There's
probably a compile time option for this too.

danno
--
dan pritts - systems administrator - internet2
734/352-4953 office        734/834-7224 mobile


More information about the rsync mailing list