help-cfengine
[Top][All Lists]
Advanced

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

RE: cfagent from cron


From: Zhang, Anchi
Subject: RE: cfagent from cron
Date: Thu, 8 Aug 2002 15:22:18 -0500

cfservd in cfengine-2.0.3 running on 

 SunOS log2 5.8 Generic_108528-07 sun4u sparc SUNW,UltraSPARC-IIi-cEngine

core dumps when a client whose DNS A record does not exist tries to connect.  
Would you be interested in the core file?

Anchi

-----Original Message-----
From: Mark.Burgess@iu.hio.no [mailto:Mark.Burgess@iu.hio.no]
Sent: Thursday, August 08, 2002 3:14 PM
To: ABostick@mydoconline.com
Cc: bianco@jlab.org; help-cfengine@gnu.org
Subject: Re: cfagent from cron



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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://mail.gnu.org/mailman/listinfo/help-cfengine



reply via email to

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