-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Did the rsync command output any errors?

Also, you are using rsyncd not rsync over ssh so your ssh keys are not
relevant.  If you want to use rsync over ssh then use the
user@host:/path syntax instead of user@host::module.

Finally, in your config file is that "uid = 0" on the same line as the
comment or was that a paste error?

On 08/21/12 16:52, Dariusz Dolecki wrote:
> 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/ 
> <mailto:test-abcd@%3Cserver%20name%3E::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#
> 
> 
> 
> 
> 
> 
> 

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
        Kevin Korb                      Phone:    (407) 252-6853
        Systems Administrator           Internet:
        FutureQuest, Inc.               ke...@futurequest.net  (work)
        Orlando, Florida                k...@sanitarium.net (personal)
        Web page:                       http://www.sanitarium.net/
        PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAz9gwACgkQVKC1jlbQAQc6+wCgmBqPmpK9W6gWz22sWJO1V84z
sl0AoNzJwk9rNGV0BSsPOPXfJihhy+RY
=zukk
-----END PGP SIGNATURE-----
-- 
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