On Tue, Sep 23, 2003 at 11:18:13AM +0200, Martin Schröder wrote:
> Hi,
> we have two Linux systems (2.4.21 and 2.2.19) with rsync 2.5.6
> The 2.4.21 system does backups via cron by rsync to the 2.2.19
> system. 
> 
> Via cron rsync always exits with (it is called with --timeout=60)
> ----------
> rsync error: timeout in data send/receive (code 30) at io.c(103)
> ----------
> 
> Or with -vvvv
> ----------
> make_file(6,tex/alt/12.3/share/texmf/tex/latex/base/omxcmex.fd)
> io timeout after 60 seconds - exiting
> _exit_cleanup(code=30, file=io.c, line=103): entered
> rsync error: timeout in data send/receive (code 30) at io.c(103)
> _exit_cleanup(code=30, file=io.c, line=103): about to call exit(30)
> ----------
> 
> The file varies.
> 
> Interestingly this does not happen when rsync is called
> interactively. %-{
> 
> Any idea how to avoid this?

When there is a difference in behaviour between interactive
and cron it will be caused by a difference in the
environment.  Often PATH, sometimes "LD_*", sometimes
something else.

Also, use of more v than -vv can itself cause problems.

-- 
________________________________________________________________
        J.W. Schultz            Pegasystems Technologies
        email address:          [EMAIL PROTECTED]

                Remember Cernan and Schmitt
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to