Re: Using rsync to get the Fedora repositories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rick Stevens wrote:

> Running interactively but not under cron usually indicates that you've
> forgotten that running under cron, you don't have the same environment
> as you do in an interactive session. So, make sure your environment is
> set correctly in the script (such as the PATH and such).

Thanks for the reply, Rick. I'm certainly aware of the issue. But note
that I have four nearly identical sub-scripts, three of which work
flawlessly and one of which reports the error only under cron. The error
message seems network related, not environment related, though I don't
know for sure what the error means.

  rsync: safe_read failed to read 1 bytes [Receiver]: Connection reset
by peer (104)
  rsync error: error in rsync protocol data stream (code 12) at
io.c(276) [Receiver=3.1.3]

The only online reference I could find to that message suggested
possible missing directories. But the scripts all use absolute pathnames
and all of them do exist.
-- 
  Dave Close

 "Learn from the mistakes of others.
  You can never live long enough to make them all yourself."
    --Groucho Marx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux