I recently want to run ./dspace oai import. However I get the error message of "org.apache.solr.common.SolrException: not found "
My Dspace version is 3.1. Our OS is redhat linux 6.4
The detailed error message is as below.
-----------------------------------------------------------------------------
[root@library bin]# ./dspace oai import
INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: DSpaceKernel:org.dspace:name=f7509cea-eda0-4ab4-9f08-949471b22aaf,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
INFO [main] (ConfigurationManager.java:1224) - Loading from classloader: file:/usr/local/dspace/config/dspace.cfg
INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log configuration (log.init.config)
INFO [main] (ConfigurationManager.java:1224) - Loading: /usr/local/dspace/config/log4j.properties
OAI 2.0 manager action started
org.dspace.xoai.solr.exceptions.DSpaceSolrIndexerException: Error executing query
at org.dspace.xoai.app.XOAI.index(XOAI.java:160)
at org.dspace.xoai.app.XOAI.main(XOAI.java:439)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
Caused by: org.dspace.xoai.solr.exceptions.DSpaceSolrException: Error executing query
at org.dspace.xoai.solr.DSpaceSolrSearch.query(DSpaceSolrSearch.java:39)
at org.dspace.xoai.app.XOAI.index(XOAI.java:134)
... 6 more
Caused by: org.apache.solr.client.solrj.SolrServerException: Error executing query
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
at org.dspace.xoai.solr.DSpaceSolrSearch.query(DSpaceSolrSearch.java:34)
... 7 more
Caused by: org.apache.solr.common.SolrException: Not Found
Not Found
request:
http://localhost:8080/solr/oai/select?q=*:*&fl=item.lastmodified&sort=item.lastmodified desc,
item.id asc&rows=1&wt=javabin&version=2
at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
... 9 more
[root@library bin]#