Re: portsnap and updates using cron

From: Norberto Meijome (freebsd_at_meijome.net)
Date: 08/31/05

  • Next message: Sean P. Malone: "Re: How to get /etc/ssh back"
    Date: Thu, 01 Sep 2005 02:07:57 +1000
    To: martin hudec <corwin@aeternal.net>
    
    

    martin hudec wrote:
    > Hello,
    >
    > On Wed, Aug 31, 2005 at 08:54:31AM -0500 or thereabouts, Kevin Kinsey wrote:
    >
    >>Not sure. Check the logs, etc. If you're familiar with ktrace,
    >>kdump, etc., you could follow the program's progress if you
    >>find no log information.
    >
    >
    > /var/log/cron reports me that cronjob was done. No I am not familiar
    > with ktrace, kdump etc.

    man ktrace
    man kdump

    in a nutshell: ktrace shows the kernel calls that a process is
    executing. It creates a dump file which you can view with kdump. similar
    (better actually) than strace and whatever other ?trace found in linux.

    >
    > First, I tell my custom script (with environment set by PATH=) to call
    > portsnap fetch && portsnap update, but he is unable to fetch anything
    > at all, therefore I started to use portsnap cron and I hoped to be
    > able to fetch it.

    then it seems it's a portsnap problem and not cron...get it working in
    your normal shell first and then focus on automating it. (btw, what's
    wrong with (cd /usr/ports/ ; make update) , or a cvsup cmd line?)
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Sean P. Malone: "Re: How to get /etc/ssh back"

    Relevant Pages

    • Re: portsnap and updates using cron
      ... Check the logs, etc. ... If you're familiar with ktrace, ... with ktrace, kdump etc. ... portsnap fetch && portsnap update, but he is unable to fetch anything ...
      (freebsd-questions)
    • Re: portsnap and updates using cron
      ... ktrace shows the kernel calls that a process is ... It creates a dump file which you can view with kdump. ... Portsnap is working pretty well in normal shell. ...
      (freebsd-questions)
    • Re: running 5.1-RELEASE with no procfs mounted (lockups?)
      ... This works if the process exits after the EAGAIN; ... The ktrace output could be examined after killing the process, ... be examined using kdump. ... The problem is that ktrace/kdump rendesvous at a file; truss does ...
      (freebsd-hackers)
    • Re: ktrace/kdump question: intrepretting calls.
      ... > ktrace and kdump. ... At the relevant point in the kdump it says: ... However Linux syscall #91 is munmap, ... To unsubscribe, ...
      (freebsd-hackers)