Hi Kevin
If you run the jhove executabel as a user in your linux shell do you get an
error or a display of all the jhove modules (correct behaviour)?
Cheers,
Christiaan
On 13/05/09 4:07 AM, "Kevin_Bowrin" <Kevin_Bowrin@...> wrote:
> Hello everyone,
>
> This is the last error that is occurring when I run a sanity check. Any ideas?
>
> File Jhove Result = '/tmp/presmd_test.xml' This file doesn't exist, check
> the path and the permissions so that webserver user can read the file (the
> webserver must have 'rx' permission on any parent directories as well as 'r'
> permission on the file)
>
> Common problems with jhove are that the environment variables are not set
> correctly. Check that the jhove script has been edited as per the installation
> mannual, the last line must be changed # FOR LINUX: ${JAVA} -classpath $CP
> Jhove -c ${JHOVE_HOME}/conf/jhove.conf $ARGS # FOR WINDOWS: %JAVA% -classpath
> %CP% Jhove -c %JHOVE_HOME%/conf/jhove.conf %ARGS%
>
> Running on Linux, here is my JHOVE executable:
>
> #!/bin/sh
>
> ########################################################################
> # JHOVE - JSTOR/Harvard Object Validation Environment
> # Copyright 2003-2005 by JSTOR and the President and Fellows of Harvard
> College
> # JHOVE is made available under the GNU General Public License (see the
> #... ..........
> # dir-file-or-uri Directory, file pathname or URI of formatted content
> #
> # Configuration constants:
>
> JHOVE_HOME=/usr/local/jhove
>
> JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
> JAVA=$JAVA_HOME/bin/java # Java interpreter
>
> #XTRA_JARS=/users/stephen/xercesImpl.jar
> EXTRA_JARS= # Extra .jar files to add to CLASSPATH
>
> # NOTE: Nothing below this line should be edited
> ########################################################################
>
> CP=${JHOVE_HOME}/bin/JhoveApp.jar:${EXTRA_JARS}
>
> # Retrieve a copy of all command line arguments to pass to the application.
>
> ARGS=""
> for ARG do
> ARGS="$ARGS $ARG"
> done
>
> # Set the CLASSPATH and invoke the Java loader.
> #{JAVA} -classpath $CP Jhove $ARGS -x org.apache.xerces.parsers.SAXParser
> {JAVA} -classpath $CP Jhove -c ${JHOVE_HOME}/conf/jhove.conf $ARGS
>
>
> The configuration constraints are all correct, as far as I can tell.
> (JAVA_HOME, JHOVE_HOME, etc,)
> The last line also seems to be correct.
>
> What is the next step?
>
> Thank you,
> Kevin B.
> Carleton University Library
> Ottawa Ontario
> Canada
>
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
>
> _______________________________________________
> Fez-users mailing list
> Fez-users@...
> https://lists.sourceforge.net/lists/listinfo/fez-users
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Christiaan Kortekaas
Senior Library Open Sorcerer
Library Technology Service
The University of Queensland, Australia QLD 4072
Telephone : (+61) (7) 3346 4337
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|