I am testing on a system with the following:
Windows 2008 R2
Cygwin version 1.7.9-1 setup version 2.738
cfengine-3.2.0.tar.gz
(http://cfengine.com/source_code/download?file=cfengine-3.2.0.tar.gz)
Here is what I see on my screen.
Administrator@client1 ~
$ ps -ef | grep cf-
Administ 1712 1 ? 14:41:53 /usr/local/sbin/cf-execd
Administ 2508 1 ? 14:42:03 /usr/local/sbin/cf-serverd
Administ 3192 0 0 Dec 31 /usr/local/sbin/cf-serverd
Administrator@client1 ~
$ cf-agent.exe -K --bootstrap --policy-server 1.1.1.1
** CFEngine BOOTSTRAP probe initiated
@@@
@@@ CFEngine
@ @@@ @ CFEngine Core 3.2.0
@ @@@ @
@ @@@ @
@ @
@@@
@ @
@ @
@ @
Copyright (C) Cfengine AS 2008-2011
-> This host is: client1
-> Operating System Type is cygwin_nt-6.1-wow64
-> Operating System Release is 1.7.9(0.237/5/3)
-> Architecture = i686
-> Internal soft-class is windows
-> An existing policy was cached on this host in /var/cfengine/inputs
-> Assuming the policy distribution point at: 1.1.1.1:/var/cfengine/masterfiles
-> Attempting to initiate promised autonomous services...
!! Bootstrapping failed, cf-execd is not running
The weird part is that it actually carries out the promises in
/var/cfengine/inputs/promises.cf (remote copy promise), but the bootstrap
fails. I have also used the same promise file in another client running on
RHEL 5.7 and it bootstraps just fine.
bundle agent createFolder
{
files:
"/tmp/temp_copy_folder/."
comment => "main create dir",
perms => mog("755", "root", "root"),
create => "true";
}
bundle agent copyRemoteFile
{
files:
"/tmp/temp_copy_folder/remote_file_copy"
comment => "copying /etc/hosts from remote host to
/tmp/temp_copy_folder/rem
ote_file_copy",
copy_from => mycopy("/etc/hosts","server1.cfengine.com"),
perms => system;
}
Help.
Regards,
j
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine