Have you used two or more different compiled binaries on the same box without deleting DB files in between runs?
Initially, I was using the 2.1.13 version of Cfengine from SunFreeware. I decided to switch to Blastwave's version of 2.1.14, which is compiled against a different version of BerkeleyDB. What I found was that Cfagent and Cfenvd were throwing lots of errors related to database issues. Cfenvd would core dump every time I started it. In order to resolve these issues, I removed all of the databases that Cfagent and Cfenvd were complaining about (run cfagent -v), then let cfagent recreate them on its next run. I didn't have any problems after that. Just to be sure and cleanup properly, you might first kill cfenvd and cfservd, then nuke everything under /var/cfengine, and perform a run of cfagent again. This should reinitialize all the databases and everything should work fine from then on. It seems that different versions of BerkeleyDB create files that are slightly different in format. Hope this helps, Luke -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of PAUL WILLIAMSON Sent: Thursday, June 02, 2005 2:26 PM To: [EMAIL PROTECTED]; help-cfengine@gnu.org Subject: Re: cfenvd dumping core I have almost the same situation. Although I get a decent core almost all the time. I have both binaries I've compiled (with the same versions of tools as you, but only sol8) and ones from someone on the list. Either way, running remotely always cores out cfexec or cfagent. Paul >>> "Baker, Darryl" <[EMAIL PROTECTED]> 06/02/05 1:51 PM >>> Gentlefolk, I'm having a problem where cfenvd is Seg faulting and sometimes taking cfexecd with it though I don't get a core from cfexecd. It doesn't happen with any consistency or pattern. Some machines will have it happen every other day others it will happen once a week. I have 134 machines and I can go 16 hours without a failure and then have 5 fail in the next 4 hours. This is with 2.1.14 on Solaris 8 and 9 boxes compiled with gcc 3.3.2 and linked with OpenSSL 0.9.7. The same version of OpenSSL is on all machines. _____________________________________________________________________ Darryl Baker Senior Unix Specialist gedas USA, Inc. Operational Services Business Unit 3800 Hamlin Road Auburn Hills, MI 48326 US phone +1-248-754-5341 fax +1-248-754-6399 [EMAIL PROTECTED] http://www.gedasusa.com _____________________________________________________________________ _______________________________________________ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine _______________________________________________ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine