[chef] Re: Re: Error when starting chef-server


Chronological Thread 
  • From: Bryan Berry < >
  • To:
  • Subject: [chef] Re: Re: Error when starting chef-server
  • Date: Thu, 19 Jan 2012 08:49:30 +0100

Vina,

I am not sure exactly what your problem is but you should take a look at the special install notes for RHEL here:
http://wiki.opscode.com/display/chef/Installing+Chef+Server+using+Chef+Solo#InstallingChefServerusingChefSolo-CentOS%2FRHELInstallationNotes 

and make sure you are using the "latest" latest bootstrap cookbooks
https://s3.amazonaws.com/chef-solo/bootstrap-test-20120113.tar.gz 

the bootstrap-latest.tar.gz is actually out of date last time I checked.

On Thu, Jan 19, 2012 at 8:39 AM, Andrea Campi < "> > wrote:


On Thu, Jan 19, 2012 at 2:11 AM, < " target="_blank"> > wrote:
Hi,

I have the following error when I start chef-server on my RHEL 5 :

<internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- yajl/yajl (LoadError)
       from <internal:lib/rubygems/custom_require>:29:in `require'
       from /usr/lib64/ruby/site/1.9.1/gems/yajl-ruby-0.8.1/lib/yajl.rb:2:in `<top (required)>'
       from <internal:lib/rubygems/custom_require>:33:in `require'
       from <internal:lib/rubygems/custom_require>:33:in `rescue in require'
       from <internal:lib/rubygems/custom_require>:29:in `require'
       from /usr/lib64/ruby/site/1.9.1/gems/ohai-0.6.4/lib/ohai/system.rb:25:in `<top (required)>'
       from <internal:lib/rubygems/custom_require>:29:in `require'
       from <internal:lib/rubygems/custom_require>:29:in `require'
       from /usr/lib64/ruby/site/1.9.1/gems/ohai-0.6.4/lib/ohai.rb:21:in `<top (required)>'
       from <internal:lib/rubygems/custom_require>:29:in `require'
       from <internal:lib/rubygems/custom_require>:29:in `require'

I checked the forum archives and found only one occurence of this issue which seem to be related to gecode but gecode is installed :

Well, is the yajl gem installed?




Archive powered by MHonArc 2.6.16.

§