Forum: Cfengine Help Subject: Re: can not execute a user-only and non-root executable Author: santa Link to topic: https://cfengine.com/forum/read.php?3,21010,21012#msg-21012
Yes it is running as root. # id uid=0(root) gid=3(sys) groups=0(root),1(other),2(bin),4(adm),5(daemon),6(mail),7(lp),20(users),111(hpvmsys) # /usr/local/sbin/cf-execd -F -v community> Cfengine - autonomous configuration engine - commence self-diagnostic prelude community> ------------------------------------------------------------------------ community> Work directory is /var/cfengine3 community> Making sure that locks are private... community> Checking integrity of the state database community> Checking integrity of the module directory community> Checking integrity of the PKI directory community> Looking for a source of entropy in /var/cfengine3/randseed community> -> Loaded private key /var/cfengine3/ppkeys/localhost.priv community> -> Loaded public key /var/cfengine3/ppkeys/localhost.pub community> No registered cfengine service, using default community> !!! System error for getservbyname: "Error 0" community> Setting cfengine default port to 5308 = 5308 community> Reference time set to Wed Mar 9 17:39:17 2011 community> Cfengine - 3.1.4 Copyright (C) Cfengine AS 2008,2010- community> ------------------------------------------------------------------------ community> Host name is: XXXXXXXXXXXXXXXX community> Operating System Type is hp-ux community> Operating System Release is B.11.23 community> Architecture = ia64 community> Using internal soft-class hpux for host XXXXXXXXXXXXXXXX community> The time is now Wed Mar 9 17:39:17 2011 community> ------------------------------------------------------------------------ community> # Extended system discovery is only available in version Nova and above community> Additional hard class defined as: 32_bit community> Additional hard class defined as: hp_ux_B_11_23 community> Additional hard class defined as: hp_ux_ia64 community> Additional hard class defined as: hp_ux_ia64_B_11_23 community> GNU autoconf class from compile time: compiled_on_hpux11_23 community> Address given by nameserver: XX.XX.XX.XX community> Interface 1: lan0 community> Adding alias XXXXXX . community> Interface 2: lo0 community> Trying to locate my IPv6 address community> Looking for environment from cf-monitord... community> Unable to detect environment from cf-monitord community> *********************************************************** community> Loading persistent classes community> *********************************************************** community> *********************************************************** community> Loaded persistent memory community> *********************************************************** community> -> No policy server (hub) watch yet registered community> Setting policy server requires version Nova or above community> -> No new promises proposals - so policy is already validated community> > Parsing file /var/cfengine3/inputs/promises.cf community> Initiate variable convergence... community> > Parsing file /var/cfengine3/inputs/update.cf community> Initiate variable convergence... community> > Parsing file /var/cfengine3/inputs/cfstdlib.cf community> Initiate variable convergence... community> > Parsing file /var/cfengine3/inputs/cfcnplib.cf community> Initiate variable convergence... community> > Parsing file /var/cfengine3/inputs/cf.main community> Initiate variable convergence... community> > Parsing file /var/cfengine3/inputs/cf.groups community> Initiate variable convergence... community> > Parsing file /var/cfengine3/inputs/cf.users community> Initiate variable convergence... community> > Parsing file /var/cfengine3/inputs/cf.hpux community> Initiate variable convergence... community> Initiate variable convergence... community> # Knowledge map reporting feature is only available in version Nova and above community> -> Defined classes = { ... Q3 Wednesday Yr2011 any cfengine_3 cfengine_3_1 cfengine_3_1_4 community_edition compiled_on_hpux11_23 executor hp_ux_B_11_23 hp_ux_ia64 hp_ux_ia64_B_11_23 hp_ux_ia64_B_11_23_U hpux ia64 ipv4_XXX ... net_iface_lan0 net_iface_lo0 undefined_domain ... verbose_mode } community> -> Negated Classes = { } community> Initiate variable convergence... community> *********************************************************** community> Starting executor community> *********************************************************** community> Sleeping for splaytime 0 seconds community> ------------------------------------------------------------------ community> LocalExec(not scheduled) at Wed Mar 9 17:39:17 2011 community> ------------------------------------------------------------------ community> -> Command => "/var/cfengine3/bin/cf-agent" -f failsafe.cf && "/var/cfengine3/bin/cf-agent" -Dfrom_cfexecd community> -> Command is executing..."/var/cfengine3/bin/cf-agent" -f failsafe.cf && "/var/cfengine3/bin/cf-agent" -Dfrom_cfexecd community> /usr/sbin/inetd promises to be executable but isn't community> I: Made in version 'not specified' of '/var/cfengine3/inputs/cf.hpux' near line 17 community> I: Comment: relaunch inetd community> /usr/sbin/inetd promises to be executable but isn't community> I: Made in version 'not specified' of '/var/cfengine3/inputs/cf.hpux' near line 17 community> I: Comment: relaunch inetd community> /usr/sbin/inetd promises to be executable but isn't community> I: Made in version 'not specified' of '/var/cfengine3/inputs/cf.hpux' near line 17 community> I: Comment: relaunch inetd community> -> Command is complete community> -> Mailing result _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine