I have rsyncd running on both the systems . When I am trying to check the connection it giving me following error:From host2: user@host2#rsync username@host1::sharepassword: [password] @ERROR: auth failed on module sharersync error: error starting client-server protocol (code 5) at main.c(1524) [Receiver=3.0.7]On host1:I have following configurationvim /etc/rsyncd.confmax connections = 2log file = /var/log/rsync.logtimeout = 300[share]comment = Public Sharepath = /home/subhransuread only = nolist = yesuid = backuppcgid = backuppcauth users = backuppcsecrets file = /etc/rsyncd.secretsOn host1tail /var/log/rsync.log2013/04/09 03:47:15 [29179] forward name lookup for cust-198-154-126-179.corexchange.com failed: No address associated with hostname2013/04/09 03:47:15 [29179] connect from UNKNOWN (198.154.126.179)2013/04/09 03:47:18 [29179] auth failed on module share from unknown (198.154.126.179): unauthorized userNote: rsyncd.secrets has correct user:passwd , No firewall issue.
rsync: error starting client-server protocol
rsync
I believe the uid and gid parameters in the server config file are for privilege separation.The auth users parameter in your config explicitly denies all other usernames than backuppc.So, you need backuppc in the rsyncd.secrets on Host1, as well as on the command line on Host2.Try removing the auth users statement from /etc/rsyncd.conf, or double-check that you are indeed user backuppc on Host2 (not user or username, as in the example From host2:).When troubleshooting, also try adding strict modes = false to your rsyncd config file.