: Iam trying to get Solr installed using apache solr 3.5.0, Java 1.6.0, and
: Drupal 7. I am able to log in through ssh, navigate to
: apache-solr-3.5.0/example, and run java -jar start.jar. After that, however,
: trying to access either localhost:8983/solr/admin or localhost:8983/solr just
: continues to bring up  404 unavailable errors. If anyone can take a look at

if you are getting a 404, then you are definitely connected to something.  
what do you get if you just try to access "http://localhost:8983/";  what 
about "http://localhost:8983/solr/admin/"; and 
"http://localhost:8983/solr/"; (note the trailing slashes)

(and of course, a silly question: if you are sshing to some machine and 
running solr there, are you sure "http://localhost:8983/"; is the host:port 
you want to connect to?

: the log printed below and help me figure out what I might be doing wrong here,
: it would be greatly appreciated. Thanks.

According to these logs, solr is starting up fine.  you can even see it's 
correctly finding the config and executing some warming queries based 
on those configs...

: Mar 22, 2012 8:47:55 AM org.apache.solr.servlet.SolrDispatchFilter init
: INFO: user.dir=/home/asiascen/apache-solr-3.5.0/example
: Mar 22, 2012 8:47:55 AM org.apache.solr.servlet.SolrDispatchFilter init
: INFO: SolrDispatchFilter.init() done
: Mar 22, 2012 8:47:56 AM org.apache.solr.core.SolrCore execute
: INFO: [] webapp=null path=null
: params={event=firstSearcher&q=static+firstSearcher+warming+in+solrconfig.xml}
: hits=0 status=0 QTime=83
: Mar 22, 2012 8:47:56 AM org.apache.solr.core.QuerySenderListener newSearcher
: INFO: QuerySenderListener done.

...if you were completley unable to connect, i'd suggest maybe a firewall 
problem.  but if you can connect and get a 404 w/o seeing any errors 
in the solr logging then i would suggest you first sanity check you are 
talking to the right host:port you mean to -- one way to be certain is to 
look in /home/asiascen/apache-solr-3.5.0/example/logs where jetty request 
logs should be written (assuming you are running the solr example the way 
you mentioned) and verify that these 404 requests are showing up there.


-Hoss

Reply via email to