Forum: Cfengine Help
Subject: Re: cf-agent segfaulting
Author: msvob...@linkedin.com
Link to topic: https://cfengine.com/forum/read.php?3,17904,17922#msg-17922

Here's some debugging output.   I executed this with 
$ /var/cfengine/bin/cf-agent -I -K -d 3

It appears that its having an issue with something in one of the internal 
databases?

!! Error scanning hashbase
Unappending  !! Error scanning hashbase
cursor: DB_NOTFOUND: No matching key/data pair found



GetVariable(control_common,version) type=(to be determined)
IsExpandable(version) - syntax verify
Found 0 variables in (version)
Looking for control_common.version
Searching for scope context control_common
Found scope reference control_common
GetVariable(control_common,version): using scope 'control_common' for variable 
'version'
No such variable found control_common.version
Outcome of version (not specified) (agent-0): Promises observed to be kept 
100%, Promises repaired 0%, Promises not repaired 0%
Unappending Outcome of version (not specified) (agent-0): Promises observed to 
be kept 100%, Promises repaired 0%, Promises not repaired 0%
ClassAuditLog(Outcome of version (not specified) (agent-0): Promises observed 
to be kept 100%, Promises repaired 0%, Promises not repaired 0%
)
reportClassAuditLog(Cfagent closing)
was applied but performed no required actionsEstimated system complexity as 
touched objects = 3, for 3 promises
Unappending Estimated system complexity as touched objects = 3, for 3 promises
RecordClassUsage
OpenDB(/var/cfengine/cf_classes.db)
READ sunos_i86pc_5_10_Generic_142901_02
Upgrading sunos_i86pc_5_10_Generic_142901_02 0.303318
WriteDB => sunos_i86pc_5_10_Generic_142901_02
READ sunos_i86pc_5_10
Upgrading sunos_i86pc_5_10 0.303318
WriteDB => sunos_i86pc_5_10
READ sunos_i86pc
Upgrading sunos_i86pc 0.303318
WriteDB => sunos_i86pc
READ sunos_5_10
Upgrading sunos_5_10 0.303318
WriteDB => sunos_5_10
READ stg
Upgrading stg 0.303318
WriteDB => stg
READ opt_debug
Upgrading opt_debug 0.303317
WriteDB => opt_debug
READ net_iface_nge3
Upgrading net_iface_nge3 0.303318
WriteDB => net_iface_nge3
READ net_iface_nge2_1
Upgrading net_iface_nge2_1 0.303318
WriteDB => net_iface_nge2_1
READ net_iface_nge2
Upgrading net_iface_nge2 0.303318
WriteDB => net_iface_nge2
READ net_iface_lo0
Upgrading net_iface_lo0 0.303318
WriteDB => net_iface_lo0
READ loghost
Upgrading loghost 0.303318
WriteDB => loghost
READ inform_mode
Upgrading inform_mode 0.303318
WriteDB => inform_mode
READ i86pc
Upgrading i86pc 0.303318
WriteDB => i86pc
READ i386
Upgrading i386 0.303318
WriteDB => i386
READ debug_mode
Upgrading debug_mode 0.303317
WriteDB => debug_mode
READ compiled_on_solaris2_10
Upgrading compiled_on_solaris2_10 0.303318
WriteDB => compiled_on_solaris2_10
READ community_edition
Upgrading community_edition 0.303318
WriteDB => community_edition
READ app_server
Upgrading app_server 0.303317
WriteDB => app_server
READ STG
Upgrading STG 0.303318
WriteDB => STG
READ ESV4
Upgrading ESV4 0.303318
WriteDB => ESV4
READ 32_bit
Upgrading 32_bit 0.303318
WriteDB => 32_bit
Downgrading class bootstrap_mode from 0.000000 to 0.000000
WriteDB => bootstrap_mode
Downgrading class diskfree_high_normal from 0.000000 to 0.000000
WriteDB => diskfree_high_normal
Downgrading class entropy_cfengine_in_low from 0.000000 to 0.000000
WriteDB => entropy_cfengine_in_low
Downgrading class entropy_cfengine_out_low from 0.000000 to 0.000000
WriteDB => entropy_cfengine_out_low
Downgrading class entropy_dns_in_low from 0.000000 to 0.000000
WriteDB => entropy_dns_in_low
Downgrading class entropy_dns_out_low from 0.000000 to 0.000000
WriteDB => entropy_dns_out_low
Downgrading class entropy_ftp_in_low from 0.000000 to 0.000000
WriteDB => entropy_ftp_in_low
Downgrading class entropy_ftp_out_low from 0.000000 to 0.000000
WriteDB => entropy_ftp_out_low
Downgrading class entropy_icmp_in_low from 0.000000 to 0.000000
WriteDB => entropy_icmp_in_low
Downgrading class entropy_icmp_out_low from 0.000000 to 0.000000
WriteDB => entropy_icmp_out_low
Downgrading class entropy_irc_in_low from 0.000000 to 0.000000
WriteDB => entropy_irc_in_low
Downgrading class entropy_irc_out_low from 0.000000 to 0.000000
WriteDB => entropy_irc_out_low
Downgrading class entropy_misc_in_low from 0.000000 to 0.000000
WriteDB => entropy_misc_in_low
Downgrading class entropy_misc_out_low from 0.000000 to 0.000000
WriteDB => entropy_misc_out_low
Downgrading class entropy_netbiosdgm_in_low from 0.000000 to 0.000000
WriteDB => entropy_netbiosdgm_in_low
Downgrading class entropy_netbiosdgm_out_low from 0.000000 to 0.000000
WriteDB => entropy_netbiosdgm_out_low
Downgrading class entropy_netbiosns_in_low from 0.000000 to 0.000000
WriteDB => entropy_netbiosns_in_low
Downgrading class entropy_netbiosns_out_low from 0.000000 to 0.000000
WriteDB => entropy_netbiosns_out_low
Downgrading class entropy_netbiosssn_in_low from 0.000000 to 0.000000
WriteDB => entropy_netbiosssn_in_low
Downgrading class entropy_netbiosssn_out_low from 0.000000 to 0.000000
WriteDB => entropy_netbiosssn_out_low
Downgrading class entropy_nfsd_in_low from 0.000000 to 0.000000
WriteDB => entropy_nfsd_in_low
Downgrading class entropy_nfsd_out_low from 0.000000 to 0.000000
WriteDB => entropy_nfsd_out_low
Downgrading class entropy_smtp_in_low from 0.000000 to 0.000000
WriteDB => entropy_smtp_in_low
Downgrading class entropy_smtp_out_low from 0.000000 to 0.000000
WriteDB => entropy_smtp_out_low
Downgrading class entropy_ssh_in_high from 0.000000 to 0.000000
WriteDB => entropy_ssh_in_high
Downgrading class entropy_ssh_in_low from 0.000000 to 0.000000
WriteDB => entropy_ssh_in_low
Downgrading class entropy_ssh_in_medium from 0.000000 to 0.000000
WriteDB => entropy_ssh_in_medium
Downgrading class entropy_ssh_out_low from 0.000000 to 0.000000
WriteDB => entropy_ssh_out_low
Downgrading class entropy_tcpack_in_low from 0.000000 to 0.000000
WriteDB => entropy_tcpack_in_low
Downgrading class entropy_tcpack_out_low from 0.000000 to 0.000000
WriteDB => entropy_tcpack_out_low
Downgrading class entropy_tcpfin_in_low from 0.000000 to 0.000000
WriteDB => entropy_tcpfin_in_low
Downgrading class entropy_tcpfin_out_low from 0.000000 to 0.000000
WriteDB => entropy_tcpfin_out_low
Downgrading class entropy_tcpsyn_in_low from 0.000000 to 0.000000
WriteDB => entropy_tcpsyn_in_low
Downgrading class entropy_tcpsyn_out_low from 0.000000 to 0.000000
WriteDB => entropy_tcpsyn_out_low
Downgrading class entropy_udp_in_low from 0.000000 to 0.000000
WriteDB => entropy_udp_in_low
Downgrading class entropy_udp_out_low from 0.000000 to 0.000000
WriteDB => entropy_udp_out_low
Downgrading class entropy_www_in_low from 0.000000 to 0.000000
WriteDB => entropy_www_in_low
Downgrading class entropy_www_out_low from 0.000000 to 0.000000
WriteDB => entropy_www_out_low
Downgrading class entropy_wwws_in_low from 0.000000 to 0.000000
WriteDB => entropy_wwws_in_low
Downgrading class entropy_wwws_out_low from 0.000000 to 0.000000
WriteDB => entropy_wwws_out_low
Downgrading class from_cfexecd from 0.000000 to 0.000000
WriteDB => from_cfexecd
Downgrading class global_zone from 0.000000 to 0.000000
WriteDB => global_zone
Downgrading class linkedin_app_classes from 0.000000 to 0.000000
WriteDB => linkedin_app_classes
Downgrading class linkedin_custom_classes from 0.000000 to 0.000000
WriteDB => linkedin_custom_classes
Downgrading class loadavg_high_dev1 from 0.000000 to 0.000000
WriteDB => loadavg_high_dev1
Downgrading class loadavg_high_ldt from 0.000000 to 0.000000
WriteDB => loadavg_high_ldt
Downgrading class loadavg_high_normal from 0.000000 to 0.000000
WriteDB => loadavg_high_normal
Downgrading class loadavg_low_normal from 0.000000 to 0.000000
WriteDB => loadavg_low_normal
Downgrading class loadavg_normal_normal from 0.000000 to 0.000000
WriteDB => loadavg_normal_normal
Downgrading class otherprocs_high_ldt from 0.000000 to 0.000000
WriteDB => otherprocs_high_ldt
Downgrading class otherprocs_high_normal from 0.000000 to 0.000000
WriteDB => otherprocs_high_normal
Downgrading class rootprocs_high_ldt from 0.000000 to 0.000000
WriteDB => rootprocs_high_ldt
Downgrading class rootprocs_high_normal from 0.000000 to 0.000000
WriteDB => rootprocs_high_normal
Downgrading class scheduled_run from 0.000000 to 0.000000
WriteDB => scheduled_run
Downgrading class solaris_zone_type from 0.000000 to 0.000000
WriteDB => solaris_zone_type
Downgrading class ssh_in_high_ldt from 0.000000 to 0.000000
WriteDB => ssh_in_high_ldt
Downgrading class users_high_ldt from 0.000000 to 0.000000
WriteDB => users_high_ldt
Downgrading class verbose_mode from 0.000000 to 0.000000
WriteDB => verbose_mode
Downgrading class www_in_high_ldt from 0.000000 to 0.000000
WriteDB => www_in_high_ldt
 !! Error scanning hashbase
Unappending  !! Error scanning hashbase
cursor: DB_NOTFOUND: No matching key/data pair found
Unappending 32_bit
Unappending ESV4
Unappending STG
Unappending app_server
Unappending community_edition
Unappending compiled_on_solaris2_10
Unappending debug_mode
Unappending i386
Unappending i86pc
Unappending inform_mode
Unappending loghost
Unappending net_iface_lo0
Unappending net_iface_nge2
Unappending net_iface_nge2_1
Unappending net_iface_nge3
Unappending opt_debug
Unappending stg
Unappending sunos_5_10
Unappending sunos_i86pc
Unappending sunos_i86pc_5_10
Unappending sunos_i86pc_5_10_Generic_142901_02
GenericDeInitialize()
CloseAllDB()
Closed 0 open DB handles

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to