Problem starting chef-server on RHEL6


#1

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:ingem_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:ingem_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:ingem_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:ingem_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:ingem_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:ingem_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:inload_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:ineach’
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:ineach’
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:inrun’
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:ineach’
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:inrun’
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:instart’
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:inload’
from /usr/sbin/chef-server:19


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


#2

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, vincent@vanderkussen.org 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:**ingem_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:**ingem_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:**ingem_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:**ingem_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:**ingem_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:**ingem_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:inload_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:ineach’
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:ineach’
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:inrun’
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:ineach’
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:inrun’
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:instart’
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:inload’
from /usr/sbin/chef-server:19

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


#3

Hrish,

yes, the file exists on the system.

Vincent

Quoting Hrishikesh Barua talonx@gmail.com:

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, vincent@vanderkussen.org 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:**ingem_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:**ingem_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:**ingem_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:**ingem_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:**ingem_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:**ingem_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:inload_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:ineach’
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:ineach’
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:inrun’
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:ineach’
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:inrun’
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:instart’
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:inload’
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.


#4

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, vincent@vanderkussen.org wrote:

Hrish,

yes, the file exists on the system.

Vincent

Quoting Hrishikesh Barua talonx@gmail.com:

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, vincent@vanderkussen.org 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:****ingem_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:****ingem_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:****ingem_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:****ingem_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:****ingem_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:****ingem_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:inload_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:ineach’
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:ineach’
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:inrun’
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:ineach’
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:inrun’
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:instart’
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:inload’
from /usr/sbin/chef-server:19

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


#5

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 talonx@gmail.com:

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, vincent@vanderkussen.org wrote:

Hrish,

yes, the file exists on the system.

Vincent

Quoting Hrishikesh Barua talonx@gmail.com:

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, vincent@vanderkussen.org 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:****ingem_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:****ingem_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:****ingem_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:****ingem_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:****ingem_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:****ingem_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:inload_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:ineach’
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:ineach’
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:inrun’
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:ineach’
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:inrun’
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:instart’
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:inload’
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.


#6

SOLUTION/FIX

I got caught out by this one as well. Its actually a simple solution.
gecode is installed to /usr/local/lib which is NOT in the dynamic library
search path for Centos6/Rhel6. All you need to do is:

echo “/usr/local/lib” >> /etc/ld.so.conf

ldconfig

After the path /usr/local/lib is in the ld.so.conf file and ldconfig is run,
you should be able to start the service without the aforementioned issue.
This thread seems to suggest that you need to install gecode from a 3rd
party rpm repo, which is not the case!!

With regards,

Patrick

On Tue, Jul 26, 2011 at 7:21 AM, vincent@vanderkussen.org 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:**ingem_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:**ingem_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:**ingem_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:**ingem_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:**ingem_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:**ingem_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:inload_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:ineach’
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:ineach’
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:inrun’
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:ineach’
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:inrun’
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:instart’
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:inload’
from /usr/sbin/chef-server:19

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


#7

Patrick,

What version of gecode are you using, and where is it from?

We built gecode packages for CentOS, Fedora, and RH because they were not
available at the time. I’m going to be cleaning up and pushing out the
cookbook I use for building all of the RPMs, as well as releasing a new
round of packages (more distributions) and docs soon. If you have a
suggestion on how to deal with this problem in the package itself, I’m happy
to implement it in the next build.

Thanks for the info,

James

On Sun, Oct 2, 2011 at 11:26 PM, Patrick Baker patricksbaker@gmail.comwrote:

SOLUTION/FIX

I got caught out by this one as well. Its actually a simple solution.
gecode is installed to /usr/local/lib which is NOT in the dynamic library
search path for Centos6/Rhel6. All you need to do is:

echo “/usr/local/lib” >> /etc/ld.so.conf

ldconfig

After the path /usr/local/lib is in the ld.so.conf file and ldconfig is
run, you should be able to start the service without the aforementioned
issue. This thread seems to suggest that you need to install gecode from a
3rd party rpm repo, which is not the case!!

With regards,

Patrick

On Tue, Jul 26, 2011 at 7:21 AM, vincent@vanderkussen.org 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:* *ingem_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:* *ingem_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:* *ingem_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:* *ingem_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:* *ingem_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:* *ingem_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:inload_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:ineach’
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:ineach’
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:inrun’
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:ineach’
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:inrun’
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:instart’
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:inload’
from /usr/sbin/chef-server:19

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


#8

