Dear all, i followed the instruction on setting up discovery but upon
running the following commands i seem to be getting these errors. Help is
kindly needed.
# chown -R dspace:dspace /usr/local/dspace
# wget http://127.0.0.1/solr/statistics/select?q=*:*
--2013-06-04 10:54:06-- http://127.0.0.1/solr/statistics/select?q=*:*
Connecting to 127.0.0.1:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2013-06-04 10:54:06 ERROR 404: Not Found.
# /usr/local/dspace/bin/dspace update-discovery-index
INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
DSpaceKernel:org.dspace:name=335bb0b8-2a43-4d65-9938-688a06fcfc94,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
Exception: Error executing query
org.dspace.discovery.SearchServiceException: Error executing query
at
org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:418)
at org.dspace.discovery.IndexClient.main(IndexClient.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
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.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:106)
at
org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:388)
... 6 more
Caused by: org.apache.solr.common.SolrException: Not Found
Not Found
request: http://localhost/solr/search/select?q=search.resourcetype:2 AND
search.resourceid: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
--
*Sincerely Yours,
Henry Atsu Agbodza
Library Systems,
University of Ghana Computing Systems (UGCS)
Room G3, Ground Floor - East Wing,
Balme Library
Legon
Tel.: +233 (0) 207 027360*
*University of Ghana Digital Collection
(UGSpace)<http://ugspace.ug.edu.gh:8080/xmlui/>
University of Ghana Online Catalogue (UGCat) <http://library.ug.edu.gh/>
University of Ghana Research Portal <http://libguides.ug.edu.gh>
University of Ghana Off - Campus Access to E -
Resources<http://ezproxy.ug.edu.gh/>
*
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette