help-cfengine
[Top][All Lists]
Advanced

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

Re: cfagent from cron


From: Mark . Burgess
Subject: Re: cfagent from cron
Date: Thu, 8 Aug 2002 22:14:10 +0200 (MET DST)

Please don't ignore segfaults, report them. With gdb backtraces, preferably.
If you are using the latest, there should not be any segfaults. There
was a minor bug in 2.0.2 I think... but it's fixed now.

M

On  8 Aug, ABostick@mydoconline.com wrote:
> I have had problems with running cfexecd as a daemon, in that it seg faults
> at times and appears to have locking issues (processes never expire!)
> running this way.  But when I run cfagent -q -v from a host itself, it
> always works great. 
> 
> Seems to me in my case ( maybe I'm doing something wrong) that running
> cfagent from cron would be much more reliable though I haven't tested this.
> 
> I just need to get Openssh with BSM audit support installed do I can test
> the cron theory!
> 
> Thanks,
> Aaron
> 
> -----Original Message-----
> From: David J. Bianco [mailto:bianco@jlab.org]
> Sent: Thursday, August 08, 2002 2:16 PM
> To: Bostick, Aaron PH/US
> Cc: help-cfengine@gnu.org
> Subject: Re: cfagent from cron
> 
> 
> On Thu, 2002-08-08 at 15:05, ABostick@mydoconline.com wrote:
>> Is there a benefit from running "cfexecd -F" from cron instead of just
>> "cfagent" from cron?  Why the extra step?
>> 
> 
> The emails generated from cfexecd -F are usually a little nicer,
> even if just because they're easier to filter into folders because
> they have standard subject lines.
> 
> Actually, I'd go one step further.  Instead of running cfexecd -F 
> from cron, I run a short script that starts up cfexecd (without -F)
> if it's not already running. I also start cfexecd at boot.  The
> advantage of this is simple.  Since cfexecd and cron are separate
> and don't rely on each other to run, if one goes down the other can
> restart it.  My cfagent config restarts cron if it's not running
> (which has happened occasionally) and cron restarts cfexecd if it
> doesn't find it running.  A win-win situation.
> 
>       David
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

[Prev in Thread] Current Thread [Next in Thread]