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: Christian Pearce
Subject: Re: help with cfexecd/solaris/crontab
Date: Fri, 29 Apr 2005 11:01:32 -0400

On Thu, 2005-04-28 at 17:22 -0400, Dmitry Sazonov wrote:
> Christian Pearce wrote:
> > SMC cfengine package dumping core?  I don't believe it ;)
> 
> hmm, some of those blasterware mirrors are out of date, I had to check few 
> before I found the fresh one.
> and cfengine has dependencies. so my install is delayed  a little... I have 
> SMC openssl pkg that is used by openssh and others,
> I'm not sure they won't conflict or if it's good idea at all to install same 
> repackaged stuff over and over...

CSW install everything in /opt/csw and they statically link.  So you
should be okay.  Provided you don't add /opt/csw/..something../lib to
your LD_LIB... path.

> PKGname       Software name   Description
> CSWossl       openssl         OpenSSL Secure Sockets Layer lib and utilities
> CSWcommon     common  Installs some useful standard CSW filesystem symlinks 
> and files
> CSWbdb3       berkeleydb3     file based pseudo-database library
> 
> > 
> > Where did you define the schedule?
> 
> address@hidden inputs]# more /var/cfengine/inputs/cfagent.conf
> #
> # $Id: cfagent.conf,v 1.8 2005/04/20 15:57:13 cfengine Exp $
> 
> groups:
>         cfengine_server = ( inet640 )
> 
> control:
> 
>  any::
> 
>   domain                = ( aamc.org )
>   smtpserver    = ( mailrelay.aamc.org )
>   sysadm                = ( address@hidden )
>   server = ( inet640.aamc.org )
>   workdir = ( /var/cfengine )
>   configroot = ( /export/cfengine )
>   actionsequence        = ( shellcommands files )
>   ChecksumUpdates       = ( on )
>   ifelapsed = ( 0 )
>   Inform = ( on )
>   schedule   = ( any )

Is it still borking?  I never saw anyone use "any" as a schedule.  I
would like to think this would work.  At least that is what I would
expect.  But try doing

    schedule = ( Min05_10 Min10_15 Min15_20 Min20_25 Min25_30 Min30_35
                 Min35_40 Min40_45 Min45_50 Min50_55 Min55_60 )


> 
> [....]
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> > 
> > On Thu, 2005-04-28 at 16:11 -0400, Dmitry Sazonov wrote:
> > 
> >>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 )
> >>
> >>address@hidden 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...
> >>
> >>
> 
> 
-- 
Christian Pearce
http://www.sysnav.com
http://www.commnav.com
http://www.perfectorder.com

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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