[chef] Re: Error starting chef server


Chronological Thread 
  • From: Nuo Yan < >
  • To:
  • Subject: [chef] Re: Error starting chef server
  • Date: Thu, 21 Jul 2011 22:21:24 -0700

Do you have the dep_selector gem installed? What's the result from 'gem list dep_selector'?

On Thu, Jul 21, 2011 at 9:37 PM, < "> > wrote:
Hello,

I was attempting to install chef (manually) using the instructions on
http://wiki.opscode.com/display/chef/Manual+Chef+Server+Configuration.  All
seemed to go fine till I attempted to start the chef server. Here's the output
-

# chef-server -N -e production

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
INFO: Loading roles
/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
/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:36: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:36:in
`gem_original_require'
       from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36: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:36:in
`gem_original_require'
       from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36: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:36:in
`gem_original_require'
       from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36: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:36:in
`gem_original_require'
       from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36: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:36:in
`gem_original_require'
       from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36: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:36:in
`gem_original_require'
       from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36: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/bin/chef-server:19:in `load'
       from /usr/bin/chef-server:19


I'm running Fedora 15 (2.6.38.8-32.fc15.i686)




Archive powered by MHonArc 2.6.16.

§