Agent install fails with error "JRE libraries are missing or not compatible...."
search cancel

Agent install fails with error "JRE libraries are missing or not compatible...."

book

Article ID: 91807

calendar_today

Updated On:

Products

CA Workload Automation Agents CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation DE - System Agent (dSeries) CA Workload Automation Agent

Issue/Introduction

Agent installation failed with error message: JRE libraries are missing or not compatible.... Install documentation for 11.3.7 does not specify JRE pre-requisites for RHEL Linux x64 7.x. what are we missing?

Environment

Release:
Component: SYSAGD

Resolution

While its routine, the agent's installer uses system /tmp to deploy temporary files and to launch the jre.
It creates the /tmp/install.dir.<PID> directory, with the ../Linux/resource directory, containing the jre. 
For example,
/tmp/install.dir.31218/Linux/resource 
with
drwxr-xr-x 6 root root 211 Sep 23 2016 jre 
-rw-r--r-- 1 root root 200069120 Apr 16 12:34 vm.tar 

Check, if you could run "jre/bin/java -version";  if it shows 'permission denied' error, most likely it would mean that the /tmp itself prevents java from running, and, in turn, the agent's installer throws the error about jre libraries.

One of the reason could be that the /tmp was mounted with the 'noexec' option.
Hence, you might either re-mount the partition with no 'noexec', or to redefine the IATEMPDIR variable to point one to the local filesystem, e.g.

IATEMPDIR=/apps/esp 
export IATEMPDIR

Set this variable prior starting the setup.bin