help-cfengine
[Top][All Lists]
Advanced

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

Re: help with cfexecd/solaris/crontab


From: Dmitry Sazonov
Subject: Re: help with cfexecd/solaris/crontab
Date: Thu, 28 Apr 2005 16:11:11 -0400
User-agent: Mozilla Thunderbird 1.0.2-1.3.2 (X11/20050324)

Christian Pearce wrote:
More importantly what does this return:

    /var/cfengine/bin/cfagent -z -D from_cfexecd

This will tell you exact what schedule is comfing from cfagent.conf.
You need define the schedule there and not inside cfservd.conf.  Right?

I tried with or without the schedule. now I added it back  - ( any )

[root@inet640 inputs]# /var/cfengine/bin/cfagent -z -D from_cfexecd
[any]

but that dump core anyway: /usr/local/sbin/cfexecd --no-splay -F -v -d2
cfpopen(/var/cfengine/bin/cfagent -z -D from_cfexecd)
cfpclose(pp)
cfpopen - Waiting for process 15848
No schedule defined in cfagent.conf, defaulting to Min00_05
Appending [Min00_05]
Sleeping...
Segmentation Fault (core dumped)


Don't run with a -v out of cron.  You will get messages ever 30 minutes.
This is no good.

yes, that was for debug purposes.


BTW: Ditch SMC's cfengine.  Go with www.blastwave.org's cfengine it is
much better.  Or at least the way it is packages.  Plus they have 2.1.14
out.  Which has important fixes.

Thanks, I'll try that package and report shortly...


--
Dmitry Sazonov +1(202)862-6168
UNIX sysadmin, AAMC




reply via email to

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