I encounter with error when run the shell script. ----------- Error Message ---------- rsync: connection unexpectedly closed (24 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(342) ----------- Error Message ---------- ----------- Shell Script ---------- #!/bin/ksh echo "SMC1A=====" rsync --recursive --compress --delete --no-relative --include='*' rsync://KKURO/data_a/SMC1A/smlog/20060206/Ssmlog*.* /SAS/CNV_DATA/SMSS/GET_DATA/KKUROA/SMC1A echo "SMC2A=====" rsync --recursive --compress --delete --no-relative --include='*' rsync://KKURO/data_a/SMC2A/smlog/20060206/Ssmlog*.* /SAS/CNV_DATA/SMSS/GET_DATA/KKUROA/SMC2A ----------- Shell Script ---------- When I run the file, first rsync is completely suscess but second rsync encounter the error. How can resolve it?
The issues-and-debugging page has information on how to find out what the problem is on the remote end of the connection (since the error you cite just tells us that the connection to the remote side closed unexpectedly). http://rsync.samba.org/issues.html
Closing due to lack of response. If you are still seeing the problem, feel free to add extra information and re-open the bug.