help-cfengine
[Top][All Lists]
Advanced

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

Re: cfexecd doesn't run?


From: Luke A. Kanies
Subject: Re: cfexecd doesn't run?
Date: Mon, 17 May 2004 09:50:30 -0500 (CDT)

On Mon, 17 May 2004, Predrag Zecevic - Solaris System Administrator wrote:

Hi all,

i have cfengine 2.1.6 succsessfully compiled on Solaris 9 (SPARC), but I have strange problem:

when I want to run it (from cron, with command cfexecd --no-fork) it doesn't run at all (cfagent runs well). Using earlier versions of cfengine I used to see messages in /var/adm/messages, but now:
---<output>------------------------------------------------------
May 17 10:35:35 sunrise :sunrise[9536]: [ID 823470 user.error]  Couldn't run
May 17 10:35:35 sunrise :sunrise[9536]: [ID 801721 user.error] execv: Bad file number
May 17 10:35:35 sunrise :sunrise[9537]: [ID 823470 user.error]  Couldn't run
May 17 10:35:35 sunrise :sunrise[9537]: [ID 801721 user.error] execv: Bad file number
---</output>------------------------------------------------------

$10 says that you don't have cfagent in /var/cfengine/bin, which is where cfexecd expects to find it. Add the following to your update.conf:

links:
  /var/cfengine/bin/cfagent -> /usr/local/bin/cfagent

--
Yesterday upon the stair
I met a man who wasn't there.
He wasn't there again today --
I think he's from the CIA.
---------------------------------------------------------------------
Luke Kanies | http://abstractive.org | http://reductiveconsulting.com




reply via email to

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