I’m using gecode-3.5.0 that’s downloaded as a part of the chef-server
bootstrap;
http://wiki.opscode.com/display/chef/Bootstrap+Chef+RubyGems+Installation .
By default, the bootstrap procedure will fail on rhel6/centos6 as the
/usr/local/lib path is not in the ld.so.conf. We took the path of using the
gem installation as the wiki document suggests that RPM installations are
deprecated.

From: James [mailto:js@aegisco.com]
Sent: Monday, October 03, 2011 5:51 AM
To: chef@lists.opscode.com
Cc: vincent@vanderkussen.org
Subject: [chef] Re: Re: problem starting chef-server on RHEL6

Patrick,

What version of gecode are you using, and where is it from?

We built gecode packages for CentOS, Fedora, and RH because they were not
available at the time. I’m going to be cleaning up and pushing out the
cookbook I use for building all of the RPMs, as well as releasing a new
round of packages (more distributions) and docs soon. If you have a
suggestion on how to deal with this problem in the package itself, I’m happy
to implement it in the next build.

Thanks for the info,

James

On Sun, Oct 2, 2011 at 11:26 PM, Patrick Baker patricksbaker@gmail.com
wrote:

SOLUTION/FIX

I got caught out by this one as well. Its actually a simple solution.
gecode is installed to /usr/local/lib which is NOT in the dynamic library
search path for Centos6/Rhel6. All you need to do is:

echo “/usr/local/lib” >> /etc/ld.so.conf

ldconfig

After the path /usr/local/lib is in the ld.so.conf file and ldconfig is run,
you should be able to start the service without the aforementioned issue.
This thread seems to suggest that you need to install gecode from a 3rd
party rpm repo, which is not the case!!

With regards,

Patrick

On Tue, Jul 26, 2011 at 7:21 AM, vincent@vanderkussen.org 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/applicati
on.rb
~ loading
/usr/lib/ruby/gems/1.8/gems/chef-server-api-0.10.2/app/models/sandbox_file.r
b
~ loading
/usr/lib/ruby/gems/1.8/gems/chef-server-api-0.10.2/app/helpers/cookbook_vers
ion_helper.rb
~ loading
/usr/lib/ruby/gems/1.8/gems/chef-server-api-0.10.2/app/helpers/tarball_helpe
r.rb
~ loading
/usr/lib/ruby/gems/1.8/gems/chef-server-api-0.10.2/app/controllers/applicati
on.rb
/usr/lib/ruby/gems/1.8/gems/mixlib-authentication-1.1.4/lib/mixlib/authentic
ation/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/authentic
ation/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.r
b
~ 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/environme
nts.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_wrapp er.rb:20 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:ingem_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_g raph.rb:21 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:ingem_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:ingem_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:ingem_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.r b:18 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:ingem_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/environme nts.rb:21 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:ingem_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: inload_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: ineach’
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: ineach’
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: inrun’
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:ineach’
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:i nrun’
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:instart’
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:inload’
from /usr/sbin/chef-server:19


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


#9

I built mine on CentOS 6 (x86_64) with this.

$ ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc
–disable-examples

