Skip to content

Instantly share code, notes, and snippets.

@powdahound
Created July 30, 2009 16:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save powdahound/158760 to your computer and use it in GitHub Desktop.
Save powdahound/158760 to your computer and use it in GitHub Desktop.
chef-client daemon error
2009-07-30_15:25:30.42602 INFO: Starting Chef Run
2009-07-30_15:25:30.42602 ERROR: Net::HTTPServerException
2009-07-30_15:25:30.42602 FATAL: 400 "Bad Request"
2009-07-30_15:25:30.42603 /usr/lib/ruby/1.8/net/http.rb:2097:in `error!'
2009-07-30_15:25:30.42603 /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/rest.rb:232:in `run_request'
2009-07-30_15:25:30.42603 /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/rest.rb:230:in `run_request'
2009-07-30_15:25:30.42604 /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/rest.rb:95:in `post_rest'
2009-07-30_15:25:30.42604 /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:227:in `authenticate'
2009-07-30_15:25:30.42605 /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:74:in `run'
2009-07-30_15:25:30.42605 /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/client.rb:164:in `run_application'
2009-07-30_15:25:30.42605 /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/client.rb:162:in `loop'
2009-07-30_15:55:40.97218 /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/client.rb:162:in `run_application'
2009-07-30_15:55:40.97219 /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application.rb:57:in `run'
2009-07-30_15:55:40.97220 /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/bin/chef-client:26
2009-07-30_15:55:40.97221 /usr/bin/chef-client:19:in `load'
2009-07-30_15:55:40.97222 /usr/bin/chef-client:19
2009-07-30_15:55:40.97223 FATAL: Sleeping for 1808 seconds before trying again
FIX: `/etc/init.d/chef-client restart`. Must have had bad config cached or something...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment