项目场景:

linux 使用 rsync 命令报错


问题描述

bash: rsync: 未找到命令
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


解决方案:

yum -y install rsync,但发现安装了rsync依旧报错,最后发现同步和被同步的虚拟机都需要安装yum -y install rsync 。

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