重新启动RHEL服务器后,chef-server无法启动

时间:2012-11-21 12:06:37

标签: linux linux-kernel chef chef-recipe

“usr / sbin / setup-chef-server.sh”

厨师服务器启动时出现

错误

检查RabbitMQ ......

启动CouchDB ......

启动couchdb:已经运行[警告] 启用Chef服务......

启动Chef Services ...

启动Chef-server:[FAILED]

启动chef-server-webui:[FAILED]

启动chef-solr:/usr/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:247:in to_specs': Could not find chef-solr (>= 0) amongst [bunny-0.7.9, chef-10.16.2, erubis-2.7.0, highline-1.6.15, ipaddress-0.8.0, json-1.6.1, mime-types-1.19, mixlib-authentication-1.3.0, mixlib-cli-1.2.2, mixlib-config-1.1.2, mixlib-log-1.4.1, mixlib-shellout-1.1.0, moneta-0.6.0, net-ssh-2.2.2, net-ssh-gateway-1.1.0, net-ssh-multi-1.1, ohai-6.14.0, polyglot-0.3.3, rest-client-1.6.7, systemu-2.5.2, treetop-1.4.12, uuidtools-2.1.3, yajl-ruby-1.1.0] (Gem::LoadError)

from /usr/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:256:in 'to_spec'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:1210:in 'gem'
from /usr/bin/chef-solr:18

[FAILED]

启动chef-expander:/usr/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:247:in`to_specs':在[bunny-0.7]中找不到chef-expander(> = 0)。 9,chef-10.16.2,erubis-2.7.0,highline-1.6.15,ipaddress-0.8.0,json-1.6.1,mime-types-1.19,mixlib-authentication-1.3.0,mixlib-cli- 1.2.2,mixlib-config-1.1.2,mixlib-log-1.4.1,mixlib-shellout-1.1.0,moneta-0.6.0,net-ssh-2.2.2,net-ssh-gateway-1.1。 0,net-ssh-multi-1.1,ohai-6.14.0,polyglot-0.3.3,rest-client-1.6.7,systemu-2.5.2,treetop-1.4.12,uuidtools-2.1.3,yajl- ruby-1.1.0](Gem :: LoadError)

    from /usr/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:256:in `to_spec'
    from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:1210:in `gem'
    from /usr/bin/chef-expander:18

[FAILED]

1 个答案:

答案 0 :(得分:0)

我在服务器上的厨师宝石版本也有0.10.6,这似乎安装了chef-expander,chef-solr,chef-server,chef-server-webui等。厨师10不仅仅是客户吗? - PatrickWalker 2分钟前编辑

http://wiki.opscode.com/display/chef/Installing+Chef+Server+Manually似乎表明是啊0.10.x是服务器的宝石并且看着发行说明10.X似乎是客户端