
Symptom
Whenever you executing transaction code SLICENSE, you will get the below error.
The license key library has not been initialized yet
In dev_w* file, try to search for keyword “likey_init”, if you see error like below, you need to follow the solution steps provided below.
likey_init: Could not initialize the SAPSECULIB....
Solution
There a multiple reason for this to occurred, kernel upgrade, SAPcryptolib not properly upgrade or not installed.
Login to your operating system as SIDadm. Go to your SAP executable directory and look for libsapcrypto.so file. Ensure the file is existing in the directory.
> cd /usr/sapmnt/SID/exe > ll *crypto* -rwxr-xr-x 1 sidadm sapsys 2713765 2012-03-01 07:52 libsapcrypto.so -rw-r--r-- 1 sidadm sapsys 40 2012-03-01 09:37 sapcrypto.lst
Next, run command sapgenpse to ensure the file is correctly configured.
> sapgenpse
Usage: sapgenpse [-h] <command> [-h] [sub-options] ...
Usage: sapgenpse -g /some/where/libgostplugin.so <command> [sub-options] ...
Using default SAPCRYPTOLIB library name "libsapcrypto.so"
Platform: Linux on x86_64/x64 64-bit (linuxx86_64_gcc33)
Versions: SAPGENPSE 1.5 pl34 (Mar 1 2012)
SAPCRYPTOLIB 5.5.5C pl34 (Mar 1 2012) MT,[aesni],NB
USER="sidadm"
Environment variable $SECUDIR is not defined!
Fallback selection of SECUDIR through $HOME:
"/home/SID/sec"
shared library search path defined by environment variable
LD_LIBRARY_PATH=/usr/sap/SID
Using transaction code RZ10, check/update your profile parameter with below value. If you cannot logon to your SAP GUI, please update via operating system level.
ssf/name = SAPSECULIB ssf/ssfapi_lib = <Path and file name of SAPCRYPTOLIB> sec/libsapsecu = <Path and file name of SAPCRYPTOLIB> ssl/ssl_lib = <Path and file name of SAPCRYPTOLIB>
Restart your SAP system to active the changes.
Reference
• https://itsiti.com/install-update-sap-cryptographic-library-on-as-abap
• SAP Note 982056
• SAP Note 662340



