Actions
Bug #7420
closedcf-execd is running twice after a reboot or after running rudder-agent twice
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
System integration
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
cf-execd is running twice after a reboot or after running rudder-agent twice.
# ps wwwuax|grep cf- |grep -v grep root 2960 0.0 0.5 44028 5836 ? Ss 11:49 0:00 /var/rudder/cfengine-community/bin/cf-serverd root 3137 0.0 0.3 107860 3880 ? Ss 11:49 0:00 /var/rudder/cfengine-community/bin/cf-execd root 3504 0.0 0.3 107868 3880 ? Ss 11:49 0:00 /var/rudder/cfengine-community/bin/cf-execd
All I can do now is stop rudder-agent, kill the left cf-execd process and start rudder-agent again.
# /etc/init.d/rudder-agent stop rudder-agent[8821]: [INFO] Using /etc/default/rudder-agent for configuration rudder-agent[8824]: [INFO] Using /var/rudder/cfengine-community for CFEngine workdir rudder-agent[8825]: [INFO] Halting CFEngine Community cf-serverd... rudder-agent[8833]: [OK] CFEngine Community cf-serverd stopped after 2 seconds rudder-agent[8834]: [INFO] Halting CFEngine Community cf-execd... rudder-agent[8913]: [OK] CFEngine Community cf-execd stopped after 2 seconds
# ps wwwuax|grep cf- |grep -v grep root 3137 0.0 0.3 107860 3880 ? Ss 11:49 0:00 /var/rudder/cfengine-community/bin/cf-execd # kill 3137
# /etc/init.d/rudder-agent start rudder-agent[10066]: [INFO] Using /etc/default/rudder-agent for configuration rudder-agent[10069]: [INFO] Using /var/rudder/cfengine-community for CFEngine workdir rudder-agent[10070]: [INFO] Launching CFEngine Community cf-serverd... rudder-agent[10245]: [OK] CFEngine Community cf-serverd started after 1 seconds rudder-agent[10246]: [INFO] Launching CFEngine Community cf-execd... rudder-agent[10422]: [OK] CFEngine Community cf-execd started after 1 seconds
# ps wwwuax|grep cf- |grep -v grep root 10242 0.0 0.5 44032 5764 ? Ss 13:11 0:00 /var/rudder/cfengine-community/bin/cf-serverd root 10419 0.0 0.2 40276 2860 ? Ss 13:11 0:00 /var/rudder/cfengine-community/bin/cf-execd
And now everything is fine again, untill the next time, which is annoying.
Actions