Library "libcasocket" has not been loaded

Document ID : KB000029740
Last Modified Date : 14/02/2018
Show Technical Document Details

Issue:

Unable to run command-line utilities like autorep and from Application Server log gets the following error messages entered regarding SSA libraries:

CAUAJM_E_00179 Unable to load the CA Secure Sockets Adapter shared library dynamically. Process terminating.

Library "libcasocket" has not been loaded


Cause:

Issue occur if the following causes:

1. The reported error messages are related to permissions on the following directories:

  /opt/CA/SharedComponents/Csam/SockAdapter

  /opt/CA/SharedComponents/Csam/SockAdapter/lib

2. If LD_LIBRARY_PATH/LIBPATH is not set to the environment or not sourced properly

Environment:

All Unix/Linux versions are applicable

Resolution:
 
To overcome the issue, please follow below validations:

1. Need to set permissions to 755 so that execution is possible for the "other" category as well as the "group" and the owner:

  chmod 755 /opt/CA/SharedComponents/Csam/SockAdapter
  chmod 755 /opt/CA/SharedComponents/Csam/SockAdapter/lib

2. Set LD_LIBRARY_PATH/LIBPATH to source Shared Component libraries as well and export to the environment.
   

    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/CA/SharedComponents/Csam/SockAdapter/lib

    export LD_LIBRARY_PATH

3. Restart SSA and application server to get the issue rectified.


Additional Information:

Troubleshooting SSA & Restarting

Troubleshooting Application Server & Restarting