Thanks a lot, now it works. br
Matt McCutchen-7 wrote: > > 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 > > > -- > Please use reply-all for most replies to avoid omitting the mailing list. > To unsubscribe or change options: > https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html > -- View this message in context: http://www.nabble.com/rsync%3A-failed-to-set-times-on-***-tp18242600p18277138.html Sent from the Samba - rsync mailing list archive at Nabble.com. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html