wget http://localhost:{port}/{solr.deploy.path}/search/select?q=*:*&rows=0
| <?xml version="1.0" encoding="UTF-8"?> | |
| <response> | |
| <lst name="responseHeader"> <int name="status">0</int> <int name="QTime">0</int> <lst name="params"> <str name="q">*:*</str> <str name="rows">0</str> </lst> </lst> <result name="response" numFound="3" start="0"/> |
|
| </response> |
Hi, how are you?
Are you sure that's the default port?
In debian the default port is 8080:
'root@dspace:~# lsof-i: 8080
COMMAND PID USER FD TYPE DEVICE SIZE / OFF NODE NAME
1401 java tomcat6 0t0 25u IPv6 5001 TCP *: http-alt (LISTEN)'
You must do the following:
1. The file dspace-solr-search.cfg should look like:
'###### Search Indexing ##### #####
solr.search.server = http://localhost:8080/solr/search'
2. Change the owner of the directory 'solr', in my installation:
root@dspace:~# chown tomcat6:tomcat6 -R /var/dspace/webapps/solr/
3. Finally:
root@dspace:/var/dspace/bin# ./dspace update-discovery-index
A.
2011/8/24 Christian Voelker <C.Vo...@gmx.net>:
> Hello,
>
> I have the very same problem. How sad, that you did not get an answer.
>
> There is a similar post in the forum, only a few days old, but also not answered:
> <https://wiki.duraspace.org/display/dsforum/Error+occurs+when+turning+on+discovery+feature+of+Dspace>
>
> I bet, that there needs to be something configured in Tomcat regarding rights, but I found no hint in the docs. Also, I have not yet found the place where solr wants to put its index file. So I was not able to make sure that there is no permissions problem.
>
> When trying to access
>
> <http://83.169.21.252:8180/solr/> or
> <http://83.169.21.252:8180/solr/admin> or
> <http://83.169.21.252:8180/solr/search>
>
> I get a 403 error.
>
> Port 8180 is the default port for Tomcat in Debian which is use on my testserver.
> And yes, I have changed 8080 to 8180 in my dspace.cfg:
> dspace.baseUrl = http://83.169.21.252:8180
> And in dspace-solr-search.cfg:
> solr.search.server = http://83.169.21.252:8180/solr/search
>
> I dont know enough about Solr to test locally through CLI. This is the next thing I will try to learn. Still grateful for any hint to get up with this quickly. Where to search in the logs? I have lenghty errors in dspace.log but I dont understand them I bet I have to solve the issue with the discover index first.
>
> Again, thanks for any hints.
>
> Bye, Christian
-->> ------------------------------------------------------------------------------
>> EditLive Enterprise is the world's most technically advanced content
>> authoring tool. Experience the power of Track Changes, Inline Image
>> Editing and ensure content is compliant with Accessibility Checking.
>> http://p.sf.net/sfu/ephox-dev2dev_______________________________________________
>> DSpace-tech mailing list
>> DSpac...@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
> ------------------------------------------------------------------------------
> EMC VNX: the world's simplest storage, starting under $10K
> The only unified storage solution that offers unified management
> Up to 160% more powerful than alternatives and 25% more efficient.
> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
> _______________________________________________
> DSpace-tech mailing list
> DSpac...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
A.
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
DSpace-tech mailing list
DSpac...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech