[chef] Re: solr issue trying to start chef 0.10 rc server


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: solr issue trying to start chef 0.10 rc server
  • Date: Mon, 18 Apr 2011 09:27:09 -0700


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.

§