[greenstone-users] GS Install problems / chokes immediately

From craig pullen
DateThu Oct 14 02:51:59 2010
Subject [greenstone-users] GS Install problems / chokes immediately
In-Reply-To (AANLkTimUuj3scYtA8pbFywYH5GxXJeh42LfSj+tGKVPd-mail-gmail-com)
OK My theory didn't work. I tried a /usr/local/tmp as TMPDIR - but it
failed with the same error messages:

craig@gstone:~$ ./Greenstone-2.83-linux
Creating temp directory...
Extracting installer jar...
Preparing Greenstone installer...
/bin/sh: ./jre_bin: not found
Failed to extract the bundled java archive to the temp directory
You need the tar program on your PATH
Exiting

So I'm going to try your suggestion next.

Thanx again
Craig


On Wed, Oct 13, 2010 at 9:02 AM, craig pullen <klatu50@gmail.com> wrote:

>
> Sam:
>
> I will definitely try your suggestion if I encounter more install
> problems. While experimenting I found out that trying to execute a program
> in the /tmp directory gave the same error message as gs install did.
> Further investigation on the Internet said that some linux software disables
> execution of executables in the /tmp directory due to security concerns
> since the directory is world read / write. So my theory is that the jre_bin
> is trying to be executed after the initial un-bundleing. So I'm going to
> try setting TMPDIR to another spot and try again. If I get further I will
> let you know. In any case I think it would be a good idea to add the
> execution limitation in the /tmp directory to the release notes. Its the
> first time I've heard this.
>
> Thanx again,
> Craig
>
>
>
> On Tue, Oct 12, 2010 at 7:47 PM, Sam of Greenstone Team <
> greenstone_team@cs.waikato.ac.nz> wrote:
>
>> Hi Craig,
>>
>> If you have administration rights on your server please get the ia32-libs
>> and libc6-i368 packages. You can do this by typing:
>>
>> sudo apt-get install ia32-libs libc6-i386
>>
>> The installer should then run correctly. If you do not have administration
>> rights then you can try compiling from source (look at
>> http://wiki.greenstone.org/wiki/index.php/Greenstone_SVN and
>> http://wiki.greenstone.org/wiki/index.php/Compiling_Greenstone for
>> assistance). If you continue to have issues then let us know.
>>
>> Thanks,
>> Sam
>>
>>
>> On 13/10/2010 7:52 a.m., craig pullen wrote:
>>
>>
>> I'm trying to get Greenstone properly installed onto an Ubuntu server
>> 10.04 LTS (no gui) using an x64 bit CPU. I'm currently stuck with the
>> immediate /bin/sh: ./jre-bin not found error message. For anyone who has
>> successfully installed on Ubuntu please respond. All info is much
>> appreciated.
>>
>> 1) Did you use the OpenJdk or the Sun version of Java jdk?
>>
>> 2) If you used the Sun Java, did you install using the Ubuntu partner
>> repository install or the linux binary (jre-6u21-linux-x64.bin) downloaded
>> directly from the sun website?
>>
>> 3) Did you have to adjust environment varables (e.g. CLASSPATH, PATH,
>> etc.) after the install?
>>
>> Thanx
>> Craig
>>
>>
>> _______________________________________________
>> greenstone-users mailing listgreenstone-users@list.scms.waikato.ac.nzhttps://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/20101013/dd47340c/attachment-0001.html