[Dspace-tech] Cannot add/edit collection

5 views
Skip to first unread message

Sunyeen Pai

unread,
Aug 24, 2015, 5:33:31 PM8/24/15
to dspac...@lists.sourceforge.net
Hi there,

Our production 1.4.2 DSpace instance is not allowing me to edit or add a collection. This feature worked with no problem on Tuesday, then generates the following error Wednesday morning. I found a reference in Sourceforge in an email from Mika Stenberg 2005-10-12 03:47, but no answer to the problem. The main msg, I believe, is that the system cannot find java/dspace/search/_a.fnm (No such file or directory). Our test site does not have this file...and works fine.

Can you help me solve the problem? Here is what's in /dspace/log/dspace.log :

2008-01-09 10:21:25,711 INFO org.dspace.app.webui.servlet.DSpaceServlet @ mi...@hawaii.edu:session_id=6F01897E6E368E292FCC3377E7A3ADB4:ip_addr=128.171.107.139:view_community:community_id=17
2008-01-09 10:21:28,839 INFO org.dspace.app.webui.servlet.SuggestServlet @ anonymous:session_id=F3D8D6E91B9C09811D94D2B001EFD9B6:ip_addr=66.249.67.37:show_suggest_form:problem=false
2008-01-09 10:21:32,920 INFO org.dspace.app.webui.servlet.DSpaceServlet @ mi...@hawaii.edu:session_id=6F01897E6E368E292FCC3377E7A3ADB4:ip_addr=128.171.107.139:view_community:community_id=30
2008-01-09 10:21:43,194 INFO org.dspace.app.webui.servlet.DSpaceServlet @ mi...@hawaii.edu:session_id=6F01897E6E368E292FCC3377E7A3ADB4:ip_addr=128.171.107.139:view_collection:collection_id=46
2008-01-09 10:21:43,759 INFO org.dspace.content.Collection @ mi...@hawaii.edu:session_id=6F01897E6E368E292FCC3377E7A3ADB4:ip_addr=128.171.107.139:update_collection:collection_id=46
2008-01-09 10:21:43,781 WARN org.dspace.app.webui.servlet.InternalErrorServlet @ :session_id=6F01897E6E368E292FCC3377E7A3ADB4:internal_error:-- URL Was: https://scholarspace.manoa.hawaii.edu/tools/edit-communities
-- Method: POST
-- Parameters were:
-- provenance_description: ""
-- side_bar_text: ""
-- introductory_text: ""
-- collection_id: "46"
-- submit: "Update"
-- short_description: "x"
-- copyright_text: ""
-- name: "Papers and Presentations"
-- action: "9"
-- license: ""
-- create: "false"
-- community_id: "30"

java.io.FileNotFoundException: /dspace/search/_a.fnm (No such file or directory)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
at org.apache.lucene.store.FSIndexInput$Descriptor.<init>(FSDirectory.java:430)
at org.apache.lucene.store.FSIndexInput.<init>(FSDirectory.java:439)
at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:329)
at org.apache.lucene.index.FieldInfos.<init>(FieldInfos.java:56)
at org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:144)
at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:129)
at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:110)
at org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:152)
at org.apache.lucene.store.Lock$With.run(Lock.java:99)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:141)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:125)
at org.dspace.search.DSIndexer.unIndexContent(DSIndexer.java:141)
at org.dspace.search.DSIndexer.unIndexContent(DSIndexer.java:134)
at org.dspace.search.DSIndexer.reIndexContent(DSIndexer.java:175)
at org.dspace.content.Collection.update(Collection.java:864)
at org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.processConfirmEditCollection(EditCommunitiesServlet.java:674)
at org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.doDSPost(EditCommunitiesServlet.java:267)
at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147)
at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:98)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)






Tim Donohue

unread,
Aug 24, 2015, 5:33:33 PM8/24/15
to Sunyeen Pai, dspac...@lists.sourceforge.net
Sunny,

It looks like it's erroring out when DSpace attempts to index the new
Collection information in the underlying Lucene search engine. It's
possible your Lucene search indexes somehow got corrupted. To refresh
them and re-index all your content, run the following:

[dspace]/bin/index-all

Then try adding or editing a Collection again. Hopefully it will work
this time.

- Tim
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> DSpace-tech mailing list
> DSpac...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>

--

========================================
Tim Donohue
Research Programmer, Illinois Digital Environment for
Access to Learning and Scholarship (IDEALS)
135 Grainger Engineering Library
University of Illinois at Urbana-Champaign

email: tdon...@uiuc.edu
web: http://www.ideals.uiuc.edu
phone: (217) 333-4648
fax: (217) 244-7764
========================================

Richard Jones

unread,
Aug 24, 2015, 5:33:34 PM8/24/15
to Sunyeen Pai, dspac...@lists.sourceforge.net
Hi Suyeen,

It looks like your search indices have disappeared for some reason. Try
running:

[dspace]/bin/dsrun org.dspace.search.DSIndexer

Cheers,

Richard
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> DSpace-tech mailing list
> DSpac...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>


--
Richard Jones
Research Engineer, HP Labs

eml: richard...@hp.com
blg: http://chronicles-of-richard.blogspot.com/


Reply all
Reply to author
Forward
0 new messages