Posted on 2011-10-28 10:22
幻海藍(lán)夢(mèng) 閱讀(2519)
評(píng)論(1) 編輯 收藏 所屬分類:
Linux 、
版本管理 、
配置管理
問(wèn)題一:
@ERROR: chroot failed
rsync error: error starting client-server protocol (code 5) at main.c(1522) [receiver=3.0.3]
原因:
服務(wù)器端的目錄不存在或無(wú)權(quán)限。創(chuàng)建目錄并修正權(quán)限可解決問(wèn)題。
問(wèn)題二:
@ERROR: auth failed on module tee
rsync error: error starting client-server protocol (code 5) at main.c(1522) [receiver=3.0.3]
原因:
服務(wù)器端該模塊(tee)需要驗(yàn)證用戶名密碼,但客戶端沒(méi)有提供正確的用戶名密碼,認(rèn)證失敗。提供正確的用戶名密碼解決此問(wèn)題。
問(wèn)題三:
@ERROR: Unknown module ‘tee_nonexists’
rsync error: error starting client-server protocol (code 5) at main.c(1522) [receiver=3.0.3]
原因:
服務(wù)器不存在指定模塊。提供正確的模塊名或在服務(wù)器端修改成你要的模塊以解決問(wèn)題。
問(wèn)題四:
password file must not be other-accessible
continuing without password file
Password:
原因:
這是因?yàn)閞syncd.pwd rsyncd.secrets的權(quán)限不對(duì),應(yīng)該設(shè)置為600。如:chmod 600 rsyncd.pwd
問(wèn)題五:
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]
原因:
對(duì)方?jīng)]開(kāi)機(jī)、防火墻阻擋、通過(guò)的網(wǎng)絡(luò)上有防火墻阻擋,都有可能。關(guān)閉防火墻,其實(shí)就是把tcp udp的873端口打開(kāi)。
問(wèn)題六:
rsync error: error starting client-server protocol (code 5) at main.c(1524) [Receiver=3.0.7]
原因:
/etc/rsyncd.conf配置文件內(nèi)容有錯(cuò)誤。請(qǐng)正確核對(duì)配置文件。
問(wèn)題七:
rsync: chown "" failed: Invalid argument (22)
原因:
權(quán)限無(wú)法復(fù)制。去掉同步權(quán)限的參數(shù)即可。(這種情況多見(jiàn)于Linux向Windows的時(shí)候)
原文:
http://hi.baidu.com/_k_morisato_/blog/item/a54b0ffb1dab3c9f9e5146ae.html