[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
help with cfexecd/solaris/crontab
From: |
Dmitry Sazonov |
Subject: |
help with cfexecd/solaris/crontab |
Date: |
Tue, 26 Apr 2005 16:31:19 -0400 |
User-agent: |
Mozilla Thunderbird 1.0.2-1.3.2 (X11/20050324) |
Hello!
I schedulled cfexecd to run from crontab on Solaris8/9 as in examples:
0,30 * * * * /usr/local/sbin/cfexecd -F -v
but it complains (via cron email):
---------------------------------------------------------------------
Starting server
---------------------------------------------------------------------
No schedule defined in cfagent.conf, defaulting to Min00_05
------------------------------------------------------------------
LocalExec at Tue Apr 26 16:00:03 2005
------------------------------------------------------------------
I can tell it's not running because of the output of cfshow -s on the policy
host
According to docs schedule doesn't need to be defined for non-daemon cfexecd.
I even defined the schedule - but it still doesn't do anything.
The only way I can make cfagent to rung is by invoking it remotelly via cfservd
(via cfrun) manually.
cfagent works fine then...
schedule = ( Min00_05 Min30_35 )
pkginfo -l SMCcfeng
PKGINST: SMCcfeng
NAME: cfengine
CATEGORY: application
ARCH: sparc
VERSION: 2.1.13
BASEDIR: /usr/local
VENDOR: Mark Burgess
PSTAMP: Steve Christensen
INSTDATE: Mar 08 2005 11:39
[root@inet640 inputs]# cat 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 = ( dsazonov@aamc.org )
server = ( inet640.aamc.org )
workdir = ( /var/cfengine )
configroot = ( /export/cfengine )
actionsequence = ( shellcommands files )
ChecksumUpdates = ( on )
ifelapsed = ( 0 )
Inform = ( on )
schedule = ( Min00_05 Min30_35 )
Any debbuging ideas are welcome. Thanks!
--
Dmitry Sazonov +1(202)862-6168
UNIX sysadmin, AAMC
- help with cfexecd/solaris/crontab,
Dmitry Sazonov <=
Re: help with cfexecd/solaris/crontab, Dmitry Sazonov, 2005/04/28