weird rsync issue
Dariusz Dolecki
dariusz.dolecki at gmail.com
Tue Aug 21 14:52:38 MDT 2012
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#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20120821/91cbe66b/attachment.html>
More information about the rsync
mailing list