code12 when using modules

Michael Rolli michael at rollis.ch
Sat May 3 19:51:27 EST 2003


Hi

I tested further and recompiled 2.5.6 and tested with 2.5.7-HEAD each
with -with-included-popt

Now, my situation is as follows:



Direct access:
rsync -ravn --stats --progress rollis.ch::mymodule
   ...works great

rsync -ravn --stats --progress rollis.ch:/path/to/mymodule
  myhost: Connection refused
  rsync: connection unexpectedly closed (0 bytes read so far)
  rsync error: error in rsync protocol data stream (code 12) at
io.c(165)



Over ssh:
rsync -ravn --rsh="ssh -l michael" --stats --progress
rollis.ch::mymodule
   rsync: connection unexpectedly closed (12 bytes read so far)
   rsync error: error in rsync protocol data stream (code 12) at
io.c(165)

rsync -ravn --rsh="ssh -l michael" --stats --progress
rollis.ch:/path/to/mymodule
   ...works great


Any help on this? Acutally it would be nice if I could use the modules
style for both, with and without --rsh.
Thanks

Michael



My rsyncd.conf
<rsyncd.conf>
gid = 65534
pid file = /var/run/rsyncd.pid
log file = /var/log/rsyncd.log
log format = %h %t %o %m %f %l %b
transfer logging = true
use chroot = false

[mymodule]
        path = /home/mymodule
        comment = mymodule
        exclude = temp/
        read only = yes
        transfer logging = true
</rsyncd.conf>






More information about the rsync mailing list