[[chef-dev]] Re: [[chef-dev]] chef-server installation n centos 5


Chronological Thread 
  • From: James < >
  • To:
  • Cc:
  • Subject: [[chef-dev]] Re: [[chef-dev]] chef-server installation n centos 5
  • Date: Wed, 20 Jul 2011 18:34:54 -0700

Mani,

Is this a 32 bit or 64 bit system? What repo did you install the Ruby 1.8.7 RPM from?

Thanks,

James

On Wed, Jul 20, 2011 at 5:59 PM, < "> > wrote:

i was trying to install chef-server using rubygems install run list.

 * my sys had ruby 1.8.7 & gems 1.7.2 .
 i ve installed chef and ohai gems
 and then i was trying to install using chef-solo -c /etc/chef/solo.rb -j
~/chef.json -r http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz.

it gave me an error

 Chef 0.10.2 ***
[Wed, 20 Jul 2011 15:20:41 -0400] INFO: Setting the run_list to
["recipe[chef-server::rubygems-install]"] from JSON
[Wed, 20 Jul 2011 15:20:41 -0400] INFO: Run List is
[recipe[chef-server::rubygems-install]]
[Wed, 20 Jul 2011 15:20:41 -0400] INFO: Run List expands to
[chef-server::rubygems-install]
[Wed, 20 Jul 2011 15:20:41 -0400] INFO: Starting Chef Run for XXXX
[Wed, 20 Jul 2011 15:20:41 -0400] INFO: Processing user[chef] action create
(chef-server::rubygems-install line 30)
[Wed, 20 Jul 2011 15:20:41 -0400] INFO: Processing package[erlang] action
install (erlang::default line 26)
/usr/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/provider/package/yum.rb:64:
[BUG] Segmentation fault
ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-linux]

So i found the forum saying need to have ruby ver 1.8.6 and gem 1.4.0 . tn i
had installed the ruby 1.8.6 and gem 1.4.0

then it started running nice upto chef-solr service start step. After that i
got an error chef-expander service start failed.

 i got this error []': odd number of arguments for Hash (ArgumentError).

when i searched the forum , now this error is because ruby version 1.8.7 syntax
being used in the expander.

Please help me how to resolve it .




Archive powered by MHonArc 2.6.16.

§