Ohai!
Unfortunately, the patchlevel of ruby 1.8.7 shipped with Ubuntu 9.10
has some serious bugs, including the one you've observed. We are
tracking the issue on our issue tracker:
http://tickets.opscode.com/browse/CHEF-530
At the bottom of that page are instructions for enabling proposed
packages in ubuntu, which will allow you to install ruby
1.8.7.174-1ubuntu1 which contains patches for these bugs.
HTH,
Dan DeLeo
On Tue, Mar 30, 2010 at 9:00 PM, Tommy
Chheng< >
wrote:
Hi,
I just started up a clean copy of ubuntu 9.10 64 bit on linode and tried to
run chef-solo. I get a seg fault:
INFO: Starting Chef Solo Run
/usr/lib/ruby/gems/1.8/gems/ohai-0.5.0/lib/ohai/plugins/linux/network.rb:53:
[BUG] Segmentation fault
ruby 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux]
----
i ran these commands:
sudo apt-get -y update
sudo apt-get -y install ruby ruby1.8-dev libopenssl-ruby1.8 rdoc
build-essential wget
sudo apt-get install ssl-cert libxml2-dev libxslt-dev gcc g++ curl
wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.6.tgz
tar xvzf rubygems-1.3.6.tgz
cd rubygems-1.3.6
sudo ruby setup.rb
sudo ln -s /usr/bin/gem1.8 /usr/bin/gem
sudo gem sources -a http://gems.opscode.com
sudo gem sources -a http://gemcutter.org # for nanite
sudo gem install ohai chef json –no-ri –no-rdoc
chef-solo
--
Tommy Chheng
Programmer and UC Irvine Graduate Student
Twitter @tommychheng
http://tommy.chheng.com
Archive powered by MHonArc 2.6.16.