Forum: Cfengine Help
Subject: Re: cf-runagent unable to background and ignoring -s
Author: kholloway
Link to topic: https://cfengine.com/forum/read.php?3,18529,18536#msg-18536

I saw that in another forum posting while searching for ways to resolve my 
issue but that does not change anything, thanks though!

Here is my -v output from cf-runagent if it helps, I wonder if I have to set 
the class in one of my common areas and then "activate" it with the -s option?
Output has been truncated since it's quite chatty but all the relevant stuff is 
below.

---Output from Test1 cf-runagent trying to select hosts based on classes---
cf3 Cfengine - autonomous configuration engine - commence self-diagnostic 
prelude
cf3 ------------------------------------------------------------------------
cf3 Work directory is /var/cfengine3
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/cfengine3/randseed
cf3 Loaded /var/cfengine3/ppkeys/localhost.priv
cf3 Loaded /var/cfengine3/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 Tue Sep 28 09:55:44 2010
cf3 Cfengine - 3.0.5p1 (C) Cfengine AS 2008-
cf3 ------------------------------------------------------------------------
cf3 Host name is: masterhost
cf3 Operating System Type is sunos
cf3 Operating System Release is 5.10
cf3 Architecture = sun4v
cf3 Using internal soft-class solaris for host masterhost
cf3 The time is now Tue Sep 28 09:55:44 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_sun4v
cf3 Additional hard class defined as: sunos_sun4v_5_10
cf3 Additional hard class defined as: sparc
cf3 Additional hard class defined as: SUNW,Sun-Fire-T200
cf3 GNU autoconf class from compile time: compiled_on_solaris2_10
cf3 Adding alias loghost..
cf3 Trying to locate my IPv6 address
cf3 Looking for environment from cf-monitor...
cf3 Loading environment...
cf3 Environment data loaded
cf3 ***********************************************************
cf3  Loading persistent classes
cf3 ***********************************************************
cf3  Persistent class diskfree_high_anomaly expired
cf3  Persistent class diskfree_high_dev2 expired
cf3 ***********************************************************
cf3  Loaded persistent memory
cf3 ***********************************************************
cf3   > Parsing file /var/cfengine3/inputs/promises.cf
cf3 Initiate variable convergence...
cf3  -> Checking common class promises...
cf3  ?> defining additional global class nonglobal_zone
cf3   > Parsing file /var/cfengine3/inputs/update.cf
cf3 Initiate variable convergence...
cf3  -> Checking common class promises...
cf3   > Parsing file /var/cfengine3/inputs/cfengine_stdlib.cf
cf3  -> Checking common class promises...
cf3 # Knowledge map reporting feature is only available in version Nova and 
above
cf3  -> Defined classes = {  32_bit Day28 GMT_Hr14 Hr09 Hr09_Q4 Lcycle_0 Min55 
Min55_00 Morning Q4 SUNW_Sun_Fire_T200 September Tuesday Yr2010 any  cfengine_3 
cfengine_3_0 cfengine_3_0_5p1 community_edition compiled_on_solaris2_10 
diskfree_high_anomaly diskfree_high_dev1 diskfree_high_dev2 
entropy_cfengine_out_low entropy_dns_in_low entropy_dns_out_low 
entropy_ftp_in_low entropy_ftp_out_low entropy_icmp_in_low entropy_icmp_out_low 
entropy_irc_in_low entropy_irc_out_low entropy_misc_in_low entropy_misc_out_low 
entropy_netbiosdgm_in_low entropy_netbiosdgm_out_low entropy_netbiosns_in_low 
entropy_netbiosns_out_low entropy_netbiosssn_in_low entropy_netbiosssn_out_low 
entropy_nfsd_in_low entropy_smtp_in_low entropy_smtp_out_low 
entropy_ssh_out_low entropy_tcpack_in_low entropy_tcpack_out_low 
entropy_tcpfin_in_low entropy_tcpfin_out_low entropy_tcpsyn_in_low 
entropy_tcpsyn_out_low entropy_udp_in_low entropy_udp_out_low 
entropy_www_out_low ipv4_10 loadavg_low_normal loghost net_ifac
 e_e1000g0_2 net_iface_e1000g0_3 net_iface_lo0_2 nonglobal_zone masterhost  
runagent solaris sparc sun4v sunos_5_10 sunos_sun4v sunos_sun4v_5_10 
sunos_sun4v_5_10_Generic_120011_14 svn undefined_domain verbose_mode }
cf3  -> Negated Classes = { }
cf3  -> Checking common class promises...
cf3 Initiate variable convergence...
cf3  -> Writing last-seen observations

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

Reply via email to