rsync protocol problem

Encountered

  note: iconv_open("UTF-8", "UTF-8") succeeded.
  rsync: connection unexpectedly closed (0 bytes received so far) [sender]
  _exit_cleanup(code=12, file=io.c, line=600): entered
  rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
  _exit_cleanup(code=12, file=io.c, line=600): about to call exit(12)

Googling did not help much. Neither did playing with -e ssh, -e ’ssh -l’, –protocol=29.

I checked version on receiving machine, and it was rsync-2.6.8-3.1.i386 on CentOS. Looking at the client with version 3.0.6, I first tried to sync with 3.0.4 and 2.6.9 which I had readily access to. Neither worked either.

Bruteforce solution was to download the 3.0.4 tar and recompile it on the target machine, and make sure it was on the path before /usr/bin/rsync. To test that it worked, I used the rsync parameter

  --rsync-path=/home/ads/rsync-3.0.4/rsync

and it worked.

Tags: , , ,

One Response to “rsync protocol problem”

  1. Kostya says:

    ?????? ????! jose@tehnon.ru” rel=”nofollow”>……

    ? ??….

Leave a Reply