【Linux】rsync错误解析

rsync: Failed to exec ssh: No such file or directory (2)
rsync error: error in IPC code (code 14) at pipe.c(84) [sender=3.0.6]
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in IPC code (code 14) at io.c(600) [sender=3.0.6]

i got the solution thanks for helping
i had to install openssh-clients
for rsync to work

需要安装了openssh-clients

yum install -y openssh-clients

----------------------------------------------------------------------------------------------------------------------------------------------

rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]

代码23的错误是这样的,

rsync: change_dir "/root/test/test" failed: No such file or directory (2)

sent 16 bytes  received 12 bytes  8.00 bytes/sec
total size is 0  speedup is 0.00 (DRY RUN)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]

总是提示没有这个文件,但是我确实有这个文件,最后发现,原来自己写的相对路径,不是绝对路径,才找不到这个文件的,修改为绝对路径以后,无报错,正常传输

猜你喜欢

转载自blog.csdn.net/imliuqun123/article/details/81704985
今日推荐