weird rsync issue

Kevin Korb kmk at sanitarium.net
Tue Aug 21 14:56:44 MDT 2012


-----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 at host:/path syntax instead of user at 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.		Kevin at FutureQuest.net  (work)
	Orlando, Florida		kmk at 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-----


More information about the rsync mailing list