[greenstone-users] Installing Greenstone on a Ubuntu

From Ramon Sampang
DateMon Jun 29 20:01:57 2009
Subject [greenstone-users] Installing Greenstone on a Ubuntu
In-Reply-To (dffc8dd20906110037kcdd5be0w97df26176b37768e-mail-gmail-com)
I experienced the same problem on my development server which is also
running on Ubuntu

I was able to fix it by setting the Java CLASSPATH on /etc/environment

to check if Java CLASSPATH is set run this on a terminal
sudo echo $CLASSPATH
it should show a result like
/usr/lib/jvm/java-6-sun/lib:.

If there is no result with that command it means Java CLASSPATH is not set

edit /etc/environment
sudo nano /etc/environment

here is my /etc/environment

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
JAVA_HOME="/usr/lib/jvm/java-6-sun/'
CLASSPATH="/usr/lib/jvm/java-6-sun/lib:."

I hope this helps

Ramon


On Thu, Jun 11, 2009 at 3:37 PM, asa <asaro@cordillera.gov.ph> wrote:

> Hi,
> I finally made GSDL 2.81 work in my Ubuntu 8.04 virtual machine, running on
> the headless ubuntu server. Last error I solved was simply to "chmod -R
> a+rw gsdl/etc") so I could access Administration Page and add users,
> etc.... Right now am stucked at the GLI Applet, which shows the same
> error.
>
> Checking my GLI installation at my client computer in the intranet:
> http://192.168.2.229/gsdl/cgi-bin/gliserver.pl?cmd=check-installation
> shows:
>
> Java found: java version "1.6.0_05"
> Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
> Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
>
> GSDLHOME: /gsdl
> GSDLOS: linux
> JAVA_HOME: /usr/local/jdk1.6.0_05
> PATH:
> /usr/bin/perl:/usr/local/bin:/usr/bin:/bin:/gsdl/bin/script:/gsdl/bin/linux
>
> Installation OK!
>
> Where did I go wrong? Am anticipating your urgent help... Thanks!
> --
> pls visit our website: www.cordillera.gov.ph
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20090629/fa5948cd/attachment.html