Re: Cfengine Help: Re: Lastseen in body agent control per documentation isn't valid

2011-01-19 Thread Bas van der Vlies
On 18-01-11 15:58, Jesse Becker wrote: > On Tue, Jan 18, 2011 at 09:42:57AM -0500, Bas van der Vlies wrote: >>> >>> Alternately, if you use a convoluted construct like this? This should >>> cause the hostseen() function and 'myhosts' variable to be evaluated >>> only once. >>> >> Thanks for tip.

3.1.2 binary package for Debian 4

2011-01-19 Thread Jonathan CLARKE
Hi, I just noticed that the Engine Room doesn't seem to have a binary package for Debian 4 for version 3.1.2 (3.0.5p1 had Debian 3 and 4). Are there plans for this, or has it been "deprecated"? Thanks, Jonathan -- == Jonathan CLARKE -

CFengine Tutorial on March 9 at SARA

2011-01-19 Thread Bas van der Vlies
Some information: * http://www.sara.nl/news/recent/20110119/tutorial_CFengine3_eng.html * https://cfengine.com/cftimes/ * http://events.linkedin.com/CFengine-Tutorial-March-9-SARA/pub/535002 -- * Bas

Cfengine Help: Re: cfengine svn1691 constant cf-promises firing?

2011-01-19 Thread no-reply
Forum: Cfengine Help Subject: Re: cfengine svn1691 constant cf-promises firing? Author: matter Link to topic: https://cfengine.com/forum/read.php?3,20167,20182#msg-20182 Interesting, I will investigate in a little more detail after my policy host calms down (doing a big run right now). I didn't l

Cfengine Help: Re: cfengine svn1691 constant cf-promises firing?

2011-01-19 Thread no-reply
Forum: Cfengine Help Subject: Re: cfengine svn1691 constant cf-promises firing? Author: matter Link to topic: https://cfengine.com/forum/read.php?3,20167,20183#msg-20183 Okay, so I am not crazy, cf-promises keeps firing with each connection. The fragment below appears on each client connection to

Cfengine Help: Re: cfengine svn1691 constant cf-promises firing?

2011-01-19 Thread no-reply
Forum: Cfengine Help Subject: Re: cfengine svn1691 constant cf-promises firing? Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20167,20184#msg-20184 Are you running this as a user that does not have write access to its home directory? The client threads never run this code, bu

Re: lastseen not updating

2011-01-19 Thread JIM AMANATIDIS, BLOOMBERG/ 731 LEXIN
I experienced the same issue running on Solaris 10, cfengine v3.0.5p1. Any luck in finding out? - Original Message - From: Deb Heller To: help-cfengine@cfengine.org At: 1/18 21:35:25 I forgot to mention that I stopped cfengine processes, removed cf_lastseen.tcdb - and restarted cfengi

Cfengine Help: Cfengine and AI

2011-01-19 Thread no-reply
Forum: Cfengine Help Subject: Cfengine and AI Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,20185,20185#msg-20185 This morning I read a fascinating article about a team at Stanford that built a Starcraft AI agent for an AI tournament(1). I wrote an article a while back

Cfengine Help: Re: Cfengine and AI

2011-01-19 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine and AI Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20185,20187#msg-20187 Neil, this is a fascinating topic and it reminds me of the the comparison between 1. the evolution of intelligence 2. the evolution of the immune system Both

Cfengine Help: Re: cfengine svn1691 constant cf-promises firing?

2011-01-19 Thread no-reply
Forum: Cfengine Help Subject: Re: cfengine svn1691 constant cf-promises firing? Author: matter Link to topic: https://cfengine.com/forum/read.php?3,20167,20188#msg-20188 I am running cf-serverd on the policy host as root. It has write access to everything. ___

Cfengine Help: Re: Cfengine and AI

2011-01-19 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine and AI Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,20185,20189#msg-20189 Done. http://arstechnica.com/civis/viewtopic.php?f=21&t=1134058 What if peer agents could share resources like a distributed computing service? ___

Cfengine Help: Re: cfengine svn1691 constant cf-promises firing?

2011-01-19 Thread no-reply
Forum: Cfengine Help Subject: Re: cfengine svn1691 constant cf-promises firing? Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20167,20190#msg-20190 Ok, I see that this is happening with or without new connections on a root server. Curious. Investigating. _

Cfengine Help: Re: cfengine svn1691 constant cf-promises firing?

2011-01-19 Thread no-reply
Forum: Cfengine Help Subject: Re: cfengine svn1691 constant cf-promises firing? Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20167,20191#msg-20191 Matt, please try svn now. I think there was simple a step missing to create a directory for the case of root. _

Cfengine Help: Re: lastseen not updating

2011-01-19 Thread no-reply
Forum: Cfengine Help Subject: Re: lastseen not updating Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,20176,20192#msg-20192 I've seen this before. IIRC I searched the work dir for all *lastseen* files and removed them. ___ H

