WAAE commands return CAPKI library error
search cancel

WAAE commands return CAPKI library error

book

Article ID: 98271

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent

Issue/Introduction

WAAE commands/CLIs return the following error:

Please check atleast one of the following conditions are met.
        *) Set CAPKIHOME environment variable.
        *) Pass valid second parameter to etpki_lib_init function. Ex: if the second parameter is /a/b/c/[lib]cryptocme2.[dll][so][sl], it is assumed that /a/b/c has all the required CAPKI shared libraries
CAUAJM_E_00224 The CAPKI library experienced an internal error and may not have initialized properly.

CAUAJM_E_10029 Communication attempt with the CA WAAE Application Server has failed! [<AutoServer>:<AutoServerPort>]
CAUAJM_E_10221 Exhausted list of available Application Server(s). Failing request.
CAUAJM_E_50033 Error initializing tx subsystem:  CAUAJM_E_10062 Failed to get initial configuration from CA WAAE Application Server(s).

Example:

Environment

CA Workload Automation AE 11.3 SP1, 11.3.5, 11.3.6 SPx on UNIX/LINUX.

Cause

  1. The CASHCOMP environment variable is not set, or set to an incorrect location.
  2. The CAPKIHOME environment variable is set to an incorrect location.

Resolution

Check the $CASHCOMP and $CAPKIHOME variables and set them to the correct value. Ensure the CASHCOMP variable is set to correct path in the following profile files:



  • /etc/profile.CA
  • $AUTOUSER/autosys.<shell>.$HOSTNAME
  • User's profile files ($HOME/.profile, $HOME/.bashrc, $HOME/.bash_profile, etc)



CASHCOMP is an abbrev. for CA Shared Components and represents the absolute path of SharedComponents directory which by default is /opt/CA/SharedComponents.

The following command returns the installation path of SharedComponents:

lsm -q CACommonComponents -l | grep INSTALLATION_PATH | cut -d":" -f2

Example:

CAPKIHOME is not set by default and is not always required to be. However, if set to an incorrect value, WAAE commands will fail with the following errors:

Could not open CAPKI shared library, errno is 0, errmsg is <$CAPKIHOME>/Linux/x86/32/lib/libcapki.so: cannot open shared object file: No such file or directory.
CAUAJM_E_00224 The CAPKI library experienced an internal error and may not have initialized properly.



CAPKIHOME may optionally be set to $CASHCOMP/CAPKI

Attachments

1558702165379000098271_sktwi1f5rjvs16kt5.png get_app
1558702163437000098271_sktwi1f5rjvs16kt4.png get_app