Getting error when runnig chef-client (0.7.16)


#1

It’s me again!

After applying several recipes to a node I wanted to start chef-client on the
client. Sadly, that didn’t work. I recived the following error:

/usr/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/mixin/recipe_definition_dsl_core.rb:57:in
method_missing': Cannot find GodMonitor for god_monitor (NameError) Original exception: NameError: uninitialized constant Chef::Resource::GodMonitor from /srv/chef/cache/cookbooks/apache2/recipes/god_monitor.rb:28:infrom_file’
from
/usr/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/cookbook.rb:166:in
load_recipe' from /usr/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/compile.rb:153:inload_recipes’
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/compile.rb:142:in
each' from /usr/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/compile.rb:142:inload_recipes’
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/compile.rb:50:in
initialize' from /usr/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/client.rb:403:innew’
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/client.rb:403:in
converge' from /usr/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/client.rb:89:inrun’
from
/usr/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/application/client.rb:186:in
run_application' from /usr/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/application/client.rb:178:inloop’
from
/usr/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/application/client.rb:178:in
run_application' from /usr/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/application.rb:57:inrun’
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.16/bin/chef-client:26
from /usr/bin/chef-client:19:in `load’
from /usr/bin/chef-client:19

What could be the problem?