rsync: failed to set times on *** (and "inflate returned -3")

Matt McCutchen matt at mattmccutchen.net
Thu Jul 3 21:01:26 GMT 2008


On Thu, 2008-07-03 at 01:58 -0700, stratton wrote: 
> >Are you sure?  Please post your daemon configuration and "ls -l" output
> >for the affected destination files.
> 
> the destination files all belong to the rsyncd user as i made a chown -R
> rsyncd.  on the whole destination directory tree.
> my daemon config looks like that:
> 
> motd file = /etc/rsyncd.motd
> log file = /var/log/rsyncd.log
> pid file = /etc/rsyncd.pid
> syslog facility = syslog
> secrets file = /etc/rsyncd.secrets
> use chroot = false
> strict modes = false
> 
> ***
> some more directories
> ***
> 
> [dyndns]
>         comment = "a comment"
>         path = /path/to/directory
>         transfer logging = yes
>         read only = no
>         auth users = CWsync

If you are starting the daemon as root, you need "uid = rsyncd" in the
configuration file to tell it to become user rsyncd; otherwise, the
default is to become "nobody".

> >The loss of the connection looks like a separate problem.  See if there
> >is any information about what happened in the daemon's log file.
> >Running the client and daemon under strace might yield more information.
> 
> the daemon log gives these error messages:
> *****
> 2008/07/02 19:01:41 [25148] rsync: mkstemp "/admin/.searchip.php.XEcBaw" (in
> dyndns) failed: Permission denied (13)
> 2008/07/02 19:01:41 [25148] rsync: mkstemp "/admin/.set_access.php.d2eDSw"
> (in dyndns) failed: Permission denied (13)
> 2008/07/02 19:01:41 [25148] inflate returned -3 (91 bytes)
> 2008/07/02 19:01:41 [25148] rsync error: error in rsync protocol data stream
> (code 12) at token.c(421) [receiver=2.6.8]
> 2008/07/02 19:01:41 [25148] rsync: connection unexpectedly closed (5574
> bytes received so far) [generator]
> 2008/07/02 19:01:41 [25148] rsync error: error in rsync protocol data stream
> (code 12) at io.c(463) [generator=2.6.8]

The "inflate returned -3" is an internal error in rsync's compression
code.  Since you aren't willing to upgrade rsync, just omit the -z
option to work around the problem.

Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/rsync/attachments/20080703/ccb9319a/attachment.bin


More information about the rsync mailing list