rsync 卡在密碼檔 - Linux

By Annie
at 2012-04-10T09:52
at 2012-04-10T09:52
Table of Contents
我下了這指令:
/usr/bin/rsync -avz --delete --password-file=/etc/rsyncd.secrets /hom
e/andy/tmp [email protected]::test
出現error message:
@ERROR: auth failed on module test
rsync error: error starting client-server protocol (code 5) at main.c(1518)
自行檢查:
1.到192.168.9.2電腦上檢查 /etc/rsyncd.conf 上面的 auth user 確定有加入root
2.檢查rsyncd.secrets檔案 確定權限為600 也確定內容為root的密碼
3.拿掉 password-file 測試 下指令
/usr/bin/rsync -avz --delete /home/andy/tmp [email protected]::test
手動key入正確密碼 能夠成功完成同步
手動key不正確密碼 又出現
@ERROR: auth failed on module test
rsync error: error starting client-server protocol (code 5) at main.c(1518)
我有確定 /etc/rsyncd.secrets 的內容確實是跟我手動key的密碼相同!!
想請問該如何排解這個error?
--
Tags:
Linux
All Comments

By Daniel
at 2012-04-14T06:44
at 2012-04-14T06:44

By Ursula
at 2012-04-16T20:46
at 2012-04-16T20:46
Related Posts
ip rule處理多條adsl線路請教。

By Quanna
at 2012-04-10T09:43
at 2012-04-10T09:43
使用者權限

By Quintina
at 2012-04-09T16:11
at 2012-04-09T16:11
VSFTP權限問題

By Erin
at 2012-04-09T15:03
at 2012-04-09T15:03
Sony Linux 相關原始碼

By Damian
at 2012-04-09T09:33
at 2012-04-09T09:33
usb安裝

By Quanna
at 2012-04-09T02:11
at 2012-04-09T02:11