[chef] problem starting chef-server on RHEL6


Chronological Thread 
  • From:
  • To: " " < >
  • Subject: [chef] problem starting chef-server on RHEL6
  • Date: Tue, 26 Jul 2011 13:21:20 +0200

Hi,

I'm starting to test Chef to see if it can be used in our environment, so i prepared a machine to do the installation.

OS : RHEL6.1 64bit

I used the installation from RubyGems and did a bootstrap without errors. The problem is that the chef-server service doesn't want to start.

When starting Chef manually i get the following error

# chef-server -N -e production -V
 ~ Running bootloaders...
Merb root at: /usr/lib/ruby/gems/1.8/gems/chef-server-api-0.10.2
~ No Gemfile found! If you're generating new app with merb-gen this is fine, otherwise run: bundle init to create Gemfile
Loading init file from ./config/init.rb
[Tue, 26 Jul 2011 09:20:33 -0400] INFO: Loading roles
~ loading /usr/lib/ruby/gems/1.8/gems/chef-server-api-0.10.2/app/controllers/application.rb
~ loading /usr/lib/ruby/gems/1.8/gems/chef-server-api-0.10.2/app/models/sandbox_file.rb
~ loading /usr/lib/ruby/gems/1.8/gems/chef-server-api-0.10.2/app/helpers/cookbook_version_helper.rb
~ loading /usr/lib/ruby/gems/1.8/gems/chef-server-api-0.10.2/app/helpers/tarball_helper.rb
~ loading /usr/lib/ruby/gems/1.8/gems/chef-server-api-0.10.2/app/controllers/application.rb
/usr/lib/ruby/gems/1.8/gems/mixlib-authentication-1.1.4/lib/mixlib/authentication/http_authentication_request.rb:25: warning: already initialized constant MANDATORY_HEADERS
/usr/lib/ruby/gems/1.8/gems/mixlib-authentication-1.1.4/lib/mixlib/authentication/signatureverification.rb:28: warning: already initialized constant SignatureResponse
~ loading /usr/lib/ruby/gems/1.8/gems/chef-server-api-0.10.2/app/controllers/clients.rb
~ loading /usr/lib/ruby/gems/1.8/gems/chef-server-api-0.10.2/app/controllers/cookbooks.rb
~ loading /usr/lib/ruby/gems/1.8/gems/chef-server-api-0.10.2/app/controllers/data_bags.rb
~ loading /usr/lib/ruby/gems/1.8/gems/chef-server-api-0.10.2/app/controllers/data_item.rb
~ loading /usr/lib/ruby/gems/1.8/gems/chef-server-api-0.10.2/app/controllers/environments.rb
/usr/lib/ruby/gems/1.8/gems/dep_selector-0.0.8/lib/dep_gecode.so: libgecodeminimodel.so.27: cannot open shared object file: No such file or directory - /usr/lib/ruby/gems/1.8/gems/dep_selector-0.0.8/lib/dep_gecode.so (LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/dep_selector-0.0.8/lib/dep_selector/gecode_wrapper.rb:20
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/dep_selector-0.0.8/lib/dep_selector/dependency_graph.rb:21
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/dep_selector-0.0.8/lib/dep_selector/selector.rb:20
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/dep_selector-0.0.8/lib/dep_selector.rb:22
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.2/lib/chef/cookbook_version_selector.rb:18
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/chef-server-api-0.10.2/app/controllers/environments.rb:21
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:897:in `load_file'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:931:in `load_classes'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:929:in `each'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:929:in `load_classes'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:928:in `each'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:928:in `load_classes'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:670:in `run'
from /usr/lib/ruby/gems/1.8/gems/extlib-0.9.15/lib/extlib/dictionary.rb:268:in `each'
from /usr/lib/ruby/gems/1.8/gems/extlib-0.9.15/lib/extlib/dictionary.rb:268:in `each'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:668:in `run'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:97:in `run'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/server.rb:172:in `bootup'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/server.rb:42:in `start'
from /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core.rb:165:in `start'
from /usr/lib/ruby/gems/1.8/gems/chef-server-api-0.10.2/bin/chef-server:84
        from /usr/sbin/chef-server:19:in `load'
        from /usr/sbin/chef-server:19
#


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




Archive powered by MHonArc 2.6.16.

§