Linux运维学习之rsync报错整理5 Linux周末学习

Linux云计算运维基础学习中,关于rsync了解多少呢?咱们今天就来简单了解下rsync报错的一两处问题

10、rsync: opendir "/kexue" (in dtsChannel) failed: Permissiondenied (13)

注意查看同步的目录权限是否为755

11、rsync: failed to connect to 203.100.192.66: Connection timed out(110)

rsync:failed to connect to 203.100.192.66: Connection timed out (110)

rsyncerror: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.5]

检查服务器的端口netstat ?tunlp,远程telnet测试。

可能因为客户端或者服务端的防火墙开启 导致无法通信,可以设置规则放行 rsync(873端口) 或者直接关闭防火墙。

关服务端selinux 和iptabs 防火墙

还有一种在同步过程中可能会提示没有权限 (将同步目录加上SvcwRsync全部权限即可,更简单的方法就是将SvcwRsync设为管理员即可)

需要给/etc/rsync.password 600权限

[root@backup backup]# ll -ld/etc/rsync.password

-rw-------. 1 root root 20 Sep 22 21:16/etc/rsync.password

12、rsync: failed to connect to 10.10.10.170: Connection refused (111)

rsync:failed to connect to 10.10.10.170: Connection refused (111)

rsyncerror: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.5]

启动服务:rsync --daemon--config=/etc/rsyncd.conf

以上就是分享Linux运维学习关于rsync报错的两个问题的简单介绍了,想要众多的IT工作者中脱颖而出,就需要拥有高深的技术,学习增值是必不可少的。学习之路,是贵在坚持的!

猜你喜欢

转载自blog.51cto.com/13543192/2178653
今日推荐