I have restored the data in dspace 4.5. Now in dspace i can see the
communities and collections but they are empty. I tried to run dspace
index-discovery but it returned with the following error. Any help to solve
this is highly appreciated.

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Pawan>cd/

C:\>cd dspace

C:\dspace>cd bin

C:\dspace\bin>dspace index-discovery
Using DSpace installation in: C:\dspace
Exception: Server refused connection at: http://localhost:8082/solr/search
org.dspace.discovery.SearchServiceException: Server refused connection at:
http:
//localhost:8082/solr/search
        at
org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:
484)
        at org.dspace.discovery.IndexClient.main(IndexClient.java:119)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.j
ava:225)
        at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)
Caused by: org.apache.solr.client.solrj.SolrServerException: Server refused
conn
ection at: http://localhost:8082/solr/search
        at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServ
er.java:428)
        at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServ
er.java:180)
        at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryReques
t.java:90)
        at
org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
        at
org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:
454)
        ... 7 more
Caused by: org.apache.http.conn.HttpHostConnectException: Connection to
http://l
ocalhost:8082 refused
        at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnect
ion(DefaultClientConnectionOperator.java:190)
        at
org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedCli
entConnectionImpl.java:294)
        at
org.apache.http.impl.client.DefaultRequestDirector.tryConnect(Default
RequestDirector.java:640)
        at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultReq
uestDirector.java:479)
        at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpCl
ient.java:906)
        at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpCl
ient.java:805)
        at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpCl
ient.java:784)
        at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServ
er.java:365)
        ... 11 more
Caused by: java.net.ConnectException: Connection refused: connect
        at java.net.DualStackPlainSocketImpl.connect0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
        at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
        at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at
org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSoc
ketFactory.java:127)
        at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnect
ion(DefaultClientConnectionOperator.java:180)
        ... 18 more

C:\dspace\bin>
-- 
Thanks and Regards
*-------*
Join hands, Join eLibrarian

*https://sites.google.com/site/theelibrarians/
<https://sites.google.com/site/theelibrarians/>*
*-------*
*Dr. Pawan R. Agrawal*
Registered freelancer: NewGenLib
Academic Councellor: IGNOU and BAOU
Assistant Librarian
Learning Resource Centre (Library)
Dr. APJ Abdul Kalam Government College
(Silvassa College, Govt. Arts, Commerce and Science College)
Silvassa , U.T. of Dadra and Nagar Haveli
INDIA- 396230
Ph. 9376135580, 9904828387
http://www.pragrawal.wordpress.com
Skype ID: pawanagrawal4u4u

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to