CA Privileged Access Manager - Cloakware Password Authority (PA)PAM SAFENET LUNA HSMCA Privileged Access Manager (PAM)
Installed the A2A client on AIX 7.1, and when starting up the client daemon, it would not register with the PAM server
The client log has the following error.
INFO: Fri January 18 10:04:24.069 CST 2019 ApplicationCSPM::initHttpService. CSP M Daemon is on line... Exception in thread "main" java.lang.UnsatisfiedLinkError: cwjcafips (Not found in java.library.path) at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1426)
This is a problem with the class loader and yet the installer had created the dependency folder as specified in the following note: Note that the installer will create (or ask the user to create if not run as root), the directory '/opt/freeware/lib/gcc/powerpc-ibm-aix126.96.36.199 even on AIX 6 hosts. This directory must NOT be deleted even though it will look very peculiar on an AIX 6 host.
Problem was caused by re-installing the AIX client on the same machine, but in a different directory.
The installer asks if we want to install in the /opt directory. We said 'no', and put /opt/cloakware. That put everything in /opt/cloakware/cloakware, so we re-installed, saying 'yes' to the '/opt' directory.
The second installation saw that the /opt/freeware directory was created and did not recreate it.
# pwd -P /opt/freeware/lib/gcc/powerpc-ibm-aix188.8.131.52/4.2.0/ppc64 # ls -l total 0 lrwxrwxrwx 1 root system 57 Jan 14 13:22 libstdc++.a -> /opt/cloakware/cloakware/cspmclient/lib/ppc64/libstdc++.a
AIX 7.1 (we modified the install script to allow installation on AIX 7.
When getting the error on AIX Exception in thread "main" java.lang.UnsatisfiedLinkError: cwjcafips (Not found in java.library.path) at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1426)
Check the symbolic link in /opt/freeware/lib/gcc/powerpc-ibm-aix184.108.40.206/4.2.0/ppc64
It will need to be modified if you have installed the same client twice, the second time in a new directory.
cd /opt/freeware/lib/gcc/powerpc-ibm-aix220.127.116.11/4.2.0/ppc64 ln -s $CSPM_CLIENT_HOME/lib/ppc64/libstdc++.a libstdc++.a