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