- From: KC Braunschweig <
>
- To:
- Subject: [chef] Re: Re: solr issue trying to start chef 0.10 rc server
- Date: Mon, 18 Apr 2011 11:01:03 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=hoImDslVvQtX2+ZAR2G+8d7h5VFSv3W/eOCeDnsE8G5HzRKt6hq/qdcH4zoffVc4Cg mRq/tMVE/cY1it5u2cVRw0mByOTQ6PiUMyO5r1qwzLtpZ7/YeS4sPyEw/qeRqKJ3XTp2 gp34EDtehYksa7y5CfYbwdtg1G95PaS0aOXnU=
Yes I had run it before based on this:
http://wiki.opscode.com/display/chef/Upgrading+Chef+0.9.x+to+Chef+0.10.x#UpgradingChef0.9.xtoChef0.10.x-UpgradeSolr
Though this is a new install, not an upgrade. Just tried running it
again didn't change the symptoms.
KC
~]# chef-solr-installer -u chef -g chef
Configuration setting solr_url 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
Chef Solr is already installed in /var/chef/solr
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 /var/chef/solr
rm -rf /var/chef/solr-jetty
rm -rf /var/chef/solr/data
Creating Solr Home Directory
mkdir -p /var/chef/solr
entering /var/chef/solr
tar zxvf
/usr/lib/ruby/gems/1.8/gems/chef-solr-0.10.0.rc.0/solr/solr-home.tar.gz
Creating Solr Data Directory
mkdir -p /var/chef/solr/data
chown -R chef:chef /var/chef/solr/data
Unpacking Solr Jetty
mkdir -p /var/chef/solr-jetty
entering /var/chef/solr-jetty
tar zxvf
/usr/lib/ruby/gems/1.8/gems/chef-solr-0.10.0.rc.0/solr/solr-jetty.tar.gz
chown -R chef:chef /var/chef/solr-jetty
Successfully installed Chef Solr.
You can restore your search index using `knife index rebuild`
On Mon, Apr 18, 2011 at 9:27 AM, Daniel DeLeo
<
>
wrote:
>
>
On Friday, April 15, 2011 at 9:52 PM, KC Braunschweig wrote:
>
>
So I've been trying to go through the manual chef server setup with
>
0.10.0.rc0 using the gem install on RHEL 5.6 and hit a snag with solr.
>
-chef-expander is running
>
- when trying to start chef-solr via the init script, it starts up and
>
jetty binds to the port but solr isn't working:
>
>
# ps -ef | grep java
>
root 13287 1 0 21:42 ? 00:00:00 java -Xmx256M -Xms256M
>
-Dsolr.data.dir=/var/chef/solr/data -Dsolr.solr.home=/var/chef/solr
>
-jar /var/chef/solr-jetty/start.jar
>
>
But the logs reveal a problem (see the bottom). I'm guessing something
>
simple about my solr config is wrong. Hoping someone can help. The
>
server api and server webui will start up but solr returns a 404
>
whenever you try t hit it so they server can't do much.
>
>
# cat solr.rb
>
log_location STDOUT
>
>
solr_url "http://localhost:8983"
>
>
supportdir = "/var/chef"
>
solr_jetty_path "/var/chef/solr-jetty"
>
solr_data_path "/var/chef/solr/data"
>
solr_home_path "/var/chef/solr"
>
solr_heap_size ""256M"
>
>
You ran chef-solr-installer, yes? Does it fix anything if you run it again?
>
--
>
Dan DeLeo
>
>
Archive powered by MHonArc 2.6.16.