rhel5 installation issue


#1

I am trying to install chef today and I got the following error when
running

chef-solo -c /etc/chef/solo.rb -j /etc/chef/chef.json -r
http://s3.amazonaws.com/chef-solo/bootstrap-0.7.8.tar.gz

ERROR:

[Wed, 19 Aug 2009 12:48:14 -0400] ERROR:
package[rubygem-chef-server-slice]
(/tmp/chef-solo/cookbooks/chef/recipes/server.rb line 52) had an error:

yum failed - #<Process::Status: pid=18313,exited(2)> - returns: python:
can’t open file
’/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/provider/package/yum-du
mp.py’: [Errno 2] No such file or directory

seems like its looking for /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/ which
may really be /usr/lib/ruby/gems/1.8/gems/chef-0.7.8/

what should I do to deal with the issue?

Anthony Lopez

Director of Site Operations

CafeMom.com

alopez@cafemom.com


#2

Do you have chef 0.7.4 installed? If so, try removing it and installing 0.7.8.

On Wed, Aug 19, 2009 at 10:47 AM, Anthony Lopezalopez@cafemom.com wrote:

I am trying to install chef today and I got the following error when running

chef-solo -c /etc/chef/solo.rb -j /etc/chef/chef.json -r
http://s3.amazonaws.com/chef-solo/bootstrap-0.7.8.tar.gz

ERROR:

[Wed, 19 Aug 2009 12:48:14 -0400] ERROR: package[rubygem-chef-server-slice]
(/tmp/chef-solo/cookbooks/chef/recipes/server.rb line 52) had an error:

yum failed - #<Process::Status: pid=18313,exited(2)> - returns: python:
can’t open file
’/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/provider/package/yum-dump.py’:
[Errno 2] No such file or directory

seems like its looking for /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/ which may
really be /usr/lib/ruby/gems/1.8/gems/chef-0.7.8/

what should I do to deal with the issue?

Anthony Lopez

Director of Site Operations

CafeMom.com

alopez@cafemom.com


Joe Van Dyk
http://fixieconsulting.com