Re: [greenstone-users] gli password error - continues

From Michael Dewsnip
DateThu, 02 Mar 2006 11:28:18 +1300
Subject Re: [greenstone-users] gli password error - continues
In-Reply-To (44060CE8-1010707-inwind-it)
Hi Ruben,

You should be visiting "gliserver.pl?cmd=check-installation" in your web
browser to verify that Java is installed correctly.

Regards,

Michael

ruben pandolfi wrote:

> Hi Michael,
>
> I have download your
>
> http://www.cs.waikato.ac.nz/~mdewsnip/greenstone/west-yorkshire/gliserver.pl
>
>
> verified with diff , chmod 755 but still have:
>
> ERROR: No command specified.
> ()
>
> tough the problem is java missing.
>
>
> I am on Fedora core 3 , apache2 java is here:
>
>
> [root@www02 bin]# ./java -version
> java version "1.5.0_02"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
> Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing)
>
> and in httpd.conf I have
>
>
> BrowserMatch "Java/1.0" force-response-1.0
> BrowserMatch "JDK/1.0" force-response-1.0
>
>
> Can you tell me what you mean by " on the webserver's path " in your doc?
>
> Thank you !
>
> Ruben
>
>
>
>
> Michael Dewsnip wrote:
>
>> Hi Ruben,
>>
>> A rather important point that I'd forgotten to mention in the
>> documentation is that this requires the Java run-time to be installed on
>> the server. I've added this now:
>>
>> http://www.cs.waikato.ac.nz/~mdewsnip/greenstone/west-yorkshire/remote-greenstone.html
>>
>>
>> I've also updated the gliserver.pl script to have a new command:
>> "check-installation". This will attempt to run Java and tell you if it
>> doesn't work. Step 4 of the server installation documentation has been
>> updated to run this during installation, so you'll discover any problems
>> then and not when you start using the client. You can download the new
>> version of gliserver.pl from:
>>
>> http://www.cs.waikato.ac.nz/~mdewsnip/greenstone/west-yorkshire/gliserver.pl
>>
>>
>> and replace your existing gliserver.pl in the Greenstone "cgi-bin"
>> directory. (Don't forget to add your full Perl path into the first line
>> again).
>>
>> Thanks for reporting these problems -- it all helps to improve a new bit
>> of code.
>>
>> Regards,
>>
>> Michael
>>
>>
>>
>> ruben pandolfi wrote:
>>
>>
>>> Hi,
>>>
>>> I have the same error trying to access the library on the remote
>>> server using the local client-gli.sh
>>>
>>> If I enter correct username and password of users I get the error:
>>>
>>>
>>>
>>>>> Java failed: java -classpath
>>>>> "myhostname/gsdl/bin/java/GLIServer.jar"
>>>>> org.greenstone.gatherer.remote.ZipCollectionConfigurations
>>>>> "myhostnamegsdl/collect/digi-collection- configurations.zip"
>>>>> "myhostname/gsdl/collect" "
>>>>
>>>
>>> if I enter not correct user and pwd I do have access denied, and if
>>> the user is not in "remote-collection-builder" group, I do have the
>>> user is not in the correct group, so the check looks ok.....
>>>
>>>
>>> Any help will be greatly appreciated?
>>>
>>>
>>> thanks
>>>
>>> ruben
>>>
>>> ps: I have never used the gli applet online, should this solve the
>>> problem? I'm afraid the gli applet it will need a lot of resource from
>>> the server though...
>>>
>>>
>>>
>>> mdewsnip@cs.waikato.ac.nz wrote:
>>>
>>>
>>>> Hi Jon,
>>>>
>>>> I think this could be our fault. Please check if you are missing the
>>>> gsdl/bin/java/GLIServer.jar file, or maybe even the whole
>>>> gsdl/bin/java
>>>> directory?
>>>>
>>>> Did you use Install.sh or setupLinux.bin when installing Greenstone
>>>> v2.63?
>>>>
>>>> Regards,
>>>>
>>>> Michael
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> Hi,
>>>>>
>>>>> I had the same problem... So I've changed
>>>>> "cgi-bin/library/gliserver"
>>>>> to "cgi-bin/library/gliserver.pl" and although it stops the error
>>>>> I was
>>>>> getting previously, I now get a new one when I try to create or
>>>>> open a
>>>>> collection:
>>>>>
>>>>> "An error has occurred on the remote Greenstone Server while
>>>>> performing
>>>>> this operation:
>>>>>
>>>>> Java failed: java -classpath
>>>>> "/home/dev/html/gsdl/bin/java/GLIServer.jar"
>>>>> org.greenstone.gatherer.remote.ZipCollectionConfigurations
>>>>> "/home/dev/html/gsdl/collect/digi-collection- configurations.zip"
>>>>> "/home/dev/html/gsdl/collect" "
>>>>>
>>>>> After this, if I close the GLI and start it up again, the preferences
>>>>> revert to "cgi-bin/library/gliserver" and I need to change it
>>>>> back to
>>>>> .pl again.
>>>>>
>>>>> Any idea what the problem is?
>>>>>
>>>>> Thanks, Jon
>>>>>
>>>>> -----Original Message-----
>>>>> From: greenstone-users-bounces@list.scms.waikato.ac.nz
>>>>> [mailto:greenstone-users-bounces@list.scms.waikato.ac.nz] On
>>>>> Behalf Of
>>>>> anson@treebay.org
>>>>> Sent: Saturday, 18 February 2006 6:23 AM
>>>>> To: greenstone-users@list.scms.waikato.ac.nz
>>>>> Subject: [greenstone-users] gli password error - resolved :)
>>>>>
>>>>> Hi Ya'll,
>>>>> to follow up - the gliserver preferences in the applet must correctly
>>>>> point to "cgi-bin/library/gliserver.pl" in my case, and not
>>>>> "cgi-bin/library/gliserver" silly error on my part, great software,
>>>>> runnin' smoothly now :)
>>>>>
>>>>> ap
>>>>>
>>>>>
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> You need to create some user accounts for remote building, as
>>>>>> described in the "Authentication" section of
>>>>>>
>>>>>
>>>>> http://www.cs.waikato.ac.nz/~mdewsnip/greenstone/west-yorkshire/remote-g
>>>>>
>>>>>
>>>>> reenstone.html.
>>>>>
>>>>>
>>>>>> The default admin user is not set up for remote building.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Michael
>>>>>>
>>>>>>
>>>>>>
>>>>>> anson@treebay.org wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Hi All,
>>>>>>> excellent project (Again) and now we're getting ready to test drive
>>>>>>> with some real data - logging in to the GLI applet gives an error
>>>>>>> with
>>>>>>
>>>>>>
>>>>>>> login / password admin / admin = any ideas? reports a gliserver
>>>>>>> error
>>>>>>> thanks ap
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> greenstone-users mailing list
>>>>>>> greenstone-users@list.scms.waikato.ac.nz
>>>>>>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> greenstone-users mailing list
>>>>> greenstone-users@list.scms.waikato.ac.nz
>>>>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>>>>>
>>>>> _______________________________________________
>>>>> greenstone-users mailing list
>>>>> greenstone-users@list.scms.waikato.ac.nz
>>>>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> greenstone-users mailing list
>>>> greenstone-users@list.scms.waikato.ac.nz
>>>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>>>>
>>>
>>
>>
>