error in rsync protocol data stream

Tim Conway conway at us.ibm.com
Tue May 18 15:32:34 GMT 2004


It appears that the command you show is not a complete copy/paste job. 
When you changed "backup.amlaw.com" or whatever it was to 
"backup.domain.com", you also removed one of the colons between that and 
"jspfsp", as the only time rsync does a chroot is as a server.
A chroot failure is almost invariably an erroneous "path =" line in the 
rsyncd.conf, and since it works otherwise, we know your OS can do chroot. 
Check the directory named under the "[jspfsp]" entry in your rsyncd.conf.

Tim Conway
Unix System Administration
Contractor - IBM Global Services
desk:3032734776
conway at us.ibm.com








I am doing this to rsync a file:

rsync -avz
/usr/local/websphere/appserver/hosts/default_host/jsp/servers/includes/file1
.txt backup.domain.com:jspfsp >> /var/log/rsync_backup.log

I get these error:

@ERROR: chroot failed
rsync: connection unexpectedly closed (34 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)

I am rsyncing several folders between these two servers with no problem. 
But
now I keep getting this rsyncing a single script.





More information about the rsync mailing list