【Linux】rsync error: remote command not found (code 127) at io.c(226) [sender=3.1.2]

【問題描述】

       今天在使用rsync同步數據的時候,出現瞭如下錯誤:

bash: rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: remote command not found (code 127) at io.c(226) [sender=3.1.2]

【問題原因】

       之所以會出現這個問題是因爲,不僅同步的機器需要安裝rsync,而且在被同步的機器上也需要安裝rsync。

【解決辦法】

yum -y install rsync

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章