本文主要是介绍rsync启动异常,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
Rlinux下Rsync 服务器启动错误
1、failed to create pid file /var/run/rsyncd.pid: File exists
使用rm /var/run/rsyncd.pid
再重新启动Rsync服务
rsync --daemon --config=/etc/rsyncd.conf
2、rsync: failed to connect to 10.10.10.170: Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.5]
启动服务:rsync --daemon --config=/etc/rsyncd.conf
3、rsync: failed to connect to 203.100.192.66: Connection timed out (110)
rsync error: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.5]
可能是防火墙开启 导致无法通信,可以设置规则放行 873端口或者直接关闭防火墙。
4、@ERROR: chroot failed
rsync: connection unexpectedly closed (75 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(150)
rsync.conf 中设置的 path 路径不存在,要新建目录
这篇关于rsync启动异常的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!