Error : JRE libraries are missing or not compatible - Agent install
search cancel

Error : JRE libraries are missing or not compatible - Agent install

book

Article ID: 46726

calendar_today

Updated On:

Products

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

Issue/Introduction

When trying to install the Workload Automation Agent, it fails with the error "JRE libraries are missing or not compatible...."

Error snippet from the installation:

Configuring the installer for this system's environment...

Launching installer...

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

Environment

CA Workload Automation Agent versions
Operating Systems: All supported UNIX/Linux platforms.

Cause

This Error message is related to /tmp/ directory which is used during installation or upgrade. CA WA Agent installation files are copied, extracted to /tmp and executed from there.

The potential causes of this error message include:

  1. Not enough space on the filesystem where /tmp is mounted.
  2. Execution permissions are disabled on /tmp/ folder.

Resolution

  1. Ensure there is a minimum of 0.5GB (500 MB) of free space for /tmp.
  2. Ensure /tmp does not have 'noexec' option, as this option prevents an executable from running on the filesystem. 

    Temporarily set exec to /tmp by the following (ran as root), Remount /tmp/ partition with exec permission or change permission mode so that the files can be executed from /tmp folder.

    mount -o remount,exec /tmp

    Then, if required, set it back to 'noexec'

    mount -o remount,noexec /tmp

Note: If the above requirements are 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.

Below is an example workaround that will address the issue and allow the install to process.

  1. Set up the following environment variable so that the CA WA Agent installer uses an alternate temporary location for extraction and execution:
    # mkdir /ca_tmp
    # chmod 777 /ca_tmp
    # IATEMPDIR=/ca_tmp; export IATEMPDIR

  2. Launch the CA WA System Agent installer:
    # ./setup.bin

  3. After the installation is complete, remove the temporary directory /ca_tmp and unset the IATEMPDIR variable
    # rm -rf /ca_tmp
    # unset IATEMPDIR

 

Additional Information

Ensure the webagent binary has 777 permission before launching the installer.

Ensure that webagent binary is not copied and executed , installed under /home directory