[chef] Re: Re: Re: Re: problem starting chef-server on RHEL6


Chronological Thread 
  • From:
  • To:
  • Subject: [chef] Re: Re: Re: Re: problem starting chef-server on RHEL6
  • Date: Tue, 26 Jul 2011 15:40:53 +0200

I installed gecode and gecode-devel rpms that I optained from this repo

http://rpm.aegisco.com/aegisco/fc14/x86_64/

Now the chef-server-api service starts.

Vincent

Quoting Hrishikesh Barua 
< >:

Ok. I am afraid I've not been able to resolve it on my system yet (the file
exists, but nobody knows why it's not working. I'm not a Ruby expert). Just
wanted to confirm that the file exists on yours as well, indicating that
it's a wrong error message.

See my related topic here -
http://lists.opscode.com/sympa/arc/chef/2011-07/msg00176.html

- Hrish

On 26 July 2011 17:10, 
< >
 wrote:

Hrish,

yes, the file exists on the system.

Vincent


Quoting Hrishikesh Barua 
< >:

 Welcome to the club!

I have the same error on Fedora 14/15
The file in the error
"/usr/lib/ruby/gems/1.8/gems/**dep_selector-0.0.8/lib/dep_**gecode.so"
does
exist on my machine.
It should on yours too, if you have installed gecode. Can you check that
please?

- Hrish

On 26 July 2011 16:51, 
< >
 wrote:

 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.









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




Archive powered by MHonArc 2.6.16.

§