Downgraded to ruby 1.8.7 and gem 1.7.2 as suggested.
Now, chef-solr and chef-server fail to start:
~]# chef-solr
/usr/local/rvm/gems/ruby-1.8.7-p334/gems/chef-0.10.0/lib/chef/application.rb:80:in `configure_chef': uninitialized constant Chef::Application::SocketError (NameError)
from /usr/local/rvm/gems/ruby-1.8.7-p334/gems/chef-0.10.0/lib/chef/application.rb:58:in `reconfigure'
from /usr/local/rvm/gems/ruby-1.8.7-p334/gems/chef-0.10.0/lib/chef/application.rb:64:in `run'
from /usr/local/rvm/gems/ruby-1.8.7-p334/gems/chef-solr-0.10.0/bin/chef-solr:26
from /usr/local/rvm/gems/ruby-1.8.7-p334/bin/chef-solr:19:in `load'
from /usr/local/rvm/gems/ruby-1.8.7-p334/bin/chef-solr:19
~]# chef-server -N -e production
Merb root at: /usr/local/rvm/gems/ruby-1.8.7-p334/gems/chef-server-api-0.10.0
NOTE: Gem::SourceIndex#all_gems is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::SourceIndex#all_gems called from /usr/local/rvm/gems/ruby-1.8.7-p334/gems/bundler-1.0.13/lib/bundler/rubygems_integration.rb:256
.
Loading init file from ./config/init.rb
/usr/local/rvm/gems/ruby-1.8.7-p334/gems/chef-server-api-0.10.0/config/init.rb:20:in `require': no such file to load -- merb-assets (LoadError)
from /usr/local/rvm/gems/ruby-1.8.7-p334/gems/chef-server-api-0.10.0/config/init.rb:20
from /usr/local/rvm/gems/ruby-1.8.7-p334/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:529:in `load'
from /usr/local/rvm/gems/ruby-1.8.7-p334/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:529:in `load_initfile'
from /usr/local/rvm/gems/ruby-1.8.7-p334/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:377:in `run'
from /usr/local/rvm/gems/ruby-1.8.7-p334/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:97:in `run'
from /usr/local/rvm/gems/ruby-1.8.7-p334/gems/merb-core-1.1.3/lib/merb-core/server.rb:172:in `bootup'
from /usr/local/rvm/gems/ruby-1.8.7-p334/gems/merb-core-1.1.3/lib/merb-core/server.rb:42:in `start'
from /usr/local/rvm/gems/ruby-1.8.7-p334/gems/merb-core-1.1.3/lib/merb-core.rb:165:in `start'
from /usr/local/rvm/gems/ruby-1.8.7-p334/gems/chef-server-api-0.10.0/bin/chef-server:84
from /usr/local/rvm/gems/ruby-1.8.7-p334/bin/chef-server:19:in `load'
from /usr/local/rvm/gems/ruby-1.8.7-p334/bin/chef-server:19
Some debug info:
~]# which gem
/usr/local/rvm/rubies/ruby-1.8.7-p334/bin/gem
~]# gem --version
1.7.2
~]# which ruby
/usr/local/rvm/rubies/ruby-1.8.7-p334/bin/ruby
~]# ruby --version
ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-linux]
~]# rvm info
ruby-1.8.7-p334:
system:
uname: "Linux chefserver-test1 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:39:36 EST 2008 i686 i686 i386 GNU/Linux"
bash: "/bin/bash => GNU bash, version 3.2.25(1)-release (i686-redhat-linux-gnu)"
zsh: " => not installed"
rvm:
version: "rvm 1.6.5 by Wayne E. Seguin ( ) [https://rvm.beginrescueend.com/]"
ruby:
interpreter: "ruby"
version: "1.8.7"
date: "2011-02-18"
platform: "i686-linux"
patchlevel: "2011-02-18 patchlevel 334"
full_version: "ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-linux]"
homes:
gem: "/usr/local/rvm/gems/ruby-1.8.7-p334"
ruby: "/usr/local/rvm/rubies/ruby-1.8.7-p334"
binaries:
ruby: "/usr/local/rvm/rubies/ruby-1.8.7-p334/bin/ruby"
irb: "/usr/local/rvm/rubies/ruby-1.8.7-p334/bin/irb"
gem: "/usr/local/rvm/rubies/ruby-1.8.7-p334/bin/gem"
rake: "/usr/local/rvm/gems/ruby-1.8.7-p334/bin/rake"
environment:
PATH: "/usr/local/rvm/gems/ruby-1.8.7-p334/bin:/usr/local/rvm/gems/ /bin:/usr/local/rvm/rubies/ruby-1.8.7-p334/bin:/usr/local/rvm/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/home/ec2/bin:/root/bin"
GEM_HOME: "/usr/local/rvm/gems/ruby-1.8.7-p334"
GEM_PATH: "/usr/local/rvm/gems/ruby-1.8.7-p334:/usr/local/rvm/gems/ "
MY_RUBY_HOME: "/usr/local/rvm/rubies/ruby-1.8.7-p334"
IRBRC: "/usr/local/rvm/rubies/ruby-1.8.7-p334/.irbrc"
RUBYOPT: ""
gemset: ""
~]# gem sources
*** CURRENT SOURCES ***
http://rubygems.org
~]# gem list
*** LOCAL GEMS ***
addressable (2.2.6)
amqp (0.6.7)
bundler (1.0.13)
bunny (0.6.0)
chef (0.10.0)
chef-expander (0.10.0)
chef-server (0.10.0)
chef-server-api (0.10.0)
chef-server-webui (0.10.0)
chef-solr (0.10.0)
coderay (0.9.8)
daemons (1.1.3)
dep_selector (0.0.8)
em-http-request (0.2.15)
erubis (2.7.0)
eventmachine (0.12.10)
extlib (0.9.15)
fast_xs (0.7.3)
haml (3.1.1)
highline (1.6.2)
json (1.4.6)
merb-assets (1.1.3)
merb-core (1.1.3)
merb-haml (1.1.3)
merb-helpers (1.1.3)
merb-param-protection (1.1.3)
mime-types (1.16)
mixlib-authentication (1.1.4)
mixlib-cli (1.2.0)
mixlib-config (1.1.2)
mixlib-log (1.3.0)
moneta (0.6.0)
net-ssh (2.1.4)
net-ssh-gateway (1.1.0)
net-ssh-multi (1.0.1)
ohai (0.6.4)
polyglot (0.3.1)
rack (1.2.2)
rake (0.8.7)
rest-client (1.6.1)
ruby-openid (2.1.8)
rubygems-update (1.7.2)
systemu (2.2.0)
thin (1.2.11)
treetop (1.4.9)
uuidtools (2.1.2)
yajl-ruby (0.7.9)
~]#
- Steve
--
Steve Webb - Senior System Administrator for gnip.com
Archive powered by MHonArc 2.6.16.