伊人久久一区二区三区四区,色偷偷,色噜噜污网站,啦啦啦www视频在线观看,成人亚洲一区二区三区在线

綠色資源網:您身邊最放心的安全下載站! 最新軟件|熱門排行|軟件分類|軟件專題|廠商大全

綠色資源網

技術教程
您的位置:首頁軟件應用 → rsync: The server is configured to refuse --delete 錯誤的解決方法之一

rsync: The server is configured to refuse --delete 錯誤的解決方法之一

我要評論 2013/08/29 16:24:36 來源:綠色資源網 編輯:www.xianluan.cn [ ] 評論:0 點擊:544次

使用rsync向服務器端傳輸數據時,如果使用了 --delete 參數,有可能會遇到以下錯誤:

rsync: The server is configured to refuse --delete

rsync error: requested action not supported (code 4) at clientserver.c(685) [receiver=2.6.8]

rsync: read error: Connection reset by peer (104)

rsync error: error in rsync protocol data stream (code 12) at io.c(614) [sender=2.6.8]


出現上面的錯誤有可能是以下幾個原因:

(1)在rsync服務器端的配置文件 rsyncd.conf 中添加了 refuse options=delete。

(2)修改配置文件后,沒有重啟rsync服務器程序。

對rsync服務器來說,你修改了它的配置文件,如果不重啟rsync服務器程序的話,在某些情況下是可以生效的,而在某些情況下則是無效的。

據我已經試驗過的情況:在 rsyncd.conf 中,修改一個block(把以方括號括起來的一段配置稱為一個block)中的配置,不需要重啟rsync服務器程序,但是如果是公共全局配置參數(即:不在block中,而是在 rsyncd.conf 文件最上方的配置參數),那么就需要重啟rsync服務器程序,才能使配置生效。

順便再記一下rsync的各種返回值的含義:

0 Success

1 Syntax or usage error

2 Protocol incompatibility

3 Errors selecting input/output files, dirs

4 Requested action not supported: an attempt was made to manipulate 64-bit files on a platform that cannot support them; or an option was specified that is supported by the client and not by the server.

5 Error starting client-server protocol

10 Error in socket I/O

11 Error in file I/O

12 Error in rsync protocol data stream

13 Errors with program diagnostics

14 Error in IPC code

20 Received SIGUSR1 or SIGINT

21 Some error returned by waitpid()

22 Error allocating core memory buffers

23 Partial transfer due to error

24 Partial transfer due to vanished source files

30 Timeout in data send/receive

關鍵詞:rsync

閱讀本文后您有什么感想? 已有 人給出評價!

  • 0 歡迎喜歡
  • 0 白癡
  • 0 拜托
  • 0 哇
  • 0 加油
  • 0 鄙視
主站蜘蛛池模板: 江孜县| 平武县| 安宁市| 呼玛县| 望奎县| 怀化市| 柞水县| 丹凤县| 奈曼旗| 灵石县| 游戏| 青铜峡市| 辽阳县| 敦化市| 辽阳市| 宜丰县| 怀远县| 自贡市| 潍坊市| 克什克腾旗| 交口县| 定边县| 湖北省| 铜山县| 湛江市| 本溪市| 工布江达县| 广水市| 长子县| 青神县| 高淳县| 武隆县| 肇源县| 佛坪县| 团风县| 新平| 即墨市| 阜新| 浠水县| 云霄县| 纳雍县|