Ok, I'd expected it to go once you could rsh host which rsync. Since you're not getting a +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [EMAIL PROTECTED] /usr/local/admin/bin>rsync -e rsh --rsync-path=/usr/local/bin/rsync hostwithoutrsync:/etc/services sh: /usr/local/bin/rsync: not found. rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(165) [EMAIL PROTECTED] /usr/local/admin/bin> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ I don't think it's the remote host binary, but just in case, try a plain rsync -e rsh --rsync-path=/usr/local/bin/rsync 66.123.34.123:/etc/services
I remember once upon a time, rsync choked on verbosity, which is why I left out the "v"s. If that command fails, try it with "vvv". It doesn't tell much more than with none at all, but I'd like to see it. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [EMAIL PROTECTED] /usr/local/admin/bin>rsync -vvv -e rsh --rsync-path=/usr/local/bin/rsync hostwithoutrsync:/etc/services opening connection using rsh hostwithoutrsync /usr/local/bin/rsync --server --sender -vvvr . /etc/services sh: /usr/local/bin/rsync: not found. rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(165) _exit_cleanup(code=12, file=io.c, line=165): about to call exit(12) [EMAIL PROTECTED] /usr/local/admin/bin> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ I'd expect more something like this +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [EMAIL PROTECTED] /usr/local/admin/bin>rsync -e rsh --rsync-path=/usr/local/bin/rsync hostwithrsync:/etc/services lrwxr-xr-x 15 2003/08/19 08:13:58 services [EMAIL PROTECTED] /usr/local/admin/bin> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Or like this, with three "v"s. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [EMAIL PROTECTED] /usr/local/admin/bin>rsync -vvv -e rsh --rsync-path=/usr/local/bin/rsync hostwithrsync:/etc/services opening connection using rsh hostwithrsync /usr/local/bin/rsync --server --sender -vvvr . /etc/services add_exclude(/*/*,exclude) add_exclude(/*/*,exclude) server_sender starting pid=6090 make_file(1,services) expand file_list to 4000 bytes, did move recv_file_name(services) received 1 names lrwxr-xr-x 15 2003/08/19 08:13:58 services recv_file_list done get_local_name count=1 <NULL> generator starting pid=5968 count=1 delta transmission enabled generate_files phase=1 recv_files(1) starting send_file_list done send_files starting recv_files phase=1 generate_files phase=2 send_files phase=1 send files finished total: matches=0 tag_hits=0 false_alarms=0 data=0 recv_files finished wrote 24 bytes read 331 bytes 236.67 bytes/sec total size is 15 speedup is 0.40 _exit_cleanup(code=0, file=main.c, line=1045): about to call exit(0) [EMAIL PROTECTED] /usr/local/admin/bin> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Instead, you're getting this: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [EMAIL PROTECTED] /usr/local/admin/bin>rsync -e rsh --rsync-path=/usr/local/bin/rsync hostwithoutrsh:/etc/services hostwithoutrsh: Connection timed out rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(165) [EMAIL PROTECTED] /usr/local/admin/bin> [EMAIL PROTECTED] /usr/local/admin/bin>rsync -vvv -e rsh --rsync-path=/usr/local/bin/rsync hostwithoutrsh:/etc/services opening connection using rsh hostwithoutrsh /usr/local/bin/rsync --server --sender -vvvr . /etc/services hostwithoutrsh: Connection timed out rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(165) _exit_cleanup(code=12, file=io.c, line=165): about to call exit(12) [EMAIL PROTECTED] /usr/local/admin/bin> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ If this one fails, rsh 66.123.34.123 /usr/local/bin/rsync / Maybe your timeout is an rsync timeout instead of an rsh timeout. Tim Conway Unix System Administration Contractor - IBM Global Services desk:3032734776 [EMAIL PROTECTED] Hello, I uncommented shell in inetd.conf on the destination system. The command " rsh 66.123.34.123 which rsync" is working fine now . I get the output /usr/local/bin/rsync. But the command: rsync -avvznrbe rsh /sourcepath 66.123.34.123:/destinationpath Still does not work. I get the same error as i used to get before. opening connection using rsh 66.123.34.123 rsync --server -vvbnlogDtprz . /destinationpath 66.123.34.123: operation timed out rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(189) -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html