[greenstone-users] remote greenstone

From Anupama of Greenstone Team
DateMon Mar 9 13:27:21 2009
Subject [greenstone-users] remote greenstone
In-Reply-To (988201-44628-qm-web34706-mail-mud-yahoo-com)
Hello Paul,

You sent in two emails and they seem related because they are both about
some troubles using Remote Greenstone. I have copied and numbered your
emails below, at the very end. Unless the problems in (1) are fixed,
those you encountered in (2) are inevitable. That's because the
client-gli application (2) is trying to connect to the remote greenstone
server URL in (1) which you found wasn't working. This is assuming that
you are still having trouble with (1). Are you?

If so, then, you wrote:
> The line (http://<your-machine-name>:<port>/gsdl/cgi-bin/library)
does > not work for me, even when I change ?gdsl? to ?Greenstone2?

This is a crucial step and does not even necessarily have to do with a
Remote Greenstone server. Have you configured your web server to work
with your Greenstone? If so, that URL above should work for you. If not,
and if you are using an Apache webserver, then please first look at the
page
http://wiki.greenstone.org/wiki/index.php/Setting_up_an_Apache_Web_Server_for_Greenstone_2_Walkthrough

It is a guide to help you set up an Apache webserver to work with your
Greenstone.

This page (from step 7 onwards) will also explain how the value for the
"gsdl" in the URL is dependent on what you have set the "ScriptAlias" in
your Apache's configuration file to. Unless you had explicitly set this
to "Greenstone2" or "gsdl" there would be no use in trying either of
these for http://<your-machine-name>:<port>/gsdl/cgi-bin/library

If, after setting up your Apache webserver, you get this step working
successfully, then please go over the
http://wiki.greenstone.org/wiki/index.php/Remote_Greenstone page again.
And if that works out smoothly as well, then try running your client gli
application (as you mentioned in your second email). Hopefully that will
work then as well.

If at any stage you encounter further troubles, let us know.
Regards,
Anupama


1. p b wrote:
> I am having trouble setting up Greenstone for remote building. I have
> been following the directions from
> http://wiki.greenstone.org/wiki/index.php/Remote_Greenstone. The line
> (http://<your-machine-name>:<port>/gsdl/cgi-bin/library) does not work
> for me, even when I change ?gdsl? to ?Greenstone2? but I assume the
> webserver is working because outside computers can see my Greenstone
> page but typing my IP address into a browser?s address bar. The
> instructions at step 4 also fail, producing a ?Failed to connect:
> Firefox can?t establish a connection to the server at?? message.
>
> When I try to start the gli-client-2.81 on a Mac with a ?sh
> client-gli.sh? command, I get the message, ?Exception in thread
> "RemoteGreenstoneServerActionQueue"
>
> java.lang.NullPointerException
>
> at
> org.greenstone.gatherer.remote.ActionQueue.run(ActionQueue.java:116)
> and on an XP machine I get:
>
> java.io.FileNotFoundException:
>
>
http://192.168.2.4:80/Greenstone2/cgi-bin/gliserver.pl?cmd=greenstone-server-version&ts=123534055624
>
> I would appreciate any guidance.
> paul

2. p b wrote:
> Hello,
> I am trying to enable remote collection building with Greenstone for a
> class project. When I start the client-gli.bat, I get the following
> error message:
> An error has occured on the remote Greenstone server while performing
> this operation:
> No gliserver.pl found.
>
http://MyIPaddress/gsdl/cgi-bin/gliserver.pl?cmd=greenstone-server-version&ts=1235982067734
> I have tried the IP address with and without the :80, and I have tried
> using Greenstone2 in the place of gsdl, as well as the full path.
> Does anyone have any advice on how I could make this work?
> Thanks,
> stu
>
>