Forum: CFEngine Help
Subject: Unable to run served, execd, and monitord as daemons
Author: Faris
Link to topic: https://cfengine.com/forum/read.php?3,22774,22774#msg-22774
It worked fine yesterday, I tried to extend its functionality and somehow it
crashed.
Spent all day trying to fix it. I am desperate.
This is what I did to make it work last time.
sudo apt-get install cfengine3
copied cfengine3 init.d script to /etc/init.d
update-rc.d cfengine start 63 2 3 4 5 . stop 23 0 1 6 .
The parameters in the /etc/default/cfengine3 are all set to one
My configuration files are the ones supplied in
/usr/share/doc/cfengine3/examples:
failsafe, site, promises and library: I did not change a thing about them.
I made changes to update.cf:
bundle agent update
{
vars:
"master_location" string => "/var/cfengine/masterfiles";
files:
"/var/lib/cfengine3/inputs"
perms => u_p("600"),
copy_from => mycopy("$(master_location)","localhost"),
depth_search => recurse("inf"),
action => immediate;
}
And I made changes to site.cf
bundle server access_rules()
{
access:
"/home/mark/LapTop"
admit => { "127.0.0.1" };
"/home/mark/.cfagent/bin/cf-agent"
admit => { "127.0.0.1" };
roles:
".*" authorize => { "mark" };
}
Any help and advice are more the appreciated. :D
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine