Fwd: [greenstone-users] Ver 2.82 Remote GLI Login Error

From Anupama of Greenstone Team
DateTue Oct 6 20:46:44 2009
Subject Fwd: [greenstone-users] Ver 2.82 Remote GLI Login Error
In-Reply-To (20090914063637-6408E818103-smtp3-g21-free-fr)
Hi Amos,

It looks like your Remote Greenstone installation is not finding Java.

1. What is the output of doing step 6 of
http://wiki.greenstone.org/wiki/index.php/Remote_Greenstone?
(gliserver.pl?cmd=check-installation)

Does it look like Java is found? What does it print out for JAVA HOME?


2. IF it does not seem to find your java, can you open the file
cgi-bin/gsdlsite.cfg and edit it in a texteditor:

Near the bottom is the line
#javahome /full/path/to/j2sdk1.4-or-higher

Remove the # from the front and set its value to the full path to your
Java installation.

Try running step 6 of
http://wiki.greenstone.org/wiki/index.php/Remote_Greenstone again and
see if the JAVA_HOME value appears alright now. If it does work, then
try to see if the rest works.


3. One more thing. Recently it came to our attention that there needs to
be a minor correction to the way the Greenstone 2.82 installer sets up
its gliserver.pl file. Could you make the following correction to your
file cgi-bin/gliserver.pl, since I see you are running it on Windows:

Open cgi-bin/gliserver.pl in a text editor and change the first line to:
#!C:<fullpath oyourgreenstone>binwindowsperlbinperl -w

Note the # at the start and the "bin" folder near the end.

(Perhaps it should be:
#!C:<fullpath oyourgreenstone>binwindowsperlbinperl.exe -w
Try the above if the previous one did not work.)


Tell us if the problems persist. In particular, could you then send us
the output for step 1 above?

Regards,
Anupama

>> From: Amos Kujenga <akujenga@gmail.com>
>> To: "Discussion list for the Southern African Greenstone Support Network."
>> <sagreenstone@lists.eifl.net>,
>> greenstone user list <greenstone-users@list.scms.waikato.ac.nz>
>> Date: Fri, 11 Sep 2009 10:07:19 +0200
>> Subject: [greenstone-users] Ver 2.82 Remote GLI Login Error
>>
>> Dear All,
>>
>> I'm running Greenstone 2.82 on Windows Vista & also on Windows Server
>> 2003, using Apache as the webserver and running Java RE1.5.0_02.
>>
>> I've religiously followed the instructions on how to install Apache on
>> Windows as given on the page (
>> http://wiki.greenstone.org/wiki/index.php/Setting_up_an_Apache_Web_Server_for_Greenstone_2_Walkthrough
>> ) & the Remote installation procedure as on
>> http://wiki.greenstone.org/wiki/index.php/Remote_Greenstone.
>>
>> However, when trying to login, I'm getting an error:
>>
>> "An error has occurred on the remote Greenstone Server while
>> performing this operation:
>> Java failed: java -classpath .../bin/java/GLIServer.jar" ......
>> org.greenstone.gatherer.remote.ZipCollectionConfigurations ..... "
>>
>> Upon searching the archives, I've noted that this is not a new problem
>> but, unfortunately I could not get any posting that seemed to give an
>> answer and so conclude the matter.
>>
>> Any help would be most appreciated.
>>
>> Regards
>>
>>
>> Amos
>
>
> John B. Rose
> 1 Bis, Rue des Ch□tre-Sacs
> 92310 S□vres
> France
> Email: <john.rose1@free.fr>
> (in case of bounce then send to
> <johnrose@alumni.caltech.edu>)
>