portertech / chef-monitor

An OpsCode Chef cookbook for monitoring services, wrapping the Sensu cookbook.
http://community.opscode.com/cookbooks/monitor
84 stars 101 forks source link

server_service failed to start #7

Closed chaoranxie closed 11 years ago

chaoranxie commented 11 years ago

server_service failed to start because "sensu::redis" only installed redis but does not start it. "sensu::redis" uses chef-redis repo which only installed the package

portertech commented 11 years ago

Were you using the correct redis cookbook? https://github.com/miah/chef-redis

chaoranxie commented 11 years ago

i didnt choose any specific cookbook, i left Vagrant/librarian-chef/chef-monitor/sensu-chef to decide for me. i think based on my os CentOS 6, it ended up running chef-redis/blob/master/recipes/server_package.rb which install redis but not start it.

i tested this using Ubuntu as well, it also gave me the same error.

portertech commented 11 years ago

Thank you, I will follow up w/ an redis cb fix.

portertech commented 11 years ago

sensu/sensu-chef now uses the Redis cookbook LWRP wrapper recipe, which starts the service.