環境:
centos6.0 64位
rsync 3.0.6
問題:
[root@lfs ~]# rsync -avz /data/* root@10.0.0.102:/data/*
bash: rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
原因:目標服務器沒有安裝rsync
解決辦法:
#目標服務器執行
yum -y install rsync