Created
May 11, 2011 17:55
-
-
Save atomic-penguin/966952 to your computer and use it in GitHub Desktop.
rhel-chef-solr-installer-fileutils
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root@chef# chef-solr-installer | |
| Configuration setting amqp_pass is unknown and will be ignored | |
| Configuration setting solr_heap_size is unknown and will be ignored | |
| Configuration setting log_location is unknown and will be ignored | |
| Configuration setting solr_url is unknown and will be ignored | |
| Creating Solr Home Directory | |
| mkdir -p /srv/chef/solr/home | |
| /usr/lib64/ruby/gems/1.8/gems/chef-solr-0.10.0/lib/chef/solr/solr_installer.rb:335:in `mkdir_p': uninitialized constant Chef::SolrInstaller::FileUtils (NameError) | |
| from /usr/lib64/ruby/gems/1.8/gems/chef-solr-0.10.0/lib/chef/solr/solr_installer.rb:309:in `create_solr_home' | |
| from /usr/lib64/ruby/gems/1.8/gems/chef-solr-0.10.0/lib/chef/solr/solr_installer.rb:371:in `indent' | |
| from /usr/lib64/ruby/gems/1.8/gems/chef-solr-0.10.0/lib/chef/solr/solr_installer.rb:377:in `group' | |
| from /usr/lib64/ruby/gems/1.8/gems/chef-solr-0.10.0/lib/chef/solr/solr_installer.rb:308:in `create_solr_home' | |
| from /usr/lib64/ruby/gems/1.8/gems/chef-solr-0.10.0/lib/chef/solr/solr_installer.rb:269:in `run' | |
| from /usr/lib64/ruby/gems/1.8/gems/chef-solr-0.10.0/bin/chef-solr-installer:25 | |
| from /usr/bin/chef-solr-installer:19:in `load' | |
| from /usr/bin/chef-solr-installer:19 | |
| root@chef# mkdir -p /srv/chef/solr/home | |
| root@chef# chef-solr-installer | |
| Configuration setting amqp_pass is unknown and will be ignored | |
| Configuration setting solr_heap_size is unknown and will be ignored | |
| Configuration setting log_location is unknown and will be ignored | |
| Configuration setting solr_url is unknown and will be ignored | |
| Chef Solr is already installed in /srv/chef/solr/home | |
| Do you want to overwrite the current install? All existing Solr data will be lost. [y/n] y | |
| Removing the existing Chef Solr installation | |
| rm -rf /srv/chef/solr/home | |
| /usr/lib64/ruby/gems/1.8/gems/chef-solr-0.10.0/lib/chef/solr/solr_installer.rb:366:in `rm_rf': uninitialized constant Chef::SolrInstaller::FileUtils (NameError) | |
| from /usr/lib64/ruby/gems/1.8/gems/chef-solr-0.10.0/lib/chef/solr/solr_installer.rb:301:in `scorch_the_earth' | |
| from /usr/lib64/ruby/gems/1.8/gems/chef-solr-0.10.0/lib/chef/solr/solr_installer.rb:371:in `indent' | |
| from /usr/lib64/ruby/gems/1.8/gems/chef-solr-0.10.0/lib/chef/solr/solr_installer.rb:377:in `group' | |
| from /usr/lib64/ruby/gems/1.8/gems/chef-solr-0.10.0/lib/chef/solr/solr_installer.rb:300:in `scorch_the_earth' | |
| from /usr/lib64/ruby/gems/1.8/gems/chef-solr-0.10.0/lib/chef/solr/solr_installer.rb:266:in `run' | |
| from /usr/lib64/ruby/gems/1.8/gems/chef-solr-0.10.0/bin/chef-solr-installer:25 | |
| from /usr/bin/chef-solr-installer:19:in `load' | |
| from /usr/bin/chef-solr-installer:19 | |
| root@chef# rm -rf /srv/chef/solr/home (then back to first error) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # In case you've installed ruby from an RPM source, and its not working with chef::bootstrap_server... | |
| # Let's clean that up and nuke Chef-incompatible Ruby | |
| # yum remove ruby ruby-shadow ruby-ri ruby-rdoc ruby-devel ruby-static ruby-libs | |
| # rm -rf /usr/lib/ruby | |
| # rm -rf /usr/lib64/ruby | |
| # I believe these are the Ruby build requirements | |
| yum -y install gcc-c++ patch readline readline-devel zlib zlib-devel openssl-devel libxml-devel libxslt-devel | |
| # Download Ruby 1.9.2 | |
| wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p180.tar.gz | |
| tar zxvf ruby-1.9.2-p180.tar.gz | |
| cd ruby-1.9.2-p180 | |
| ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var | |
| make && make install | |
| # Now you can install Chef and run the bootstrap_server recipe | |
| # gem install chef ohai... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment