for RSYNC on windows 2003 stand along server
Jason.Wang at CN.vesuvius.com
Jason.Wang at CN.vesuvius.com
Wed Dec 6 07:00:49 GMT 2006
Hello,
I have one question for RSYC running on windows 2003,
the rsyncd.conf like following
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
[tkbak]
path = /local/tkbak
comment = tk backup folder
uid = root
gid = root
read only = no
list = yes
auth users = root
secrets file = /etc/sync.pw
sync.pw content as following
root:1234
I use command : rsync -vzrtopg --progress --delete /cygdrive/d/TMPFILE
root at 10.160.9.19::tkbak --password-file=c:\rsync
C:\rsync content as following
root:1234
no any space at bottom
also I use chmod command change this file method to 600
I get the error @ERROR: auth failed on module tkbak
I check the log file, get information as following
2006/12/06 14:40:20 [3433] rsync: name lookup failed for 10.160.9.12: Name
or se
rvice not known
2006/12/06 14:40:20 [3433] auth failed on module tkbak from UNKNOWN
(10.160.9.12
)
but when I try the command rsync -vzrtopg --progress --delete
/cygdrive/d/TMPFILE root at 10.160.9.19::tkbak, and input password: 1234,
looks working
the log information as following
2006/12/06 14:38:27 [3427] rsync: name lookup failed for 10.160.9.12: Name
or se
rvice not known
2006/12/06 14:38:29 [3427] rsync to tkbak from root at UNKNOWN (10.160.9.12)
2006/12/06 14:38:29 [3427] deleting TMPFILE/New Text Document.txt
2006/12/06 14:38:29 [3427] TMPFILE/
2006/12/06 14:38:29 [3428] wrote 73 bytes read 174 bytes total size 1118
any idea why it can not working with option --password-file??
Best regards
Jason Wang
Vesuvius SuZhou China
TEL:+86 (0)512 67411707
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the rsync
mailing list