[greenstone-users] Error with gliserver when configure, for remote (Anupama of Greenstone Team)

From Laurent Birba
DateTue Feb 3 02:45:21 2009
Subject [greenstone-users] Error with gliserver when configure, for remote (Anupama of Greenstone Team)
In-Reply-To (200902021241-n12CfIPt026284-mail-martinique-univ-ag-fr)
Well, thanks for your answer, but it seems the probleme was due to my
java installation.
I upgraded it and it works fine now.
Thanks anyway !

> 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 ?
>>
>>

-------------- section suivante --------------
Une pi□ce jointe HTML a □t□ enlev□e...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20090202/7e8b525c/attachment.html