Re: Schedule Getting Ignored by cf-execd?

2010-04-06 Thread Nicolas Charles
Yes, you either launch cf-execd as a deamon, and then the schedule (and splaytime) is used, or you use the cron (cf-execd -F) and it launches cf-agent at the given time of the cron Nicolas On Tue, Apr 6, 2010 at 12:06 AM, wrote: > On Apr 6, 2010 8:51am, Bruce Carleton > wrote: >> I have a prob

Cfengine Help: The question about automake

2010-04-06 Thread forum
Forum: Cfengine Help Subject: The question about automake Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16783,16783#msg-16783 Greetings, Why is it that sometimes the source code will demand automake and other times it will not? Further is there a specific reason that

Cfengine Help: !! Too many open databases

2010-04-06 Thread forum
Forum: Cfengine Help Subject: !! Too many open databases Author: RIngersoll Link to topic: https://cfengine.com/forum/read.php?3,16784,16784#msg-16784 Recently cf-serverd on the policy server has started crashing with the following messages: Apr 6 00:00:47 maryann cf3[16900]: !! Too many open

Cfengine Help: Re: Strange logallconnections messages

2010-04-06 Thread forum
Forum: Cfengine Help Subject: Re: Strange logallconnections messages Author: RIngersoll Link to topic: https://cfengine.com/forum/read.php?3,16766,16785#msg-16785 Anyone else seeing this? ___ Help-cfengine mailing list Help-cfengine@cfengine.org https:/

Cfengine Help: Re: Strange logallconnections messages

2010-04-06 Thread forum
Forum: Cfengine Help Subject: Re: Strange logallconnections messages Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16766,16786#msg-16786 I've seen this message on occasion. It usually means there is an error in my policy causing the client to ask for a file that is has

RE: Schedule Getting Ignored by cf-execd?

2010-04-06 Thread Bruce Carleton
It would be nice to see a note added to the "--no-fork, -F" section of the cf-execd man page about this behavior. It will probably head off some questions to the mailing list. Best, --Bruce -Original Message- From: Nicolas Charles [mailto:charl...@gmail.com] S

Cfengine Help: Re: Strange logallconnections messages

2010-04-06 Thread forum
Forum: Cfengine Help Subject: Re: Strange logallconnections messages Author: RIngersoll Link to topic: https://cfengine.com/forum/read.php?3,16766,16788#msg-16788 You were right; there was a missing directory on the policy server. Now that I've fixed that there are no messages at all being logge

Cfengine Help: Re: Strange logallconnections messages

2010-04-06 Thread forum
Forum: Cfengine Help Subject: Re: Strange logallconnections messages Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16766,16789#msg-16789 I see the same thing (or rather I also see nothing). I don't know if this is a bug of if the Reference explanation is in error. ___

Cfengine Help: Re: The question about automake

2010-04-06 Thread forum
Forum: Cfengine Help Subject: Re: The question about automake Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,16783,16790#msg-16790 automake generates Makefile.in from Makefile.am autoconf generates configure from configure.ac and Makefile from Makefile.in. Thus, if you touch

Cfengine Help: Re: The question about automake

2010-04-06 Thread forum
Forum: Cfengine Help Subject: Re: The question about automake Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16783,16791#msg-16791 eystein Wrote: --- > I recommend just getting the required tools and > let them do thei

Cfengine Help: Re: !! Too many open databases

2010-04-06 Thread forum
Forum: Cfengine Help Subject: Re: !! Too many open databases Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,16784,16792#msg-16792 Hi there, My initial guess would be that the server opens database handles without closing them. Is there anything particular happening in your

Cfengine Help: Re: cf-execd & cf-monitord - Memory leaks?

2010-04-06 Thread forum
Forum: Cfengine Help Subject: Re: cf-execd & cf-monitord - Memory leaks? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,15628,16793#msg-16793 I see growth in cf-execd and cf-monitord. Tuesday April 06 2010 09:00:00 After just under twenty hours Cf processes, v3.0.4, ha

Cfengine Help: Re: The question about automake

