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 e
> 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-runa
Forum: Cfengine Help
Subject: Re: strange output by cf-runagent
Author: charming88
Link to topic: https://cfengine.com/forum/read.php?3,21961,22293#msg-22293
How can we believe what gold timberland boots you say? After all, is there a
possibility that maybe you got some sums in cash? Is there a p
Forum: Cfengine Help
Subject: Re: strange output by cf-runagent
Author: schattenfell
Link to topic: https://cfengine.com/forum/read.php?3,21961,22231#msg-22231
The behaviour is the same for all Clients, that are called. In this scenario 5
clients:
root@testserver:/var/cfengine/inputs# cf-runage
Forum: Cfengine Help
Subject: Re: strange output by cf-runagent
Author: schattenfell
Link to topic: https://cfengine.com/forum/read.php?3,21961,22014#msg-22014
In my scenario "testserver" ist both: client and policy host. Maybe this is the
problem. I will do a test where the client is no policy h
Forum: Cfengine Help
Subject: Re: strange output by cf-runagent
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,21961,22012#msg-22012
>From my experience, the only situtation when cf-runagent returns "!!" in the
>end is the non-zero returning code from cf-agent on the
Forum: Cfengine Help
Subject: Re: strange output by cf-runagent
Author: schattenfell
Link to topic: https://cfengine.com/forum/read.php?3,21961,22010#msg-22010
Thank you for the hint. I overlooked it in the documentation. Here ist he
output:
##
Forum: Cfengine Help
Subject: Re: strange output by cf-runagent
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,21961,21981#msg-21981
Look at your server control body and try to redefine cfruncommand there:
body server control
{
cfruncommand => "/var/cfengine/bin/c
Forum: Cfengine Help
Subject: Re: strange output by cf-runagent
Author: schattenfell
Link to topic: https://cfengine.com/forum/read.php?3,21961,21980#msg-21980
It is the same:
root@testserver:/# /var/cfengine/bin/cf-runagent -i -H testserver
cf3> !!
root@testserver:/#
_
Forum: Cfengine Help
Subject: Re: strange output by cf-runagent
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,21961,21979#msg-21979
Before the -H. Anything after -H is passed to the remote agent.
___
Help-cfengine mailing lis
Forum: Cfengine Help
Subject: Re: strange output by cf-runagent
Author: schattenfell
Link to topic: https://cfengine.com/forum/read.php?3,21961,21978#msg-21978
Her ist he output:
root@testserver:/# /var/cfengine/bin/cf-runagent -H testserver -i
cf3> !!
root@testserver:/#
__
Forum: Cfengine Help
Subject: Re: strange output by cf-runagent
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,21961,21977#msg-21977
The runagent is tricky to get going. Are certain that cf-agent runs correcting
on the target host?
Try running the interactive trust swit
Forum: Cfengine Help
Subject: Re: strange output by cf-runagent
Author: schattenfell
Link to topic: https://cfengine.com/forum/read.php?3,21961,21975#msg-21975
Hi,
here is some mir information:
root@testserver:~# /var/cfengine/bin/cf-runagent -H testserver -v
[...]
cf3> SET domain = local
cf3> S
Forum: Cfengine Help
Subject: Re: strange output by cf-runagent
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,21961,21974#msg-21974
Well, I mean cf-serverd -v, but the output you've shown proves that the server
grants the access. Well, then it must be cf-agent retur
Forum: Cfengine Help
Subject: Re: strange output by cf-runagent
Author: schattenfell
Link to topic: https://cfengine.com/forum/read.php?3,21961,21973#msg-21973
Hi,
here ist the log of "cf-runagent -v" when I do a "cf-runagent -H testserver":
cf3> -> Accepting a connection
cf3> Accepting connect
Forum: Cfengine Help
Subject: Re: strange output by cf-runagent
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,21961,21972#msg-21972
The cf-runagent output like that simply means that something went wrong on the
server side. Run your cf-serverd with -v option, then c
Forum: Cfengine Help
Subject: Re: strange output by cf-runagent
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,21961,21969#msg-21969
I was saying that I don't think that there is a problem. The output to me
looks as thought the remote agent was run. Do the remote agent
Forum: Cfengine Help
Subject: Re: strange output by cf-runagent
Author: schattenfell
Link to topic: https://cfengine.com/forum/read.php?3,21961,21966#msg-21966
Hi,
I already posted:
##
root@testserver:/# cf-runagent -IH testserver
.
Forum: Cfengine Help
Subject: Re: strange output by cf-runagent
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,21961,21964#msg-21964
Try cf-runagent -IH
Also check the run log on the remote host. I think that !! simply means that
it ran.
_
Forum: Cfengine Help
Subject: Re: strange output by cf-runagent
Author: schattenfell
Link to topic: https://cfengine.com/forum/read.php?3,21961,21963#msg-21963
Hello,
here is the output:
root@testserver:/var/cfengine/inputs# /usr/local/sbin/cf-runagent -H testserver
-I
.
Forum: Cfengine Help
Subject: Re: strange output by cf-runagent
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,21961,21962#msg-21962
What try using the -I switch.
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https:
21 matches
Mail list logo