1. 程式人生 > >rsync錯誤處理-failed to connect to 192.168.xxx.xxx: Connection refused (111)

rsync錯誤處理-failed to connect to 192.168.xxx.xxx: Connection refused (111)

===================================================================================================

rsync:failed to connect to 192.168.xxx.xxx: Connection refused (111)

rsync error: error in socket IO (code 10) at clientserver.c(124) [sender=3.0.6]

rsync連線失敗

解決方法:

1.首先telnet 873埠是否OK?

       telnet 192.168.xxx.xxx 873

     如果telnet不通,說明873埠未開

2.登入到192.168.xxx.xxx伺服器檢查相關配置

   確定/etc/xinetd.d/rsync檔案中disable = no

   ps -ef | grep rsync    -----rsync

   netstat -lunpt             -----防火牆