报错:

rsync: failed to connect to x.x.x.x: Connection refused (111)

解决:

服务端(被同步端的rsync没有开启)

# ps -ef|grep rsync(发现没有服务)

# rsync --daemon(即可)