2010-04-06 Thread forum
Forum: Cfengine Help Subject: Re: The question about automake Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,16783,16794#msg-16794 Does this happen with the tarballs or svn code? The tarballs shouldn't be as prone to this issue. In any case, you just have to install the tools

Cfengine Help: Re: The question about automake

2010-04-06 Thread forum
Forum: Cfengine Help Subject: Re: The question about automake Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16783,16795#msg-16795 Alas, I'm working with Linux, Solaris and AIX. This issue is with svn tag checkouts. In this case 3.0.4p2. I admit I'm not much of a buil

Setting a variable conditionally, depending on a class?

2010-04-06 Thread Diego Zamboni
Hi, Using cfengine community 3.0.4, I am trying to determine which network interface in a system matches a certain IP address pattern, and assign its name to a variable. So far, I am able to display the name of the matching interface, but can't figure out how to assign it to a variable. Please se

Cfengine Help: Re: Setting a variable conditionally, depending on a class?

2010-04-06 Thread forum
Forum: Cfengine Help Subject: Re: Setting a variable conditionally, depending on a class? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16796,16797#msg-16797 Interfaces and IP addresses are hard classes. No need to acquire them as such. reports: ipv4_10_10_10_1::

Cfengine Help: Re: Setting a variable conditionally, depending on a class?

2010-04-06 Thread forum
Forum: Cfengine Help Subject: Re: Setting a variable conditionally, depending on a class? Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,16796,16798#msg-16798 It seems like nobody understands that hard classes don't help here indeed. One might need the specific IPv4

Cfengine Help: Re: Setting a variable conditionally, depending on a class?

2010-04-06 Thread forum
Forum: Cfengine Help Subject: Re: Setting a variable conditionally, depending on a class? Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,16796,16799#msg-16799 I would blame the problem on reports: stanza as it doesn't accept classes:: and 'ifvarclass' at the same time. The

Cfengine Help: Re: Setting a variable conditionally, depending on a class?

2010-04-06 Thread forum
Forum: Cfengine Help Subject: Re: Setting a variable conditionally, depending on a class? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16796,16800#msg-16800 Show us a practical example describing your plight that cannot be resolved using hard classes.

Cfengine Help: Re: Setting a variable conditionally, depending on a class?

2010-04-06 Thread forum
Forum: Cfengine Help Subject: Re: Setting a variable conditionally, depending on a class? Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,16796,16801#msg-16801 Neil, I need the interface name in a variable because I need to insert that name into a configuration file. My spe

Cfengine Help: Re: Setting a variable conditionally, depending on a class?

2010-04-06 Thread forum
Forum: Cfengine Help Subject: Re: Setting a variable conditionally, depending on a class? Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,16796,16802#msg-16802 Just to confirm, I can achieve what I want by conditional execution of the corresponding editing promises. Here's t

Cfengine Help: Re: Setting a variable conditionally, depending on a class?

2010-04-06 Thread forum
Forum: Cfengine Help Subject: Re: Setting a variable conditionally, depending on a class? Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,16796,16803#msg-16803 This solution won't work for bindtointerface, for example. You'll just need the variable. That's it. __

Re: Cfengine Help: Re: Setting a variable conditionally, depending on a class?

2010-04-06 Thread Jesse Becker
On Tue, Apr 06, 2010 at 04:19:56PM -0400, fo...@cfengine.com wrote: >Subject: Re: Setting a variable conditionally, depending on a class? >Author: neilhwatson >Link to topic: https://cfengine.com/forum/read.php?3,16796,16800#msg-16800 > >Show us a practical example describing your plight that canno

Cfengine Help: --no-lock for cf-runagent?

2010-04-06 Thread forum
Forum: Cfengine Help Subject: --no-lock for cf-runagent? Author: christian Link to topic: https://cfengine.com/forum/read.php?3,16804,16804#msg-16804 Hi there Is there an option to use the --no-lock statement with cf-runagent? locally that works fine... (cf-agent --no-lock) maybe it is possible

Cfengine Help: Re: The question about automake

2010-04-06 Thread forum
Forum: Cfengine Help Subject: Re: The question about automake Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,16783,16806#msg-16806 Okey. See if the following helps. Do a checkout, configure, and make on one of the boxes as usual (should trigger automake, if needed). Then do