users@glassfish.java.net

Re: Glassfish 4 udpdatetool issues running on AWS Linux 64-bit

From: Joe Di Pol <joe.dipol_at_oracle.com>
Date: Mon, 02 Dec 2013 10:38:48 -0800

Shankar,

There is an updated document here:

https://wikis.oracle.com/display/updatecenter/Release+Notes+for+Update+Center+2.3

I'm not sure what Linux distribution AWS 64-bit Linux AMI is based on,
but you can look at the list of packages suggested for Oracle Linux 6, 5
and 4 (Oracle Linux is Red Hat based) and see what works.

You need to install all the packages listed for a particular distribution.

Joe

On 12/1/13, 6:19 AM, Shankar Nathan (islandfolks) wrote:
> Hello,
>
> Novice Linux user here trying to get the (32-bit) Glassfish4
> "updatetool" to work on AWS 64-bit Linux AMI (which appears to use the
> 'rpm' package manager).
>
> _*The error reported:*_
>
> [ec2-user_at_xxx ~] *updatetool*
> **
> **/home/ec2-user/glassfish4/bin/updatetool:
> /home/ec2-user/glassfish4/updatetool/bin/../../pkg/python2.4-minimal/bin/python:
> /lib/ld-linux.so.2: *bad ELF interpreter: No such file or directory*
> ---------------------------------------------------------------
> *There was an error running*
> ***/home/ec2-user/glassfish4/updatetool/bin/../../pkg/python2.4-minimal/bin/python*
> **
> /You are running on a 64 bit Linux distribution and the 32 bit Linux/
> ///compatibility libraries do not appear to be installed. In order
> to use/
> ///the Update Center tools you must install the 32 bit
> compatibility libraries./
>
> /On Ubuntu (and possibly other Debian based systems) please
> install the/
> ///ia32-libs package. *On RedHat 4 (and other RPM based systems)*,
> you may/
> ///need to add multiple 'compat' runtime library packages. Please
> see the/
> ///Update Center Release Notes for more information/
>
> //
> The error reported when trying to execute 'updatetool' tries to be
> helpful, but instructions are incomplete and I am unable to get it to
> work. Please help.
>
> The cryptic message "/Please see the //Update Center Release Note//s
> for more information//" /(there are no 'Release Notes' for "Update
> Center") finally led me to the wiki at updatecenter.java.net
>
> http://wiki.updatecenter.java.net/Wiki.jsp?page=UC2Documentation.ReleaseNotes.2.4#section-UC2Documentation.ReleaseNotes.2.4-ReleaseNotesForUpdateCenter2.4
>
> that gave the following clues (for Redhat and 'RPM based systems',
> which AWS Linux is..)
>
> Red Hat Enterprise Linux 4 x86 (32- and 64-bit) On 64-bit
> x86, first install these 32-bit compatibility rpms:
> compat-libgcc
> compat-gcc-32
> compat-gcc-32-c++
> compat-glibc
> compat-libstdc++
> 32-bit libidn
>
> Red Hat Enterprise Linux 5 x86 (32- and 64-bit) On 64-bit
> x86, first install these 32-bit compatibility rpms:
> compat-libstd++
> compat-libgcc
> 32-bit libidn
>
> I was able to find and install a '32-bit libidn', but still unable to
> get 'updatetool' to work.
>
> Please help with detailed instructions.
>
> Thanks!!
> Shankar
>
> /
> /