I can convert logs from 1.5.2 using stats-log-converter, but I get an
error from stats-log-importer. I can connect to
http://127.0.0.1:8080/solr using lynx, but nothing shows up on XMLUI
statistics page.

Using 1.6.2 on RHEL5.  Settings and error are included below.

Any suggestions?

Eric

--

>From server.xml:

<!-- DEFINE A CONTEXT PATH FOR DSpace SOLR Interface  -->
<Context path="/solr"
docBase="/var/lib/tomcat5/webapps/dspace/webapps/solr" debug="0"
reloadable="true" cachingAllowed="false" allowLinking="true"/>

>From config.cfg:

solr.log.server = http://127.0.0.1:8080/solr/statistics
solr.dbfile = ${dspace.dir}/config/GeoLiteCity.dat
useProxies = true
statistics.items.dc.1 = dc.identifier
statistics.items.dc.2 = dc.date.accessioned
statistics.items.type.1 = dcinput
statistics.items.type.2 = date
statistics.default.start.datepick = 01/01/1977
statistics.item.authorization.admin=false
solr.spiderips.urls = http://iplists.com/google.txt, \
                      http://iplists.com/inktomi.txt, \
                      http://iplists.com/lycos.txt, \
                      http://iplists.com/infoseek.txt, \
                      http://iplists.com/altavista.txt, \
                      http://iplists.com/excite.txt, \
                      http://iplists.com/misc.txt, \
                      http://iplists.com/non_engines.txt

The error:

[r...@dspace0 old]# ../../bin/dspace stats-log-importer -i dspace.solr.log.190
Processing file: dspace.solr.log.190
Service Temporarily Unavailable

Service Temporarily Unavailable

request: http://127.0.0.1/solr/statistics/update?wt=javabin&version=2.2
org.apache.solr.common.SolrException: Service Temporarily Unavailable

Service Temporarily Unavailable

request: http://127.0.0.1/solr/statistics/update?wt=javabin&version=2.2
        at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:343)
        at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:183)
        at 
org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217)
        at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:63)
        at 
org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter.java:363)
        at 
org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.java:501)
        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:212)
Processed 1 log lines
 - 0 entries added to solr: 0%
 - 1 errors: 100%
 - 0 search engine activity skipped: 0%
About to commit data to solr...Exception: Service Temporarily Unavailable

Service Temporarily Unavailable

request: http://127.0.0.1/solr/statistics/update
org.apache.solr.common.SolrException: Service Temporarily Unavailable

Service Temporarily Unavailable

request: http://127.0.0.1/solr/statistics/update
        at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:343)
        at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:183)
        at 
org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217)
        at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:85)
        at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:74)
        at 
org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter.java:389)
        at 
org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.java:501)
        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:212)

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to