Forum: Cfengine Help Subject: Re: cf-agent segfaulting Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,17904,17906#msg-17906
$ gdb /var/cfengine/bin/cf-agent GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i386-pc-solaris2.10"... (gdb) run -v Starting program: /var/cfengine/bin/cf-agent -v warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.) warning: Lowest section in /usr/lib/libpthread.so.1 is .dynamic at 00000074 warning: Lowest section in /usr/lib/libthread.so.1 is .dynamic at 00000074 cf3 Cfengine - autonomous configuration engine - commence self-diagnostic prelude cf3 ------------------------------------------------------------------------ cf3 Work directory is /var/cfengine cf3 Making sure that locks are private... cf3 Checking integrity of the state database cf3 Checking integrity of the module directory cf3 Checking integrity of the PKI directory cf3 Looking for a source of entropy in /var/cfengine/randseed cf3 Loaded /var/cfengine/ppkeys/localhost.priv cf3 Loaded /var/cfengine/ppkeys/localhost.pub cf3 No registered cfengine service, using default cf3 !!! System error for getservbyname: "Error 0" cf3 Setting cfengine default port to 5308 = 5308 cf3 Reference time set to Fri Aug 13 06:02:48 2010 cf3 Cfengine - 3.0.4 (C) Cfengine AS 2008- cf3 ------------------------------------------------------------------------ cf3 Host name is: xxxxx cf3 Operating System Type is sunos cf3 Operating System Release is 5.10 cf3 Architecture = i86pc cf3 Using internal soft-class solarisx86 for host xxxxx cf3 The time is now Fri Aug 13 06:02:48 2010 cf3 ------------------------------------------------------------------------ cf3 # Extended system discovery is only available in version Nova and above cf3 Additional hard class defined as: 32_bit cf3 Additional hard class defined as: sunos_5_10 cf3 Additional hard class defined as: sunos_i86pc cf3 Additional hard class defined as: sunos_i86pc_5_10 cf3 Additional hard class defined as: i386 cf3 Additional hard class defined as: i86pc cf3 GNU autoconf class from compile time: compiled_on_solaris2_10 cf3 Address given by nameserver: xxxxx cf3 Interface 1: lo0 cf3 Interface 2: nge2 cf3 Adding alias loghost.. cf3 Interface 4: nge3 cf3 Trying to locate my IPv6 address cf3 Looking for environment from cf-monitor... cf3 Unable to detect environment from cfMonitord cf3 *********************************************************** cf3 Loading persistent classes cf3 *********************************************************** cf3 *********************************************************** cf3 Loaded persistent memory cf3 *********************************************************** cf3 > Verifying the syntax of the inputs... cf3 > Parsing file /var/cfengine/inputs/promises.cf cf3 Initiate variable convergence... cf3 -> Checking common class promises... cf3 Executing and using module cf3 Activated classes: app_server cf3 Executing and using module cf3 Activated classes: ESV4 cf3 Activated classes: STG cf3 Initiate control variable convergence... cf3 > Parsing file /var/cfengine/inputs/cfengine_stdlib.cf cf3 > Parsing file /var/cfengine/inputs/cf-execd.cf cf3 > Parsing file /var/cfengine/inputs/cf-monitord.cf cf3 > Parsing file /var/cfengine/inputs/cf-report.cf cf3 > Parsing file /var/cfengine/inputs/cfengine_startup_scripts_manifests.cf cf3 Initiate variable convergence... cf3 -> Checking common class promises... Program received signal SIGSEGV, Segmentation fault. 0x080953ff in EvaluateORString (class=0x796e61 , list=0x0, fromIsInstallable=0) at env_context.c:866 866 env_context.c: No such file or directory. in env_context.c _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine