Failed to create Vault environment during AAM installation on AIX
117
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 15:58 PM
Symptom
Then you try to install CP on AIX server you may have received the following error:
*******
Creating environment for AAM...
exec(): 0509-036 Cannot load program /opt/CARKaim/bin/createenv because of the following errors:
0509-150 Dependent module libstdc++.a(libstdc++.so.6) could not be loaded.
0509-022 Cannot load module libstdc++.a(libstdc++.so.6).
0509-026 System error: A file or directory in the path name does not exist.
error: Failed to create Vault environment. Run the Repair procedure to complete installation. cat: 0652-050 Cannot open /etc/opt/CARKaim/conf/basic_appprovider.conf. Updating key [AppProviderVaultParmsFile] in file [/etc/opt/CARKaim/conf/basic_appprovider.conf] with value: [main_appprovider.conf.aix.11.04] Installation process was completed with errors. For more information, refer to Cyber-Ark documentation.
********
Environment
11.4
Resolution
Following AAM Doc:
https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-CP/Latest/en/Content/CP%20and%20ASCP/Following-Installation-AIXLinux.htm
This step is relevant for AIX and SUSE-zLinux environments:
1. On the Credential Provider machine, perform either one of the following steps:
Copy the following dependency libraries that are required by the Operating
System from the /opt/CARKaim/lib folder to the /lib folder or to any other
standard folder where the Operating System searches automatically for
libraries:
libstdc++.a
libgcc_s.a
OR
i. Set the LD_LIBRARY_PATH shell variable with the /opt/CARKaim/lib folder
that contains the dependency libraries.
For example, if the AIM will run on BASH, specify the following:
export LD_LIBRARY_PATH=/opt/CARKaim/lib
For AIX we can use the following command:
LD_LIBRARY_PATH=/opt/CARKaim/lib; export LD_LIBRARY_PATH;LIBPATH=/opt/CARKaim/lib; export LIBPATH; ldd /opt/CARKaim/bin/createenv
ii. Specify this command in every user profile that will work with the Credential Provider.
iii. Repair Credential Provider Installation on Linux or AIX we can use the following command:rpm –Uvh --force CARKaim-<version+build number>.ppc.rpm
2. After the Credential Provider has been installed successfully, it will be started automatically. Use the following command to check that the aimprv service is running.
* SUSE-Intel, Ubuntu, and AIX:
/etc/rc.d/init.d/aimprv status