WSS R12.52SP1CR4/5 installer fails to extract the files

Document ID : KB000004976
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

While trying to install WSS Agent R12.52SP1CR4/CR5 on RedHat Enterprise Linux 6.x server, the installer exits with the following message.

"JRE libraries are missing or not compatible...."

 

Environment:
Redhat Enterprise Linux 6.x 64bitWeb Services Security (WSS) Agent R12.52SP1CR4/CR5
Cause:

There can be multiple reasons why this message is returned.

1. Check if your tmp folder is not large enough to extract all the installation files.

If /tmp folder is not large enough, you can try using IATEMPDIR environment variable to point to a directory that has sufficient space

 

2. Installer may be corrupt

It would be good to check the md5 hash of the installer and compare if it was copied correctly.

md5sum <installer file>

 

3. selinux might have blocked the installer from extracting files

Try disabling the selinux temporarily and try again.

 

4. some required system packages might be missing.

Although the WSS Documentation does not list any specific system libraries as prerequisites, following have been identified.

* ksh

   smreghost.sh script is based on ksh so you will need it

* glibc.i686

   this was identified in a hard way. run "strace -Ff -t -i -v -o strace. log -s 16384 ./ca-sm-wss-12.52-sp01-cr04-linux-x86-64.bin"

   This generated 1.5GB strace.log. Search for "JRE libraries are missing or not compatible" message and look for entries going upwards.

   37145 22:01:54 [00007fb561c0a590] write(2, "./ca-sm-wss-12.52-sp01-cr04-linux-x86-64.bin: /apps/CA/shared/install.dir.36961/Linux/resource/jre/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory\n", 176) = 176 

   In this case, the /lib/ld-linux.so.2 file was missing.

   Run "yum provides ld-linux.so.2" and it will give you the package name that need to be installed.

 

   [root@wss ~]# yum provides ld-linux.so.2

   Loaded plugins: product-id, refresh-packagekit, security, subscription-manager

   This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

   glibc-2.12-1.132.el6.i686 : The GNU libc libraries

   Repo        : InstallMedia

   Matched from:

   Other       : ld-linux.so.2

 

So, in this case, you need to install "glibc-2.12-1.132.el6.i686" package.

 

 

Resolution:

Go through the checklist above and determine the cause and apply the solution.