Monika,
Your local mount point is /var/www/dspace_root/assetstore - your asset
store is only available (locally) through that path.
However, your config file is set to have reference the datastore
as /dspace/assetstore
(your config likely reads: assetstore.dir=${dspace.dir}/assetstore,
where dspace.dir=/dspace).
Either amend your dspace.cfg to refer set:
assetstore.dir=/var/www/dspace_root/assetstore
or change the local mount point to /dspace/assetstore
G
On Mon, 2007-03-26 at 18:14 -0400, 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
This email has been scanned by Postini.
For more information please visit http://www.postini.com
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech