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 AgentAutosys Workload AutomationCA Workload Automation AE - System Agent (AutoSys)CA Workload Automation DE - Business Agents (dSeries)CA Workload Automation DECA 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:
Not enough space on the filesystem where /tmp is mounted.
Execution permissions are disabled on /tmp/ folder.
Resolution
Ensure there is a minimum of 0.5GB (500 MB) of free space for /tmp.
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.
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
Launch the CA WA System Agent installer: # ./setup.bin
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