国产欧美日韩第一页|日本一二三不卡视频|在线精品小视频,亚洲第一免费播放区,metcn人体亚洲一区,亚洲精品午夜视频

幫助中心 >  技術(shù)知識(shí)庫 >  云服務(wù)器 >  服務(wù)器教程 >  bash: rsync: command not found 報(bào)錯(cuò)原因以及解決辦法

bash: rsync: command not found 報(bào)錯(cuò)原因以及解決辦法

2017-01-15 21:42:59 13461

從一個(gè)內(nèi)網(wǎng)機(jī)器往線上一個(gè)新服務(wù)器1.2.3.4(代替)推送數(shù)據(jù),發(fā)現(xiàn)無法推送,報(bào)如下錯(cuò)誤:

[root@network ~]$/usr/bin/rsync -avz -P -e ssh test.txt  1.2.3.4:/home/wwwroot/test
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(600) [sender=3.0.6]

報(bào)錯(cuò)原因:
線上的新服務(wù)器沒有安裝rsync導(dǎo)致。

解決辦法:
新服務(wù)器(目標(biāo)服務(wù)器)執(zhí)行命令 yum install rsync -y 問題解決。


提交成功!非常感謝您的反饋,我們會(huì)繼續(xù)努力做到更好!

這條文檔是否有幫助解決問題?

非常抱歉未能幫助到您。為了給您提供更好的服務(wù),我們很需要您進(jìn)一步的反饋信息:

在文檔使用中是否遇到以下問題: