Newly installed WA Agent on z/Linux platform does not start

book

Article ID: 49443

calendar_today

Updated On:

Products

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

Issue/Introduction

When a new agent is installed on z/Linux (Linux on Mainframe), the agent may not start with following error:

dlopen: libjvm.so: cannot open shared object file: No such file or directory
Please make sure the oscomponent.libjvmpath is correct

Cause

The libjvm.so used by WA Agent may not be of correct JRE version.  On z/Linux, only IBM JRE is supported.  Make sure to install the IBM JRE 8 before installing the agent.  The LD_LIBRARY_PATH may also be pointing to incorrect JRE.

Environment

Release:
Component: SYSAGT

Resolution

  • Check LD_LIBRARY_PATH in cybAgent script.  
  1. The LD_LIBRARY_PATH variable in the cybAgent script must point to correct JRE. E.g.
    • '/opt/ESP/SystemAgent/ESPMSTR/jre/lib/amd64/server' path and the variable was exported, e.g.

      LD_LIBRARY_PATH="/opt/CA/WA_Agent:/usr/lib/jvm/java-1.8.0-jdk-1.8.0.242.b08-0.el7_7.s390x/jre/lib/s390x/classic:/usr/lib/jvm/java-1.8.0-jdk-1.8.0.242.b08-0.el7_7.s390x/jre/lib/:$LD_LIBRARY_PATH"

      export LD_LIBRARY_PATH
  2. Check the 'oscomponent.libjvmpath' is correct.
    • oscomponent.libjvmpath=/usr/lib/jvm/java-1.8.0-jdk-1.8.0.242.b08-0.el7_7.s390x/jre/lib/libjava.so