Problem installing latest chef-server


#1

Hi all,

I’m following this documentation to install chef-server :
http://wiki.opscode.com/display/chef/Installation

But I’m encountering some strange errors.

When I’m at the step “sudo chef-solo -c ~/solo.rb -j ~/chef.json -r
http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz”, I get the
following error :

rails@ubuntu1:~$ sudo chef-solo -c ~/solo.rb -j ~/chef.json -r
http://s3.amazonaws.com/chef-solo/bootstrap-0.7.0.tar.gz
[Fri, 26 Jun 2009 15:14:51 +0200] INFO: Starting Chef Solo Run
[Fri, 26 Jun 2009 15:14:52 +0200] ERROR: package[runit]
(/tmp/chef-solo/cookbooks/runit/recipes/default.rb line 32) had an
error:
No version specified, and no candidate version available!
/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/provider/package.rb:50:in
action_install'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:87:insend’/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:87:in
converge'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:85:ineach’/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:85:in
converge'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/resource_collection.rb:58:ineach’/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/resource_collection.rb:57:in
each'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:63:inconverge’/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:373:in
converge'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:101:inrun_solo’/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/solo.rb:122:in
run_application'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application.rb:57:inrun’/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/bin/chef-solo:26/usr/bin/chef-solo:19:in
load'/usr/bin/chef-solo:19 /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/provider/package.rb:50:inaction_install’: No version specified, and no candidate version
available! (Chef::Exceptions::Package)
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:87:in send' from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:87:inconverge’
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:85:in each' from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:85:inconverge’
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/resource_collection.rb:58:in
each' from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/resource_collection.rb:57:ineach’
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:63:in converge' from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:373:inconverge’
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:101:in
run_solo' from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/solo.rb:122:inrun_application’
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application.rb:57:in run' from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/bin/chef-solo:26 from /usr/bin/chef-solo:19:inload’
from /usr/bin/chef-solo:19

So, it seems that there’s a problem with the installation of runit. I
installed it with “apt-get install runit”. But I keep getting the same
error.

I use Ubuntu 8.04 and Ubuntu 9.04, and I’ve also tried with
http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz without success…

What am I doing wrong ?

Thanks in advance,

++

yk