Try    wget 'http://localhost/solr/statistics/select?q=*:*&wt=json&indent=true'

If that works solr is up and happy and knows about the statistics core

If not - try the same wget as the use that runs your DSPACE instance


Monika


________________
Monika Mevenkamp
phone: 609-258-4161
693 Alexander Road, Princeton University, Princeton, NJ 08544


On Dec 30, 2014, at 4:14 AM, Ahmed Maher 
<[email protected]<mailto:[email protected]>> wrote:

thanks Monika,

the command returns http://localhost/solr/statistics

i use port 80 for tomcat

and the wget command return

Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-12-30 09:11:01 ERROR 404: Not Found.

although the command
 wget http://localhost/solr
 works successfully



On Mon, Dec 29, 2014 at 5:39 PM, Monika C. Mevenkamp 
<[email protected]<mailto:[email protected]>> wrote:
Ahmed,

Dspace uses the solar server as defined in  
/dspace/config/modules/solr-statistics.cfg

In our case we deployed the solr web app under tomcat such that it becomes 
accessible under

http://localhost:8080/solr

and we set the solar server in /dspace/config/modules/solr-statistics.cfg to

http://localhost:8080/solr/statistics


you can check on the solr server setting in your installation with

/dspace/bin/dspace dsprop  -module solr-statistics -property server


you can test your setting on the command line of the deployment server by 
running

wget  <your-solr-server-url>


I hope this helps

Monika


________________
Monika Mevenkamp
phone: 609-258-4161
693 Alexander Road, Princeton University, Princeton, NJ 08544


On Dec 24, 2014, at 6:46 AM, Ahmed Maher 
<[email protected]<mailto:[email protected]>> wrote:

Hi All ,

i have problem when enabling statistics
when  running solr optimization command

dspace stats-util -o

it returns this error

 ERROR org.dspace.statistics.SolrLogger @ Server at 
http://localhost/solr/statistics returned non ok status:500, message:Internal 
Server Error

thanks
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. 
http://goparallel.sourceforge.net_______________________________________________<http://goparallel.sourceforge.net_______________________________________________/>
DSpace-tech mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
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

Reply via email to