Why is solr admin panel not showing

jettysolr

I have downloaded solr from here and untar'd it. Then went to the example directory in apache-solr-3.1.0/solr/example and ran this command

java -jar start.jar

But when I open http://localhost:8983/solr/admin/

it shows like this

HTTP ERROR: 404 Problem accessing /solr/admin/.

Reason:

NOT_FOUND

Powered by Jetty://

I'm using Ubuntu 11.04. Why this problem is coming?

Best Answer

  1. Stop Solr
  2. Go to the directory where you run "java -jar start.jar"
  3. mkdir work
  4. java -jar start.jar

It seems that Jetty will use the work directory if it exists, otherwise it uses /tmp

Related Topic