Going by the .spec file
(http://rpm.aegisco.com/aegisco/rhel/5Server/SRPMS/), this appears to be
the configure line for the AegisCo RPM:

$ ./configure --disable-examples --enable-float-vars
–with-boost-include=/usr/include/boost --disable-gist --disable-qt

Maybe try adding "–prefix=/usr --localstatedir=/var --sysconfdir=/etc"
to the configure line. This way you wouldn’t have to put /usr/local/lib
in the ld.so.conf file.

Eric G. Wolfe
Senior Linux Administrator,
IT Infrastructure Systems

Marshall University Computing Services
Drinko Library 428-K
One John Marshall Dr.
Huntington, WV 25755
Phone: 304.696.3428
Email: eric.wolfe@marshall.edu

How many chunks could checkchunk check if checkchunk could check chunks?
– Alan Cox

On 10/03/2011 05:51 AM, James wrote:

Patrick,

What version of gecode are you using, and where is it from?

We built gecode packages for CentOS, Fedora, and RH because they were
not available at the time. I’m going to be cleaning up and pushing out
the cookbook I use for building all of the RPMs, as well as releasing
a new round of packages (more distributions) and docs soon. If you
have a suggestion on how to deal with this problem in the package
itself, I’m happy to implement it in the next build.

Thanks for the info,

James

On Sun, Oct 2, 2011 at 11:26 PM, Patrick Baker
<patricksbaker@gmail.com mailto:patricksbaker@gmail.com> wrote:

SOLUTION/FIX

I got caught out by this one as well.  Its actually a simple
solution.  gecode is installed to /usr/local/lib which is NOT in
the dynamic library search path for Centos6/Rhel6.  All you need
to do is:

# echo "/usr/local/lib" >> /etc/ld.so.conf
# ldconfig

After the path /usr/local/lib is in the ld.so.conf file and
ldconfig is run, you should be able to start the service without
the aforementioned issue.  This thread seems to suggest that you
need to install gecode from a 3rd party rpm repo, which is not the
case!!

With regards,

Patrick


On Tue, Jul 26, 2011 at 7:21 AM, <vincent@vanderkussen.org
<mailto:vincent@vanderkussen.org>> 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.

#10

Sure, however it would be nice if we didn’t have to compile it separately!
I guess the gem bootstrap needs to take this into account.

From: Eric G. Wolfe [mailto:eric.wolfe@marshall.edu]
Sent: Monday, October 03, 2011 1:45 PM
To: chef@lists.opscode.com
Cc: James; vincent@vanderkussen.org
Subject: [chef] Re: Re: Re: problem starting chef-server on RHEL6

I built mine on CentOS 6 (x86_64) with this.

$ ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc
–disable-examples

Going by the .spec file
(http://rpm.aegisco.com/aegisco/rhel/5Server/SRPMS/), this appears to be the
configure line for the AegisCo RPM:

$ ./configure --disable-examples --enable-float-vars
–with-boost-include=/usr/include/boost --disable-gist --disable-qt

Maybe try adding “–prefix=/usr --localstatedir=/var --sysconfdir=/etc” to
the configure line. This way you wouldn’t have to put /usr/local/lib in the
ld.so.conf file.

Eric G. Wolfe
Senior Linux Administrator,
IT Infrastructure Systems

Marshall University Computing Services
Drinko Library 428-K
One John Marshall Dr.
Huntington, WV 25755
Phone: 304.696.3428
Email: eric.wolfe@marshall.edu

How many chunks could checkchunk check if checkchunk could check chunks?
– Alan Cox

On 10/03/2011 05:51 AM, James wrote:

Patrick,

What version of gecode are you using, and where is it from?

We built gecode packages for CentOS, Fedora, and RH because they were not
available at the time. I’m going to be cleaning up and pushing out the
cookbook I use for building all of the RPMs, as well as releasing a new
round of packages (more distributions) and docs soon. If you have a
suggestion on how to deal with this problem in the package itself, I’m happy
to implement it in the next build.

Thanks for the info,

James

On Sun, Oct 2, 2011 at 11:26 PM, Patrick Baker patricksbaker@gmail.com
wrote:

SOLUTION/FIX

I got caught out by this one as well. Its actually a simple solution.
gecode is installed to /usr/local/lib which is NOT in the dynamic library
search path for Centos6/Rhel6. All you need to do is:

echo “/usr/local/lib” >> /etc/ld.so.conf

ldconfig

After the path /usr/local/lib is in the ld.so.conf file and ldconfig is run,
you should be able to start the service without the aforementioned issue.
This thread seems to suggest that you need to install gecode from a 3rd
party rpm repo, which is not the case!!

With regards,

Patrick

On Tue, Jul 26, 2011 at 7:21 AM, vincent@vanderkussen.org 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: ingem_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: ingem_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: ingem_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: ingem_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: ingem_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: ingem_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:inload_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:ineach’
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:ineach’
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:inrun’
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:ineach’
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:inrun’
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:instart’
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:inload’
from /usr/sbin/chef-server:19


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


#11

Thanks a lot Eric, I’ll get this re-built as soon as I’m back in SF!

James

On Mon, Oct 3, 2011 at 1:45 PM, Eric G. Wolfe eric.wolfe@marshall.eduwrote:

**
I built mine on CentOS 6 (x86_64) with this.

$ ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc
–disable-examples

Going by the .spec file (
http://rpm.aegisco.com/aegisco/rhel/5Server/SRPMS/), this appears to be
the configure line for the AegisCo RPM:

$ ./configure --disable-examples --enable-float-vars
–with-boost-include=/usr/include/boost --disable-gist --disable-qt

Maybe try adding “–prefix=/usr --localstatedir=/var --sysconfdir=/etc” to
the configure line. This way you wouldn’t have to put /usr/local/lib in the
ld.so.conf file.

Eric G. Wolfe
Senior Linux Administrator,
IT Infrastructure Systems

Marshall University Computing Services
Drinko Library 428-K
One John Marshall Dr.
Huntington, WV 25755
Phone: 304.696.3428
Email: eric.wolfe@marshall.edu

How many chunks could checkchunk check if checkchunk could check chunks?
– Alan Cox

On 10/03/2011 05:51 AM, James wrote:

Patrick,

What version of gecode are you using, and where is it from?

We built gecode packages for CentOS, Fedora, and RH because they were not
available at the time. I’m going to be cleaning up and pushing out the
cookbook I use for building all of the RPMs, as well as releasing a new
round of packages (more distributions) and docs soon. If you have a
suggestion on how to deal with this problem in the package itself, I’m happy
to implement it in the next build.

Thanks for the info,

James

On Sun, Oct 2, 2011 at 11:26 PM, Patrick Baker patricksbaker@gmail.comwrote:

SOLUTION/FIX

I got caught out by this one as well. Its actually a simple solution.
gecode is installed to /usr/local/lib which is NOT in the dynamic library
search path for Centos6/Rhel6. All you need to do is:

echo “/usr/local/lib” >> /etc/ld.so.conf

ldconfig

After the path /usr/local/lib is in the ld.so.conf file and ldconfig is
run, you should be able to start the service without the aforementioned
issue. This thread seems to suggest that you need to install gecode from a
3rd party rpm repo, which is not the case!!

With regards,

Patrick

On Tue, Jul 26, 2011 at 7:21 AM, vincent@vanderkussen.org 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: ingem_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: ingem_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: ingem_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: ingem_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: ingem_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: ingem_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:inload_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:ineach’
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:ineach’
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:inrun’
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:ineach’
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:inrun’
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:instart’
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.


#12

Ohai!

I created a ticket in the COOK project to fix the ld.so.conf.

Thanks!

On Oct 3, 2011, at 15:01, Patrick Baker patricksbaker@gmail.com wrote:

Sure, however it would be nice if we didn’t have to compile it separately!
I guess the gem bootstrap needs to take this into account.

From: Eric G. Wolfe [mailto:eric.wolfe@marshall.edu]
Sent: Monday, October 03, 2011 1:45 PM
To: chef@lists.opscode.com
Cc: James; vincent@vanderkussen.org
Subject: [chef] Re: Re: Re: problem starting chef-server on RHEL6

I built mine on CentOS 6 (x86_64) with this.

$ ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc
–disable-examples

Going by the .spec file (http://rpm.aegisco.com/aegisco/rhel/5Server/SRPMS/),
this appears to be the configure line for the AegisCo RPM:

$ ./configure --disable-examples --enable-float-vars
–with-boost-include=/usr/include/boost --disable-gist --disable-qt

Maybe try adding “–prefix=/usr --localstatedir=/var --sysconfdir=/etc” to
the configure line. This way you wouldn’t have to put /usr/local/lib in the
ld.so.conf file.

Eric G. Wolfe

Senior Linux Administrator,

IT Infrastructure Systems


Marshall University Computing Services

Drinko Library 428-K

One John Marshall Dr.

Huntington, WV 25755

Phone: 304.696.3428

Email: eric.wolfe@marshall.edu

How many chunks could checkchunk check if checkchunk could check chunks?

           -- Alan Cox

On 10/03/2011 05:51 AM, James wrote:

Patrick,

What version of gecode are you using, and where is it from?

We built gecode packages for CentOS, Fedora, and RH because they were not
available at the time. I’m going to be cleaning up and pushing out the
cookbook I use for building all of the RPMs, as well as releasing a new
round of packages (more distributions) and docs soon. If you have a
suggestion on how to deal with this problem in the package itself, I’m happy
to implement it in the next build.

Thanks for the info,

James

On Sun, Oct 2, 2011 at 11:26 PM, Patrick Baker patricksbaker@gmail.com
wrote:

SOLUTION/FIX

I got caught out by this one as well. Its actually a simple solution.
gecode is installed to /usr/local/lib which is NOT in the dynamic library
search path for Centos6/Rhel6. All you need to do is:

echo “/usr/local/lib” >> /etc/ld.so.conf

ldconfig

After the path /usr/local/lib is in the ld.so.conf file and ldconfig is run,
you should be able to start the service without the aforementioned issue.
This thread seems to suggest that you need to install gecode from a 3rd
party rpm repo, which is not the case!!

With regards,

Patrick

On Tue, Jul 26, 2011 at 7:21 AM, vincent@vanderkussen.org 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: ingem_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: ingem_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: ingem_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: ingem_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: ingem_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: ingem_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:inload_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:ineach’
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:ineach’
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:inrun’
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:ineach’
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:inrun’
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:instart’
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:inload’
from /usr/sbin/chef-server:19


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