rsync fails on some directories while on others it works without issue.

Here are the inportant items:

On theserver from which directories are being copied:

more /etc/rsyncd.conf
<snip>
[abcd]
   path = /xyz/abcd
   comment = abcd   uid = 0
   gid = 3
   read only = yes
   list = no
   auth users = test-abcd
   secrets file = /etc/rsyncd.passwd
   strict modes = true
   hosts allow = <IP>
   refuse options = delete*
   transfer logging = true

<snip>

tail -f  /var/adm/rsyncd.log
2012/08/21 14:10:31 [15544] connect from hostname (IP)
2012/08/21 14:10:36 [15544] rsync: connection unexpectedly closed (22 bytes
received so far) [receiver]
2012/08/21 14:10:36 [15544] rsync error: error in rsync protocol data
stream (code 12) at io.c(600) [receiver=3.0.6]
2012/08/21 14:22:04 [15784] connect from hostname (IP)
2012/08/21 14:22:10 [15784] rsync: connection unexpectedly closed (22 bytes
received so far) [receiver]
2012/08/21 14:22:10 [15784] rsync error: error in rsync protocol data
stream (code 12) at io.c(600) [receiver=3.0.6]

ON the client to which directories are being copied to:

The command being run is:

/opt/rsync/bin/rsync -av --delete --exclude-from=/var/scripts/<path to
dir>.exclude test-abcd@<server name>::abcd/data/  /<dir>/data

and it prompts for a password, ssh has been setup for passwordless
passthrough for root

bash-3.00# ssh <server> date
Tuesday, August 21, 2012 03:51:58 PM CDT
bash-3.00#
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to