<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Olivier,<br>
<br>
It's quite difficult to debug why it hangs there, without more
details.<br>
Most probable cause could be:<br>
- a big copy over network; you are trying to copy a very large
file that takes a long time<br>
- you are running a command that is long to execute<br>
- you are running a deamon, or installing a package, that somehow
starts impromperly a daemon and it requests a terminal<br>
- something bad with cf-agent is happening (like, you have a large
/var/rudder/cfengine-community/state/cf_lock.tcdb file (more than
100 MB). <br>
<br>
Last case is easy to check, it your
/var/rudder/cfengine-community/state/cf_lock.tcdb is bigger than
100 MB, you can simply remove it.<br>
<br>
For all the other cases, could you run the agent in verbose mode,
and send the verbose output of where it hangs ? (there might be
sensitive data in there, that you may need to anonymize (hostname,
password, etc))<br>
<br>
Nicolas<br>
<br>
On 12/05/2014 10:58, Olivier Desport wrote:<br>
</div>
<blockquote cite="mid:53708D3D.3020207@ac-versailles.fr" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi,<br>
<br>
One of my node agent execution hangs. So the Rudder configuration
is never applies. It works on a tween server. I've removed the
node on the server and I've added it again (it worked) but the
confs are not applied on the client.<br>
<br>
/var/rudder/cfengine-community/bin/cf-agent -K<br>
<br>
2014-05-12T10:54:38+0200 notice: R:
@@Common@@log_info@@hasPolicyServer-root@@common-root@@189@@common@@StartRun@@2014-05-12
10:54:38+02:00##0c458f7c-78e7-41cd-addc-378bf9e9d43c@#Start
execution<br>
2014-05-12T10:54:38+0200 notice: R:
@@Common@@result_success@@hasPolicyServer-root@@common-root@@189@@Update@@None@@2014-05-12
10:54:38+02:00##0c458f7c-78e7-41cd-addc-378bf9e9d43c@#Rudder
policy, tools and ncf instance are already up to date. No action
required.<br>
2014-05-12T10:54:38+0200 notice: R:
@@Common@@result_success@@hasPolicyServer-root@@common-root@@189@@Security
parameters@@None@@2014-05-12
10:54:38+02:00##0c458f7c-78e7-41cd-addc-378bf9e9d43c@#The internal
environment security is acceptable<br>
2014-05-12T10:54:38+0200 notice: R:
@@Common@@result_success@@hasPolicyServer-root@@common-root@@189@@Red
Button@@None@@2014-05-12
10:54:38+02:00##0c458f7c-78e7-41cd-addc-378bf9e9d43c@#Red Button
is not in effect, continuing as normal...<br>
2014-05-12T10:54:39+0200 notice: R:
@@Common@@result_success@@hasPolicyServer-root@@common-root@@189@@Process
checking@@None@@2014-05-12
10:54:38+02:00##0c458f7c-78e7-41cd-addc-378bf9e9d43c@#There is an
acceptable number of CFEngine processes running on the machine<br>
2014-05-12T10:54:39+0200 notice: R:
@@Common@@result_success@@hasPolicyServer-root@@common-root@@189@@CRON
Daemon@@None@@2014-05-12
10:54:38+02:00##0c458f7c-78e7-41cd-addc-378bf9e9d43c@#The CRON
daemon is running<br>
2014-05-12T10:54:39+0200 notice: R:
@@Common@@result_success@@hasPolicyServer-root@@common-root@@189@@Binaries
update@@None@@2014-05-12
10:54:38+02:00##0c458f7c-78e7-41cd-addc-378bf9e9d43c@#The CFengine
binaries in /var/rudder/cfengine-community/bin are up to date<br>
2014-05-12T10:54:39+0200 notice: R:
@@Common@@log_info@@hasPolicyServer-root@@common-root@@189@@Log
system for reports@@None@@2014-05-12
10:54:38+02:00##0c458f7c-78e7-41cd-addc-378bf9e9d43c@#Detected
running syslog as syslog-ng<br>
2014-05-12T10:54:39+0200 notice: R:
@@Common@@log_info@@hasPolicyServer-root@@common-root@@189@@Log
system for reports@@None@@2014-05-12
10:54:38+02:00##0c458f7c-78e7-41cd-addc-378bf9e9d43c@#Detected
running syslog as rsyslog<br>
2014-05-12T10:54:39+0200 notice: R:
@@Common@@result_success@@hasPolicyServer-root@@common-root@@189@@Log
system for reports@@None@@2014-05-12
10:54:38+02:00##0c458f7c-78e7-41cd-addc-378bf9e9d43c@#Logging
system for report centralization is already correctly configured<br>
2014-05-12T10:54:39+0200 notice: R:
@@Inventory@@log_info@@inventory-all@@inventory-all@@188@@inventory@@None@@2014-05-12
10:54:38+02:00##0c458f7c-78e7-41cd-addc-378bf9e9d43c@#An inventory
was already sent less than 8 hours ago<br>
2014-05-12T10:54:39+0200 notice: R:
@@Inventory@@result_success@@inventory-all@@inventory-all@@188@@inventory@@None@@2014-05-12
10:54:38+02:00##0c458f7c-78e7-41cd-addc-378bf9e9d43c@#Next
inventory scheduled between 00:00 and 06:00<br>
2014-05-12T10:54:39+0200 notice: R:
@@cronConfiguration@@result_success@@308ad308-906d-4894-87b3-a5af5221e163@@b7763f07-5b9c-43d1-add3-bbb2e5124e69@@90@@Cron
entry@@update-modstatd@@2014-05-12
10:54:38+02:00##0c458f7c-78e7-41cd-addc-378bf9e9d43c@#The cron
file update-modstatd was present. Skipping...<br>
2014-05-12T10:54:39+0200 notice: R:
@@cronConfiguration@@result_success@@308ad308-906d-4894-87b3-a5af5221e163@@b7763f07-5b9c-43d1-add3-bbb2e5124e69@@90@@Cron
process@@None@@2014-05-12
10:54:38+02:00##0c458f7c-78e7-41cd-addc-378bf9e9d43c@#The cron
process is running. Skipping...<br>
<br>
It hangs on this last line. <br>
<br>
Thanks.</blockquote>
<br>
<br>
<br>
</body>
</html>