The Workload Automation (WA) Agent fails to start on a Linux or Oracle Enterprise Linux (OEL) server.
Symptoms:
cybagent_service.log shows: JVM finished with ExitCode: 1 or ExitCode: 99.nohup.stderr file (located in the agent installation directory) contains the following error: Exception in thread "main" java.lang.UnsatisfiedLinkError: .../libRunnerPluginOS.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)Unable to start Agent service.This error indicates an architecture mismatch between the Java Virtual Machine (JVM) and the native libraries. Specifically, a 32-bit JRE is attempting to load a 64-bit native library (ELFCLASS64). A 32-bit Java process cannot load 64-bit native binaries. This often occurs after OS patching cycles or JRE updates where a 32-bit version of Java was inadvertently installed or prioritized in the system path.
To resolve the architecture mismatch, ensure the JRE matches the library architecture (typically 64-bit for the WA Agent installations).
Identify the library architecture: Run the following command on the agent machine: For example
file /opt/CA/####/SystemAgent/####/libRunnerPluginOS.so
Note: Verify if it reports "64-bit LSB shared object".
Verify the current Java version: Check the bitness of the Java version used by the agent: For example
/opt/CA/####/jre/bin/java -version
Note: Look for "64-Bit Server VM". If it does not specify 64-bit, it is likely a 32-bit version.
Install/Update to 64-bit JRE: If a mismatch is confirmed, install the 64-bit JRE or points the agent to 64-bit JRE. Ensure theoscomponent.javapath in agentparm.txt file points to the correct 64-bit Java path.
Restart the Agent: Restart the agent service to apply the changes.
Confirm Startup: Check the agent's status file orcybagent_service.log to ensure the agent has initialized correctly without exit codes.