Linux運維學習之rsync報錯整理5 Linux週末學習

Linux雲計算運維基礎學習中,關於rsync瞭解多少呢?咱們今天就來簡單瞭解下rsync報錯的一兩處問題

10、rsync: opendir "/kexue" (in dtsChannel) failed: Permissiondenied (13)

注意查看同步的目錄權限是否爲755

11、rsync: failed to connect to 203.100.192.66: Connection timed out(110)

rsync:failed to connect to 203.100.192.66: Connection timed out (110)

rsyncerror: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.5]

檢查服務器的端口netstat ?tunlp,遠程telnet測試。

可能因爲客戶端或者服務端的防火牆開啓 導致無法通信,可以設置規則放行 rsync(873端口) 或者直接關閉防火牆。

關服務端selinux 和iptabs 防火牆

還有一種在同步過程中可能會提示沒有權限 (將同步目錄加上SvcwRsync全部權限即可,更簡單的方法就是將SvcwRsync設爲管理員即可)

需要給/etc/rsync.password 600權限

[root@backup backup]# ll -ld/etc/rsync.password

-rw-------. 1 root root 20 Sep 22 21:16/etc/rsync.password

12、rsync: failed to connect to 10.10.10.170: Connection refused (111)

rsync:failed to connect to 10.10.10.170: Connection refused (111)

rsyncerror: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.5]

啓動服務:rsync --daemon--config=/etc/rsyncd.conf

以上就是分享Linux運維學習關於rsync報錯的兩個問題的簡單介紹了,想要衆多的IT工作者中脫穎而出,就需要擁有高深的技術,學習增值是必不可少的。學習之路,是貴在堅持的!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章