rsync and cron : connection unexpectedly closed

Maurice Lucas mslucas at
Mon May 30 13:38:54 GMT 2005


I use rsync with the following command
#/usr/bin/rsync -ta rsync.server.domain::dir/* /destination
from the command prompt without any problem but if I use the same rsync 
command from cron I get the following error

daemon.warn: May 30 15:18:42 rsyncd[24703]: rsync: connection unexpectedly 
closed (0 bytes received so far) [receiver]
daemon.warn: May 30 15:18:42 rsyncd[24703]: rsync error: error in rsync 
protocol data stream (code 12) at io.c(420)

Could somebody tell me why.

With kind regards,

Maurice Lucas

More information about the rsync mailing list