Re: lastseen not updating

2011-01-19 Thread Frans Lawaetz
> I experienced the same issue running on Solaris 10, cfengine v3.0.5p1. > Any luck in finding out? Deb & Jim, I've opened a bug report on this issue if you want to keep track and/or chime in. https://cfengine.com/bugtracker/view.php?id=445 Deb - I don't know if Nova (which is what I think you u

Re: lastseen not updating

2011-01-19 Thread Mark Burgess
Nova uses Tokyocabinet, but .db files are Berkeley DB. Could it be that your version of Cfengine is compiled incorrectly somehow, or you've got some parts using one and not the other? On 01/19/2011 04:44 PM, Frans Lawaetz wrote: > >> I experienced the same issue running on Solaris 10, cfengine

Cfengine Help: Re: lastseen not updating

2011-01-19 Thread no-reply
Forum: Cfengine Help Subject: Re: lastseen not updating Author: matter Link to topic: https://cfengine.com/forum/read.php?3,20176,20194#msg-20194 With 3.1.2, I noticed that the updates to lastseen don't happen exactly after the client ends, it takes a minute or too. Also, what is up with the $(

Re: Cfengine Help: Cfengine and AI

2011-01-19 Thread Jesse Becker
On Wed, Jan 19, 2011 at 09:39:33AM -0500, no-re...@cfengine.com wrote: >Forum: Cfengine Help >Subject: Cfengine and AI >Author: neilhwatson >Link to topic: https://cfengine.com/forum/read.php?3,20185,20185#msg-20185 > >This morning I read a fascinating article about a team at Stanford that built >

Cfengine Help: Re: lastseen not updating

2011-01-19 Thread no-reply
Forum: Cfengine Help Subject: Re: lastseen not updating Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20176,20197#msg-20197 The lastseen directory is only used if you switch on detailed intermittency reporting. Otherwise it is not used. ___

Re: lastseen not updating

2011-01-19 Thread JIM AMANATIDIS, BLOOMBERG/ 731 LEXIN
Hi, I've been using the same build process, so not sure why it may have stopped working when I upgraded to 3.0.5p1. But to clarify, /var/cfengine/cf_LastSeen.db updates every once in a while, but files such as /var/cfengine/cf_LastSeen.db.HOSTNAME* do not update. I am using the following re

Re: lastseen not updating

2011-01-19 Thread Mark Burgess
Indeed, this is correct. The hostname files were never supposed to be active for normal users. This was only for testing, as you could quickly fill up a disk with these files. /var/cfengine/cf_LastSeen.db.HOSTNAME* has been moved to a sub directory and is switched off by default. Only the cf_last

Re: lastseen not updating

2011-01-19 Thread JIM AMANATIDIS, BLOOMBERG/ 731 LEXIN
ah, okay, well that explains why the individual files don't get updated. I'll remove those from the server. I'll stay tuned on why cf_lastseen.db only gets updated every so often. Thanks! - Original Message - From: Mark Burgess To: help-cfengine@cfengine.org At: 1/19 11:06:20 Ind

Re: lastseen not updating

2011-01-19 Thread Mark Burgess
cf_lastseen.db gets updated when 1. our client connects to an external server (outgoing) 2. our server dumps its cache of recent (incoming) connections (roughly every 15 mins) M On 01/19/2011 05:08 PM, JIM AMANATIDIS, BLOOMBERG/ 731 LEXIN wrote: > > ah, okay, well that explains why the individ

Re: lastseen not updating

2011-01-19 Thread Deb Heller
Right, I'm using Nova (should've mentioned that, sorry). At the same time, I appreciate the discussion on the communtiy version of lastseen and cfengine. I've got a ticket open with Cfengine wrt MAX_FD errors raising its ugly head again. This is causing client authentication problems as well,

Cf-agent holding open hundreds of network sockets open

2011-01-19 Thread Mike Svoboda
I’ve enabled my Cfengine infrastructure to perform 2 way data transfers. My clients are configured to run cf-serverd, so my Master Policy Server can login to pull some files off of each machine. To accomplish this, I execute two policies. * policy 1 extracts all the clients the MPS has s

Feature request -regcmp / retursnzero / execresult combined

2011-01-19 Thread Frans Lawaetz
Hi- This is part feature request but I expect someone will have some insights on another way to accomplish what I'm asking with the existing tools in cfengine. It's very common, from examples I have seen, to use "execresult" to store output in a variable after which "regcmp" will active a clas

Cfengine Help: Re: cfengine svn1691 constant cf-promises firing?

2011-01-19 Thread no-reply
Forum: Cfengine Help Subject: Re: cfengine svn1691 constant cf-promises firing? Author: matter Link to topic: https://cfengine.com/forum/read.php?3,20167,20204#msg-20204 Whoop, there it is. Works like a champ, it creates the masterfiles directory and everything. Nice work on the efficiency chan

