Open MikeFultonDev opened 2 years ago
The garbled text is:
(Server) Protocol versions: remote=29, negotiated=29
Installing the same version of rsync on my Mac, I get:
/Users/fultonm@ca.ibm.com/Downloads/rsync-3.2.4/rsync -vvvv --rsync-path=/fultonm/zopen/prod/rsync-master/bin/rsync -r src fultonm_zotb:/tmp/dst/
cmd=<NULL> machine=fultonm_zotb user=<NULL> path=/tmp/dst/
cmd[0]=ssh cmd[1]=fultonm_zotb cmd[2]=/fultonm/zopen/prod/rsync-master/bin/rsync cmd[3]=--server cmd[4]=-vvvvre.iLsfxCIvu cmd[5]=. cmd[6]=/tmp/dst/
opening connection using: ssh fultonm_zotb /fultonm/zopen/prod/rsync-master/bin/rsync --server -vvvvre.iLsfxCIvu . /tmp/dst/ (7 args)
msg checking charset: UTF-8
??????ʉ?&??????%???????>˚???_???????>?????/??????(Client) Protocol versions: remote=31, negotiated=31
sending incremental file list
[sender] make_file(src,*,0)
[sender] flist start=1, used=1, low=0, high=0
[sender] i=1 <NULL> src/ mode=040755 len=96 flags=1005
send_file_list done
[sender] pushing local filters for /private/tmp/src/
[sender] make_file(src/f1.txt,*,2)
[sender] flist start=3, used=1, low=0, high=0
[sender] i=3 <NULL> src/f1.txt mode=0100644 len=10 flags=1000
[sender] flist_eof=1
file list sent
send_files starting
unexpected tag -111 [sender/inc]
[sender] _exit_cleanup(code=12, file=io.c, line=1671): entered
rsync error: error in rsync protocol data stream (code 12) at io.c(1671) [sender=3.2.4]
[sender] _exit_cleanup(code=12, file=io.c, line=1671): about to call exit(12)
Running against a 'dev' drop on z/OS via my ssh connection fultonm_zopendev1 (same as above except 'dev' and not 'prod') ./rsync -vvvv --rsync-path=\$HOME/zopen/dev/rsyncport/rsync/rsync -r /tmp/rsync/src fultonm_zopendev1:/tmp/dst/
With the latest rsync build on z/OS, teh failure is a little different:
rsync -vvvv --rsync-path=\$HOME/zopen/dev/rsyncport/rsync/rsync -r /tmp/rsync/src fultonm_zopendev1:/tmp/dst/
cmd=<NULL> machine=fultonm_zopendev1 user=<NULL> path=/tmp/dst/
cmd[0]=ssh cmd[1]=fultonm_zopendev1 cmd[2]=$HOME/zopen/dev/rsyncport/rsync/rsync cmd[3]=--server cmd[4]=-vvvvre.iLsfxCIvu cmd[5]=. cmd[6]=/tmp/dst/
opening connection using: ssh fultonm_zopendev1 "$HOME/zopen/dev/rsyncport/rsync/rsync" --server -vvvvre.iLsfxCIvu . /tmp/dst/ (7 args)
msg checking charset: UTF-8
??????ʉ?&??????%???????>˚???_???????>?????/??????(Client) Protocol versions: remote=31, negotiated=31
sending incremental file list
[sender] make_file(src,*,0)
[sender] flist start=1, used=1, low=0, high=0
[sender] i=1 /tmp/rsync src/ mode=040755 len=64 flags=1005
send_file_list done
[sender] pushing local filters for /tmp/rsync/src/
[sender] flist start=3, used=0, low=0, high=-1
[sender] flist_eof=1
file list sent
send_files starting
unexpected tag -111 [sender/inc]
[sender] _exit_cleanup(code=12, file=io.c, line=1704): entered
rsync error: error in rsync protocol data stream (code 12) at io.c(1704) [sender=3.2.6]
[sender] _exit_cleanup(code=12, file=io.c, line=1704): about to call exit(12)
produces:
First step will be to get the 'mode' mapped properly. There are no doubt ASCII/EBCDIC issues here too