CA WA Agent install on Linux gives Error JRE libraries are missing or not compatible

Document ID : KB000107466
Last Modified Date : 13/09/2018
Show Technical Document Details
Issue:
When installing the CA WA Agent, the installer exits with this error
Error : JRE libraries are missing or not compatible. Exiting
Environment:
CA Workload Automation Agent 11.3 / 11.4
RedHat Linux 6.x / 7.x
Suse Linux 
OEL Linux
Ubuntu 
 
Cause:
When installing the CA Agent, the installer uses /tmp directory to unpack the packages.  If the /tmp directory does not have adequate space, then it will not be able to unpack and run the install packages.
Resolution:
Make sure that /tmp has adequate space in it. The /tmp directory should have 400-500 MB of free space. 

If creating adequate space in /tmp is not possible, then export IATEMPDIR variable pointing to a directory that has adequate space.  This must be done before running the setup.bin.  Also, the directory must exist and must have read, write and execute permissions for the user running setup.bin.  E.g.
IATEMPDIR=/opt/some_new_dir 
export IATEMPDIR

Note:   The /tmp must not have 'noexec' option.  The 'noexec' option prevents an executable from running on the filesystem.  Temporarily set exec to /tmp by the following (ran as root)
mount -o remount,exec /tmp
Then, if required, set it back to 'noexec'
mount -o remount,noexec /tmp