I use it on Mac OSX for testing, it may be something platform
specific with the linux version. I've run index-all successfully
using it on OSX.
-Mark
On Mar 26, 2007, at 6:14 PM, Monika Mevenkamp wrote:
I run vanilla dspace-1.4
with postgres
on Ubuntu
I used sshfs to mount the assetstore:
sshfs -o allow_other [EMAIL PROTECTED]:/dspace/
assetstore /var/www/dspace_root/assetstore
I am trying to access the test assetsore on another machine, which
is too big to be copied.
Is there something inherently wrong with doing sshfs ?
As the dspace user I can list,view, and touch files in the assetstore
but index-all still dies ungracefully as follows:
Creating browse index
Indexing all Items in DSpace....2007-03-26 17:50:21,124 INFO
org.dspace.core.ConfigurationManager @ DSpace logging installed
using log4j.properties
... Done
Creating search index
2007-03-26 17:50:55,060 INFO org.dspace.core.ConfigurationManager
@ DSpace logging installed using log4j.properties
2007-03-26 17:50:59,871 DEBUG
org.dspace.storage.bitstore.BitstreamStorageManager @ Local
filename for 107718164672031636339452188487841053759 is /dspace/
assetstore/10/77/18/107718164672031636339452188487841053759
2007-03-26 17:50:59,871 DEBUG
org.dspace.storage.bitstore.BitstreamStorageManager @
IinputBitStream /dspace/assetstore/
10/77/18/107718164672031636339452188487841053759
Exception in thread "main" java.io.FileNotFoundException : /dspace/
assetstore/10/77/18/107718164672031636339452188487841053759 (No
such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java :106)
at edu.sdsc.grid.io.local.LocalFileInputStream.open
(LocalFileInputStream.java:171)
at edu.sdsc.grid.io.GeneralFileInputStream.<init>
(GeneralFileInputStream.java:145)
at edu.sdsc.grid.io.local.LocalFileInputStream .<init>
(LocalFileInputStream.java:139)
at edu.sdsc.grid.io.FileFactory.newFileInputStream
(FileFactory.java:454)
at
org.dspace.storage.bitstore.BitstreamStorageManager.retrieve
(BitstreamStorageManager.java :553)
at org.dspace.content.Bitstream.retrieve(Bitstream.java:512)
at org.dspace.search.DSIndexer.writeItemIndex
(DSIndexer.java:694)
at org.dspace.search.DSIndexer.indexAllItems
(DSIndexer.java :397)
at org.dspace.search.DSIndexer.createIndex(DSIndexer.java:192)
at org.dspace.search.DSIndexer.main(DSIndexer.java:225)
The second log message is produced by a log.debug call added in:
package org.dspace.storage.bitstore;
class BitstreamStorageManager.java;
....
public static InputStream retrieve(Context context, int id)
throws SQLException, IOException
{
TableRow bitstream = DatabaseManager.find(context,
"bitstream", id);
GeneralFile file = getFile(bitstream);
log.debug("InputBitStream " + file.getPath());
return (file != null) ? FileFactory.newFileInputStream
(file) : null;
}
Thanks for any tips ?
Monika
--
Monika Mevenkamp
Georgia Institute of Technology
Library and Information Center
Phone: 404.385.0108
----------------------------------------------------------------------
---
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?
page=join.php&p=sourceforge&CID=DEVDEV________________________________
_______________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
~~~~~~~~~~~~~
Mark R. Diggory - DSpace Systems Manager
MIT Libraries, Systems and Technology Services
Massachusetts Institute of Technology
Office: E25-131
Phone: (617) 253-1096
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech