jasmine214--love

          只有當你的內心總是充滿快樂、美好的愿望和寧靜時,你才能擁有強壯的體魄和明朗、快樂或者寧靜的面容。
          posts - 731, comments - 60, trackbacks - 0, articles - 0

          RSYNC常見問題

          Posted on 2011-10-28 10:22 幻海藍夢 閱讀(2524) 評論(1)  編輯  收藏 所屬分類: Linux版本管理配置管理

          問題一:

          @ERROR: chroot failed

          rsync error: error starting client-server protocol (code 5) at main.c(1522) [receiver=3.0.3]

          原因:

          服務器端的目錄不存在或無權限。創(chuàng)建目錄并修正權限可解決問題。

           

          問題二:

          @ERROR: auth failed on module tee

          rsync error: error starting client-server protocol (code 5) at main.c(1522) [receiver=3.0.3]

          原因:

          服務器端該模塊(tee)需要驗證用戶名密碼,但客戶端沒有提供正確的用戶名密碼,認證失敗。提供正確的用戶名密碼解決此問題。

           

          問題三:

          @ERROR: Unknown module ‘tee_nonexists’

          rsync error: error starting client-server protocol (code 5) at main.c(1522) [receiver=3.0.3]

          原因:

          服務器不存在指定模塊。提供正確的模塊名或在服務器端修改成你要的模塊以解決問題。

           

          問題四:

          password file must not be other-accessible

          continuing without password file

          Password:

          原因:

          這是因為rsyncd.pwd rsyncd.secrets的權限不對,應該設置為600。如:chmod 600 rsyncd.pwd

           

          問題五:

          rsync: failed to connect to 218.107.243.2: No route to host (113)

          rsync error: error in socket IO (code 10) at clientserver.c(104) [receiver=2.6.9]

          原因:

          對方沒開機、防火墻阻擋、通過的網絡上有防火墻阻擋,都有可能。關閉防火墻,其實就是把tcp udp的873端口打開。

           

          問題六:

          rsync error: error starting client-server protocol (code 5) at main.c(1524) [Receiver=3.0.7]

          原因:

          /etc/rsyncd.conf配置文件內容有錯誤。請正確核對配置文件。

           

          問題七:

          rsync: chown "" failed: Invalid argument (22)

          原因:

          權限無法復制。去掉同步權限的參數即可。(這種情況多見于Linux向Windows的時候)

          原文:
          http://hi.baidu.com/_k_morisato_/blog/item/a54b0ffb1dab3c9f9e5146ae.html

          Feedback

          # re: RSYNC常見問題 [未登錄]  回復  更多評論   

          2011-12-05 04:44 by moon
          問題7,如何去掉權限啊?
          主站蜘蛛池模板: 宜都市| 上饶县| 苏州市| 安泽县| 鲁甸县| 大石桥市| 黄平县| 玉树县| 嘉定区| 秭归县| 资溪县| 临清市| 太康县| 武平县| 临高县| 洞头县| 西丰县| 如皋市| 呼图壁县| 临澧县| 苍山县| 平乡县| 云安县| 晋中市| 札达县| 武夷山市| 博乐市| 黎川县| 闽侯县| 吉首市| 榆中县| 莱阳市| 信宜市| 娱乐| 潞城市| 东莞市| 正安县| 施甸县| 库尔勒市| 衡水市| 承德县|