help-cfengine
[Top][All Lists]
Advanced

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

Problem with methods


From: Sven Mueller
Subject: Problem with methods
Date: Wed, 04 Aug 2004 18:57:46 +0200
User-agent: Thunderbird 0.6 (Windows/20040502)

Hi.

Today we ran into a problem where a Method is not executed properly with cfengine 2.1.7p1

The part of the problem which is obvious is the following:

cfengine:mxfwd:InstallLeososPackage: Read arg from file /var/cfengine/rcfengine::/var/cfengine/modules/InstallLeososPackage.conf:Missing module argument package (/var/cfengine/rpc_in/localhost_localhost_InstallLeososPackage_MD5=6e7164f8f0d66085bfe19249c0db64e4_4

This much is displayed during a normal "cfagent" run. If I enable verbose/debug messages, I see (among other things of course:

root@mxfwd /var/cfengine # grep -n 0d66085bfe19249c0db64e4_4 /tmp/cf.log
14099:Create arg_file /var/cfengine/rpc_in/localhost_localhost_InstallLeososPackage_MD5=6e7164f8f0d66085bfe19249c0db64e4_4

14739:cfengine:mxfwd:InstallNagiosCheck: Examining child's incoming (localhost_localhost_InstallLeososPackage_MD5=6e7164f8f0d66085bfe19249c0db64e4_4)

14743:cfengine:mxfwd:InstallNagiosCheck: Purging expired method /var/cfengine/rpc_in/localhost_localhost_InstallLeososPackage_MD5=6e7164f8f0d66085bfe19249c0db64e4_4

16254:cfengine:mxfwd:InstallLeososPackage: Read arg from file /var/cfengine/rcfengine::/var/cfengine/modules/InstallLeososPackage.conf:Missing module argument package (/var/cfengine/rpc_in/localhost_localhost_InstallLeososPackage_MD5=6e7164f8f0d66085bfe19249c0db64e4_4)

16276:cfengine:mxfwd:InstallLeososPackage: Read arg from file /var/cfengine/rpc_in/localhost_localhost_InstallLeososPackage_MD5=6e7164f8f0d66085bfe19249c0db64e4_4

Why does cfagent (when called for) InstallNagiosCheck remove a file which isn't even intended for it? In fact, the cfagent child process for InstallNagiosCheck purges just the file about which the later child process for InstallLeososPackage complains about (it's absence).

Any hints? Is this fixed in cfengine 2.1.8? The Chnagelog entry
    Bugs in implementation of remote method protocol. Classes were
          not transferred properly.
gives a hint it might be.

Would appreciate any help.

cu,
sven




reply via email to

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