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


Chronological Thread 
  • From: Mani Govindarajulu < >
  • To: James < >
  • Cc:
  • Subject: [[chef-dev]] Re: [[chef-dev]] chef-server installation n centos 5
  • Date: Wed, 20 Jul 2011 22:31:46 -0400

Thanks for your reply James, its 32 bit system.

I've installed through this yum install commands

yum install ruby-1.8.7.334-2.el5 ruby-devel-1.8.7.334-2.el5 ruby-ri-1.8.7.334-2.el5 ruby-rdoc-1.8.7.334-2.el5

On Wed, Jul 20, 2011 at 9:34 PM, James < "> > wrote:
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, < " target="_blank"> > 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 .




--
Thanks & Regards
> M.





Archive powered by MHonArc 2.6.16.

§