help-cfengine
[Top][All Lists]
Advanced

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

Re: cfengine on RHEL4 64bit


From: Doug Chapman
Subject: Re: cfengine on RHEL4 64bit
Date: Thu, 12 May 2005 11:41:12 -0700

ok, I couldn't wait, here's the gdb output.

Looks like it choking on the HostRange() function.  When I comment it
out, cfagent works fine.  Comments?




(gdb) bt
#0  0x000000000041c82c in FuzzyHostParse (s=0x2 <Address 0x2 out of
bounds>) at item.c:1000
#1  0x0000000000426502 in HandleHostRange (args=0x7fbfff9e40
"sb-cpc,1-9", value=0x7fbfffd280 "") at functions.c:420
#2  0x000000000042997a in EvaluateFunction (f=0x6498c7
"HostRange(sb-cpc,1-9)", value=0x7fbfffd280 "") at functions.c:126
#3  0x0000000000425063 in HandleFunctionObject (fn=0x6498c7
"HostRange(sb-cpc,1-9)") at parse.c:648
#4  0x000000000044d834 in yylex () at cflex.l:431
#5  0x00000000004473d3 in yyparse () at y.tab.c:1076
#6  0x00000000004255f5 in ParseFile (filename=0x7fbfffe8d0
"/var/cfengine/inputs/cfagent.conf", env=0x7fbfffe8d0
"/var/cfengine/inputs/cfagent.conf")
   at parse.c:1051
#7  0x0000000000425bc0 in ParseInputFile (file=0x5d88c0
"cfagent.conf") at parse.c:82
#8  0x0000000000407c82 in main (argc=2, argv=0x7fbffff9e8) at cfagent.c:143


Here's the first few lines of cfagent.conf that's giving it heartburn:

groups:
  util                = ( qa-util01 sb-util01 )
  boot_server   = ( qa-util01 )
  cpc_server    = ( HostRange("sb-cpc",1-9) )




On 5/12/05, Doug Chapman <prjctgeek@gmail.com> wrote:
> Hi all,
> 
> I'm trying to get 2.1.14 running on a 64 bit RHEL 4 box, with a 2.6.9 kernel.
> 
> It's segfaulting right as it says,
> 
>     Looking for an input file /var/cfengine/inputs/cfagent.conf
> 
> Before I go through the motions of using gdb, can anyone tell me if
> they've got this working?
> Does BerkeleyDB version 4.2.52 play nice with cfengine?
> 
> TIA
> --
> Doug Chapman
> prjctgeek@gmail.com
> 


-- 
prjctgeek@gmail.com




reply via email to

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