Cfengine Help: Re: cfengine svn1691 constant cf-promises firing?

2011-01-19 Thread no-reply
Forum: Cfengine Help Subject: Re: cfengine svn1691 constant cf-promises firing? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,20167,20206#msg-20206 Matt, Could share your 'super optimize' efforts? ___ Help-cfengine mailing li

Cfengine Help: Re: Feature request -regcmp / retursnzero / execresult combined

2011-01-19 Thread no-reply
Forum: Cfengine Help Subject: Re: Feature request -regcmp / retursnzero / execresult combined Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,20205,20207#msg-20207 If the execresult, in the vars section, fails from time to time then I either have to live with that and kno

Re: Cf-agent holding open hundreds of network sockets open

2011-01-19 Thread Seva Gluschenko
Mike, cf-aget holds the socket because of connection caching which seems quite reasonable for an ordinary agent tasks. You've just put it into condition where caching harms. If we were discussing the ideal model, cf-agent would detect the maximum number of file descriptors available and enforce ca

Cfengine Help: Re: cfengine 3.1.2 segfaulting again...

2011-01-19 Thread no-reply
Forum: Cfengine Help Subject: Re: cfengine 3.1.2 segfaulting again... Author: Sal Link to topic: https://cfengine.com/forum/read.php?3,20083,20209#msg-20209 Thanks again Eystein. I was able to download the src from the svn source and compile the patched version. It seems to be holding up. I have

Re: Cf-agent holding open hundreds of network sockets open

2011-01-19 Thread Mike Svoboda
Sounds good to me with the feature request! But to solve the problem I am trying to accomplish The only workaround I can think would be to split my "client list" up into 4 or 5 separate files, and then execute the copy_from against a file based upon a class based time? Or does anyone else ha

Cfengine Help: Re: Cf-agent holding open hundreds of network sockets open

2011-01-19 Thread no-reply
Forum: Cfengine Help Subject: Re: Cf-agent holding open hundreds of network sockets open Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,20203,20211#msg-20211 You could spit up your client list automatically using 'dist' classes. __

Re: Cf-agent holding open hundreds of network sockets open

2011-01-19 Thread Mark Burgess
Mike, it sounds like what you need is the commercial version. Sorry to be a "sales guy" on the community list but I just point this out FYI that this is the kind of problem the commercial version was designed to address. Mark On 01/19/2011 08:10 PM, Mike Svoboda wrote: > Sounds good to me with

Cfengine Help: Re: cfengine svn1691 constant cf-promises firing?

2011-01-19 Thread no-reply
Forum: Cfengine Help Subject: Re: cfengine svn1691 constant cf-promises firing? Author: matter Link to topic: https://cfengine.com/forum/read.php?3,20167,20213#msg-20213 Sure, let me let it run for a week and see if all is well. The optimization is nothing fancy, but it is extremely picky. _

Re: Cf-agent holding open hundreds of network sockets open

2011-01-19 Thread Ed - 0x1b, Inc.
Well it is a full moon tonight so I guess a little "sales guy" is OK - just keep the howling down after midnight... :) so is that the new "sales guy" template? On Wed, Jan 19, 2011 at 12:51 PM, Mark Burgess wrote: > > Mike, > > it sounds like what you need is the commercial version. Sorry to be

3.1.2 cf-serverd dumps core, debug output attached.

2011-01-19 Thread JIM AMANATIDIS, BLOOMBERG/ 731 LEXIN
Built 3.1.2 on Solaris 10 using Sun Studio 12, keeps dumping core. dbx output shows below Anyone know of a fix for this issue? Thanks, Jim (dbx) where current thread: t@156 [1] strcmp(0x0, 0xff2b714c, 0xd48eb4, 0x0, 0x80808080,

Re:3.1.2 cf-serverd dumps core, debug output attached.

2011-01-19 Thread JIM AMANATIDIS, BLOOMBERG/ 731 LEXIN
Should have put this as well, (bad cut/paste): ... Reading libavl.so.1 Reading libc_psr.so.1 t@156 (l@156) terminated by signal SEGV (no mapping at the fault address) 0xfe6b1d60: strcmp+0x0160: ld [%o1 + %o2], %o3 Current function is DeleteScope Built 3.1.2 on Solaris 10 using Sun St

Re: 3.1.2 cf-serverd dumps core, debug output attached.

2011-01-19 Thread Seva Gluschenko
This problem had been discussed recently in the list. The current svn must have it fixed. 2011/1/20 JIM AMANATIDIS, BLOOMBERG/ 731 LEXIN : > > Should have put this as well, (bad cut/paste): > > ... > Reading libavl.so.1 > Reading libc_psr.so.1 > t@156 (l@156) terminated by signal SEGV (no mapping