Look for errors in /var/log/rsyncd.log. For security reasons they are
not all passed to the client.
- Dave
On Wed, Jan 22, 2003 at 06:52:33PM -0200, Breno Cardoso Perucchi
wrote:> Hello,
>
> I'm trying to do my rsync to copy a mirror of my site in another
webserver.
> I am trying to use RSYNCD .
> How I'll do for my rsync to copy my site website in the mirror ?
> Which is a command to copy the mirror with the password ?
> I've this websites about rsync
> http://sunsite.dk/info/guides/rsync/rsync-mirroring.html
> http://rsync.samba.org
>
> Somebody could help me? or Link ? Doc ? Howto ?
>
>
> This is my rsyncd.conf
> /usr/local/etc/rsyncd.conf
>
> log file = /var/log/rsyncd.log
> pid file = /var/run/rsyncd.pid
> lock file = /var/run/rsync.lock
>
> [rsyncd]
> path = /usr/local/www/data-dist/
> comment = Rsync Server
> use chroot = no
> max connections = 4
> uid = nobody
> gid = nobody
> read only = yes
> list = yes
> auth users = rsyncd
> secrets file = /usr/local/etc/rsyncd.scrt
>
> /usr/local/etc/rsyncd.scrt
> rsyncd:rsyncd
>
> bash-2.05b# rsync -a 10.0.0.1::
> rsyncd Rsync Server
> bash-2.05b# rsync -a 10.0.0.1::rsyncd
> Password:
> @ERROR: auth failed on module rsyncd
> rsync: connection unexpectedly closed (90 bytes read so far)
> rsync error: error in rsync protocol data stream (code 12) at io.c(150)
>
> Breno Cardoso Perucchi
> breno@omegatec.net
>