Hi
I have just tried it and there's a type forbidden error when i use that command
(as user dspace).
The /var/lib/tomcat6/webapps/solr is now property of dspace (user which execute
tomcat) and with permission 777
I can't see why is it forbidden
Fran Pais
[dspace@centos63]$ ./dspace oai import -c
INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: DSpaceKernel:org
space:name=1b67527e-e51a-4a71-8bf9-0ea69edbdf9d,type=DSpaceKernel:lastLoad=null:
loadTime=0:running=false:kernel=null
INFO [main] (ConfigurationManager.java:1224) - Loading from classloader:
file:/dspace/config/dspace.cfg
INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log
configuration (log.init.config)
INFO [main] (ConfigurationManager.java:1224) - Loading:
/dspace/config/log4j.properties
OAI 2.0 manager action started
Clearing index
org.apache.solr.common.SolrException: Prohibido
Prohibido
request: http://10.8.40.56:8080/solr/oai/update?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.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
at org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:110)
at org.dspace.xoai.app.XOAI.clearIndex(XOAI.java:366)
at org.dspace.xoai.app.XOAI.index(XOAI.java:126)
at org.dspace.xoai.app.XOAI.main(XOAI.java:439)
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)
De: "helix84" <[email protected]>
Para: "Francisco Pais Suarez" <[email protected]>
CC: [email protected]
Enviados: Martes, 26 de Marzo 2013 10:41:13
Asunto: Re: [Dspace-tech] Error with Dspace OAI-PHM listing records and
Identifiers
Hi Francisco,
try running
[dspace]/bin/dspace oai import -c
Does that fix the problem?
If not, try accessing ListRecords or ListIdentifiers again and look at
what was added at that time to the Solr log (presumably catalina.out).
Regards,
~~helix84
Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
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