On 24-08-11 16:08, Bas van der Vlies wrote: > >> root@testserver:/var/cfengine/inputs# cf-runagent >> cf3> !! >> >> cf3> !! >> >> cf3> !! >> >> cf3> !! >> >> cf3> !! >> >> root@testserver:/var/cfengine/inputs# >> >> >> So the "!!" is always the last output followed be a newline for every single >> client. >> > > Did you solve your problem with cf-runagent? > > I am now using cfengine community version: 3.2.0 and experiencing the same > behaviour. It seems that the contacted cf-serverd terminates the connection > too soon: > > policy-server: output stdout: > {{{ > cf3> -> Can't stat (null) in files.copyfrom promise > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl squeeze > Release.gpg > cf3> -> Q: aptitude update ...:Get:1 ftp://ftp.irc.sara.nl/debian/ > squeeze/contrib Translation-en > cf3> -> Q: aptitude update ...:Ign ftp://ftp.irc.sara.nl/debian/ > squeeze/contrib Translation-en > cf3> -> Q: aptitude update ...:Get:2 ftp://ftp.irc.sara.nl/debian/ > squeeze/main Translation-en > cf3> -> Q: aptitude update ...:Ign ftp://ftp.irc.sara.nl/debian/ > squeeze/main Translation-en > cf3> -> Q: aptitude update ...:Get:3 ftp://ftp.irc.sara.nl/debian/ > squeeze/non-free Translation-en > cf3> -> Q: aptitude update ...:Ign ftp://ftp.irc.sara.nl/debian/ > squeeze/non-free Translation-en > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl unstable > Release.gpg > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl squeeze > Release.gpg > cf3> -> Q: aptitude update ...:Get:4 > ftp://ftp.irc.sara.nl/pub/debian-sara/ squeeze/sara Translation-en > cf3> -> Q: aptitude update ...:Ign > ftp://ftp.irc.sara.nl/pub/debian-sara/ squeeze/sara Translation-en > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl Release.gpg > cf3> -> Q: aptitude update ...:Get:5 > ftp://ftp.irc.sara.nl/pub/dell-omsa/community/deb/latest/ Translation-en > cf3> -> Q: aptitude update ...:Ign > ftp://ftp.irc.sara.nl/pub/dell-omsa/community/deb/latest/ Translation-en > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl squeeze > Release > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl unstable > Release > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl squeeze > Release > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl Release > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl squeeze/main > amd64 Packages > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl > squeeze/contrib amd64 Packages > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl > squeeze/non-free amd64 Packages > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl unstable/main > Sources/DiffIndex > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl > unstable/contrib Sources/DiffIndex > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl > unstable/non-free Sources/DiffIndex > cf3> -> Q: aptitude update ...:Get:6 ftp://ftp.irc.sara.nl > squeeze/sara amd64 Packages > cf3> -> Q: aptitude update ...:Ign ftp://ftp.irc.sara.nl squeeze/sara > amd64 Packages > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl Packages > cf3> -> Q: aptitude update ...:Get:7 ftp://ftp.irc.sara.nl > squeeze/sara amd64 Packages > cf3> -> Q: aptitude update ...:Ign ftp://ftp.irc.sara.nl squeeze/sara > amd64 Packages > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl squeeze/sara > amd64 Packages > cf3> -> Q: aptitude update ...:Reading package lists... > cf3> -> Q: aptitude update ...: > cf3> -> Q:aptitude --assume-ye ...:Reading package lists... > cf3> -> Q:aptitude --assume-ye ...:Building dependency tree... > cf3> -> Q:aptitude --assume-ye ...:Reading state information... > cf3> -> Q:aptitude --assume-ye ...:Reading extended state information... > cf3> -> Q:aptitude --assume-ye ...:Initializing package states... > cf3> -> Q:aptitude --assume-ye ...:Writing extended state information... > cf3> -> Q:aptitude --assume-ye ...:Reading task descriptions... > cf3> -> Q:aptitude --assume-ye ...:The following NEW packages will be > installed: > cf3> -> Q:aptitude --assume-ye ...: pbs-python > cf3> -> Q:aptitude --assume-ye ...:0 packages upgraded, 1 newly installed, > 0 to remove and 1 not upgraded. > cf3> -> Q:aptitude --assume-ye ...:Need to get 0 B/143 kB of archives. > After unpacking 471 kB will be used. > cf3> -> Q:aptitude --assume-ye ...:Writing extended state information... > cf3> -> Q:aptitude --assume-ye ...:Selecting previously deselected package > pbs-python. > (Reading database ... 211943 files and directories currently installed.) > cf3> -> Q:aptitude --assume-ye ...:Unpacking pbs-python (from > .../pbs-python_4.3.1-1_amd64.deb) ... > cf3> -> Q:aptitude --assume-ye ...:Setting up pbs-python (4.3.1-1) ... > cf3> -> Q:aptitude --assume-ye ...:Processing triggers for python-support > ... > cf3> -> Q:aptitude --assume-ye ...:Reading package lists... > cf3> -> Q:aptitude --assume-ye ...:Building dependency tree... > cf3> -> Q:aptitude --assume-ye ...:Reading state information... > cf3> -> Q:aptitude --assume-ye ...:Reading extended state information... > cf3> -> Q:aptitude --assume-ye ...:Initializing package states... > cf3> -> Q:aptitude --assume-ye ...:Writing extended state information... > cf3> -> Q:aptitude --assume-ye ...:Reading task descriptions... > cf3> -> Q:aptitude --assume-ye ...: > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl squeeze > Release.gpg > cf3> -> Q: aptitude update ...:Get:1 ftp://ftp.irc.sara.nl/debian/ > squeeze/contrib Translation-en > cf3> -> Q: aptitude update ...:Ign ftp://ftp.irc.sara.nl/debian/ > squeeze/contrib Translation-en > cf3> -> Q: aptitude update ...:Get:2 ftp://ftp.irc.sara.nl/debian/ > squeeze/main Translation-en > cf3> -> Q: aptitude update ...:Ign ftp://ftp.irc.sara.nl/debian/ > squeeze/main Translation-en > cf3> -> Q: aptitude update ...:Get:3 ftp://ftp.irc.sara.nl/debian/ > squeeze/non-free Translation-en > cf3> -> Q: aptitude update ...:Ign ftp://ftp.irc.sara.nl/debian/ > squeeze/non-free Translation-en > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl unstable > Release.gpg > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl squeeze > Release.gpg > cf3> -> Q: aptitude update ...:Get:4 > ftp://ftp.irc.sara.nl/pub/debian-sara/ squeeze/sara Translation-en > cf3> -> Q: aptitude update ...:Ign > ftp://ftp.irc.sara.nl/pub/debian-sara/ squeeze/sara Translation-en > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl Release.gpg > cf3> -> Q: aptitude update ...:Get:5 > ftp://ftp.irc.sara.nl/pub/dell-omsa/community/deb/latest/ Translation-en > cf3> -> Q: aptitude update ...:Ign > ftp://ftp.irc.sara.nl/pub/dell-omsa/community/deb/latest/ Translation-en > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl squeeze > Release > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl unstable > Release > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl squeeze > Release > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl Release > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl squeeze/main > amd64 Packages > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl > squeeze/contrib amd64 Packages > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl > squeeze/non-free amd64 Packages > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl unstable/main > Sources/DiffIndex > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl > unstable/contrib Sources/DiffIndex > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl > unstable/non-free Sources/DiffIndex > cf3> -> Q: aptitude update ...:Get:6 ftp://ftp.irc.sara.nl > squeeze/sara amd64 Packages > cf3> -> Q: aptitude update ...:Ign ftp://ftp.irc.sara.nl squeeze/sara > amd64 Packages > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl Packages > cf3> -> Q: aptitude update ...:Get:7 ftp://ftp.irc.sara.nl > squeeze/sara amd64 Packages > cf3> -> Q: aptitude update ...:Ign ftp://ftp.irc.sara.nl squeeze/sara > amd64 Packages > cf3> -> Q: aptitude update ...:Hit ftp://ftp.irc.sara.nl squeeze/sara > amd64 Packages > cf3> -> Q: aptitude update ...:Reading package lists... > cf3> -> Q: aptitude update ...: > cf3> !! > }}} > I was to hasty. The '!!' is the terminator. Next time i drink some more coffee ;-). I am using report function when i change is finished.
-- ******************************************************************** * Bas van der Vlies e-mail: b...@sara.nl * * SARA - Academic Computing Services Amsterdam, The Netherlands * ******************************************************************** _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine