Le 12/11/2010 14:37, Matthieu CERDA a écrit :
> Hi,
>
> I'm trying to get CF3 to run on cygwin.
> A CF3 trunk serverd is running on another Debian (Squeeze) machine,
> serving the promises.
> Running the agent on the cygwin system returns this :
>
> --- BEGIN CODE SNIP ---
>
> administrat...@mc-win2k3-vm2 /var/cfengine/bin
> # ./cf-agent.exe -I -K
> ->  Updated /var/cfengine/inputs/promises.cf from source
> /var/cfengine/masterfil
> es/promises.cf on 192.168.56.11
> Was not able to copy /var/cfengine/masterfiles/promises.cf to
> /var/cfengine/inpu
> ts/promises.cf
> I: Report relates to a promise with handle ""
> I: Made in version 'not specified' of '/var/cfengine/inputs/update.cf'
> near line
> 38
> !! Transmission refused or failed statting
> /var/cfengine/masterfiles/promise_gr
> eet.cf
> Got: ▒-▒?▒#▒$▒▒'p▒▒▒nz⌂P▒▒0"▒►pg,y▒
> 3▒+▒
> D?↑▒▒♠2▒n▒g"▒▒2▒▒▒▒v▒▒";↑▒!H~▒a▒n▒▒▒6▒▒▒"*▒▒▒▒▒Qe?'h▒y▒.j▒o♣↓▒▒▒'▒{U▒6N}
> ▒.▒]?+▒v▒N▒F$pO|▒q▒f▒▒m▒▒▒zs▒~▒7▒v...@x▒?,▒▒d▒d▒⌂▒▒+`▒?▒.ÍG▒:E▒▒▒z^♣▒?o▒6▒♠R▒⌂▒T.Q
> ▒'▒▒`[▒H▒T▒HO▒♥,▒cCEB▒o*▒K▒R▒▒zÐ▒▒▒▒N▒?♠▒↑▒▒<U▒'▒?[▒▒K▒▒▒|▒▒▒?z▒▒2p▒▒▒▒▒
> ▒w▒y▒?03▒?▒♦7Y_"▒P▒▒♣▒??*k;<j▒▒▒▒▒?▒▒e+▒↑▒0▒W▒▒▒▒R.▒▒;�...@=?
> ▒▒▒n▒▒UrH>▒?$▒▒#g▒<Y▒
> 4VL▒?▒"▒?~▒▒Iu▒▒>▒0▒>sQ▒T▒▒w#
> ->  Copying from 192.168.56.11:/var/cfengine/masterfiles/promise_bodies.cf
> !! Copy from 192.168.56.11:/var/cfengine/masterfiles/promise_bodies.cf
> failed
> !! Transmission refused or failed statting
> /var/cfengine/masterfiles/promise_pa
> ckagecheck.cf
> Got:
> M~▒5Y>e'(▒▒▒▒'▒;L▒2♠nH▒▒▒?▒w▒▒n▒▒▒|▒▒▒▒▒u◄>▒▒▒yO▒▒$▒5*uS♣r▒.▒▒w▒<^▒▒▒{▒▒▒▒▒
> ▒lsw[�...@▒▒▒▒▒z▒6~▒,▒▒D'▒►r▒▒▒L▒h▒▒H▒▒♣4▒▒E▒|▒▒lI ▒2▒▒?|▒M▒▒+▒Tl▒]6▒ ▒d]uH
> ▒9▒▒i▒▒yn{|q▒=<▒C=q▒Z
> ->  Updated /var/cfengine/inputs/failsafe.cf from source
> /var/cfengine/masterfil
> es/failsafe.cf on 192.168.56.11
> Was not able to copy /var/cfengine/masterfiles/failsafe.cf to
> /var/cfengine/inpu
> ts/failsafe.cf
> I: Report relates to a promise with handle ""
> I: Made in version 'not specified' of '/var/cfengine/inputs/update.cf'
> near line
> 38
> !! Purging /var/cfengine/inputs/failsafe.cf.cfnew in copy dest directory
> !! Purging /var/cfengine/inputs/promises.cf.cfnew in copy dest directory
> !! Purging /var/cfengine/inputs/promise_bodies.cf.cfnew in copy dest
> directory
> File /var/cfengine/inputs/.* was marked for editing but could not be opened
> I: Report relates to a promise with handle ""
> I: Made in version 'not specified' of '/var/cfengine/inputs/site.cf'
> near line 8
> 1
> I: Comment: Check if there are still promises about cfengine 2 that need
> removin
> g
>
> File /var/cfengine/inputs/.* was marked for editing but could not be opened
> I: Report relates to a promise with handle ""
> I: Made in version 'not specified' of '/var/cfengine/inputs/site.cf'
> near line 8
> 1
> I: Comment: Check if there are still promises about cfengine 2 that need
> removin
> g
>
> File /var/cfengine/inputs/.* was marked for editing but could not be opened
> I: Report relates to a promise with handle ""
> I: Made in version 'not specified' of '/var/cfengine/inputs/site.cf'
> near line 8
> 1
> I: Comment: Check if there are still promises about cfengine 2 that need
> removin
> g
>
> --- END CODE SNIP ---
>
> OpenSSL versions on both systems are the same :
> # openssl version
> OpenSSL 0.9.8o 01 Jun 2010
>
> What should I do to get these two get along ? Thanks in advance
>
>    
Seems that maproot() fixes the problem.

-- 
==========================================
Matthieu CERDA
------------------------------------------
Normation
44 rue Cauchy, 94110 Arcueil, France
------------------------------------------
Telephone:  +33 (0)1 83 62 26 96
Mobile:     +33 (0)6 30 53 40 00
------------------------------------------
Web:        http://www.normation.com/
==========================================

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

Reply via email to