- From: "Julian C. Dunn" <
>
- To:
- Subject: [chef] Re: chef-client windows service start hanging
- Date: Mon, 16 Sep 2013 16:21:38 -0400
Florian,
I have seen this happen if the Chef run fails for some reason. You can
look at the logs in C:\chef\log and see what is happening.
Alternately, if you are on Chef >= 11.6, I invite you to try out the
new windows_service recipe, which will use Chef's new built-in service
manager on Windows. It has not been released yet in the chef-client
cookbook but it is committed to master.
https://github.com/opscode-cookbooks/chef-client/commit/0a516b681ca73c93e76a2095a4434845a189eab9
- Julian
On Fri, Sep 13, 2013 at 12:57 PM, Florian Hehlen
<
>
wrote:
>
Hi,
>
>
>
>
I am having mixed success with setting up the chef-client service. I have
>
about 20% of my machines on which it is failing.
>
>
>
>
I get the following error:
>
>
>
>
[2013-09-13T17:45:24+02:00] FATAL: SystemCallError: service[chef-client]
>
(chef-client::winsw_service line 46) had an error: SystemCallError: The
>
service did not respond to the start or control request in a timely fashion.
>
- StartService: The service did not respond to the start or control request
>
in a timely fashion.
>
>
>
>
· I have the problem if I try to do it through “knife winrm”
>
>
· I have the same problem if I pexec onto the machine.
>
>
· I have tried to delete the service with “sc delete chef-client”
>
and then re-run chef client but that only occasionally helps.
>
>
· If I jump onto one of the machines with the problem and reinstall
>
locally as an administrator and install the service as part of the wizard
>
install then it seems to work fine. I am using the same account
>
>
>
>
Cheers,
>
>
Flo
--
[ Julian C. Dunn
<
>
* Sorry, I'm ]
[ WWW:
http://www.aquezada.com/staff/julian * only Web 1.0 ]
[
gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]
Archive powered by MHonArc 2.6.16.