help-cfengine
[Top][All Lists]
Advanced

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

[Fwd: Couldn't obtain lock, already running?]


From: Hans Deragon
Subject: [Fwd: Couldn't obtain lock, already running?]
Date: Fri, 19 Sep 2003 14:20:39 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030905

Again, my appologies if this is a dupe... I do not understand it what is going on with my email account, since whenever I poste to myself, I get my emails...


Sincerely,
Hans Deragon

-------- Original Message --------
Message-ID: <3F69F6DE.3070902@deragon.biz>
Date: Thu, 18 Sep 2003 14:18:06 -0400
From: Hans Deragon <hans@deragon.biz>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030905
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: help-cfengine@gnu.org
Subject: Couldn't obtain lock, already running?
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Greetings.


  Why do I get some errors about a lock that could not be obtained?


----->
                  New temporary class additions
                  --------( Pass 2 )-------
                             ssh
Actionsequence item editfiles
Editfile()
DoEditFile(/root/.ssh/authorized_keys2)
IgnoredOrExcluded(/root/.ssh/authorized_keys2)
GetLock(editfile.ssh,_root__ssh_authorized_keys2,time=1063906402),
ExpireAfter=120, IfElapsed=0
GetLastLock()
CheckOldLock(lock.__lmc_cf.localhost.editfile.ssh._root__ssh_authorized_keys2)
Lock lock.__lmc_cf.localhost.editfile.ssh._root__ssh_authorized_keys2 last ran
at Thu Sep 18 11:39:21 2003

Couldn't obtain lock for
lock.__lmc_cf.localhost.editfile.ssh._root__ssh_authorized_keys2 (already 
running!)
<-----


  I have a hierarchy of cf scripts.  My first cf script imports other cf
scripts, which themselves import other cf scripts until ¨leaf¨ cf scripts are
called and executed.  If I run ¨leaf¨ cf scripts directly, it works.  But I get
the locking problem whenever I run the master cf script.

  Off course, there is no other cfagent running in parallel.  Thus, I do not
understand the ¨(already running!)¨ message.

  Anybody experienced the same problem or have some comments?


Best regards,
Hans Deragon
--
Consultant en informatique/Software Consultant
Deragon Informatique inc.         Open source:
http://www.deragon.biz            http://swtmvcwrapper.sourceforge.net
mailto://hans@deragon.biz         http://autopoweroff.sourceforge.net


--
Best regards,
Hans Deragon
--
Consultant en informatique/Software Consultant
Deragon Informatique inc.         Open source:
http://www.deragon.biz            http://swtmvcwrapper.sourceforge.net
mailto://hans@deragon.biz         http://autopoweroff.sourceforge.net






reply via email to

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