rsync启动: /usr/bin/rsync --daemon 守护进程启动(没装xinetd)
如果装了xinetd: service xinetd start (二者选一即可)
错误:@ERROR: auth failed on module client
rsync error: error starting client-server protocol (code 5) at main.c(1503) [sender=3.0.6]
查看日志显示:
auth failed on module client from localhost (10.x.x.x): password mismatch
检查密码文件,服务端密码文件格式:password 客户端密码文件格式:user:password
注:网上很多文档密码文件的格式是:user:password, 经过反复试验,发现是不严谨的。
试验版本:rsync-3.0.6-9.el6_4.1.x86_64 其它版本没试验,是不是也有这种情况
错误:
rsyncd version 3.0.6 starting, listening on port 873
bind() failed: Address already in use (address-family 2)
socket(10,1,6) failed: Address family not supported by protocol
unable to bind any inbound sockets on port 873
rsync error: error in socket IO (code 10) at socket.c(541) [receiver=3.0.6]
检查端口是否被占用
lsof -i:873