[[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: Thu, 21 Jul 2011 00:59:18 -0400

James,

 Thanks. Actually i have fixed this by restarting chef-solr and chef-server manually after installing Ruby 1.8.7 , Right now i can see/login into  the web-ui .

Where could i check the server logs if anything goes wrong ? Please tell me briefly about chef-expander role on this .


On Thu, Jul 21, 2011 at 12:53 AM, James < "> > wrote:
Mani,

There are earlier threads on this topic on the mailing list. I'm hoping to have new packages up before the weekend which may or may not resolve the problem. rubiojr has also been working on this problem, but I don't think he has 32 bit packages -- which I believe are the source (the segfaults only occur on 32 bit sytems). mkent also did some yum work, which will be included in the next round of rpms, and is included in the 64 bit rpms on rbel, I think.

I have been slack in getting these updated because I wanted to do it in an automated fashion, rather than by hand. I used the rpmbuild cookbook and heavily modified it for the purpose of building all of the chef-related packages on a target architecture/distribution. Essentially using Chef to build Chef, as opposed to something like Koji or mock.

Please note that if you are able to use a 64 bit system, I'm confident both the rpm.aegisco.com repo and the rbel repo packages will work. The rbel packages are newer than the ones in aegisco currently.

James


On Wed, Jul 20, 2011 at 7:31 PM, Mani Govindarajulu < " target="_blank"> > wrote:
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 < " target="_blank"> > 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.






--
Thanks & Regards
> M.





Archive powered by MHonArc 2.6.16.

§