[greenstone-users] Error with gliserver when configure for remote

From Anupama of Greenstone Team
DateTue Jan 27 16:25:47 2009
Subject [greenstone-users] Error with gliserver when configure for remote
In-Reply-To (49773AA0-8040705-martinique-univ-ag-fr)
Hi Laurent,

Can you tell us which version of Greenstone you are using? Is it GS2.81
or earlier? Or a version of Greenstone 3?

Thanks,
Anupama

Laurent Birba wrote:
> Hello everyone,
>
> When go to the url :
> http://<your-machine-name>:<port>/gsdl/cgi-bin/gliserver.pl?cmd=check-installation
>
>
> I've got this :
>
> Java failed -- do you have the Java run-time installed?
> JAVA_HOME environment variable not set. Might not be able to find Java
> unless in PATH
> (/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/gsdl/bin/script:/usr/local/gsdl/bin/linux)
>
>
> GSDLHOME: /usr/local/gsdl
> GSDLOS: linux
> PATH:
> /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/gsdl/bin/script:/usr/local/gsdl/bin/linux
>
>
> or, I've update my path with
>
> JAVA_HOME=/usr/java/j2sdk1.4.2_16
> export JAVA_HOME
> PATH=$PATH:$JAVA_HOME/bin
> export PATH
>
> and it works !!! (I can launch java command with my bash, and also print
> both JAVA_HOME and PATH, updated with the location for java directory)
>
> why do greenstone can't find it ?
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>