- From: <
>
- To:
- Subject: [chef] Chef client service - intervals
- Date: Mon, 28 Apr 2014 07:02:41 -0700 (PDT)
hi,
I tried with chef client service(as windows service) with interval changes in
windows_service.rb file the below error displays at the end of chef-client rub
i don't know why????
[2014-04-28T06:27:05-07:00] INFO: Chef Run complete in 588.813679 seconds
[2014-04-28T06:27:05-07:00] INFO: Running report handlers
[2014-04-28T06:27:05-07:00] INFO: Report handlers complete
[2014-04-28T06:27:05-07:00] INFO: Sending resource update report (run-id:
fefddd95-6664-4779-a968-c8428a95df75)
[2014-04-28T06:27:06-07:00] ERROR: command timed out:
---- Begin output of chef-client --no-fork -c C:\chef\client.rb -L
C:\chef\client.log ----
STDOUT:
STDERR:
---- End output of chef-client --no-fork -c C:\chef\client.rb -L
C:\chef\client.log ----
(Mixlib::ShellOut::CommandTimeout)
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/mixlib-shellout-1.4.0-x86-mingw32/lib/mixlib/shellout/windows.rb:114:in
`run_command'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/mixlib-shellout-1.4.0-x86-mingw32/lib/mixlib/shellout.rb:227:in
`run_command'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2-x86-mingw32/lib/chef/mixin/shell_out.rb:37:in
`shell_out'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2-x86-mingw32/lib/chef/application/windows_service.rb:191:in
`run_chef_client'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2-x86-mingw32/lib/chef/application/windows_service.rb:97:in
`block in service_main'
<internal:prelude>:10:in `synchronize'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2-x86-mingw32/lib/chef/application/windows_service.rb:77:in
`service_main'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/win32-service-0.8.2/lib/win32/daemon.rb:301:in
`mainloop'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/win32-service-0.8.2/lib/win32/daemon.rb:202:in
`mainloop'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2-x86-mingw32/lib/chef/application/windows_service.rb:315:in
`<main>'
[2014-04-28T06:27:06-07:00] INFO: Child process exited (pid: 5560)
[2014-04-28T06:27:06-07:00] INFO: Next chef-client run will happen in
2700.928581142773 seconds
thanks,
Ganesan.A
Archive powered by MHonArc 2.6.16.