cancel
Showing results for 
Search instead for 
Did you mean: 

Error : license key library has not been initialized yet

Former Member
0 Kudos

HI Experts,

I am facing problems with licensing the ECC6.0 server. I have got the SAP license file but when trying to install it via "new license" I get the "The license key library has not been initialized yet." message.

When i am looking in the trace file the error is as below

N  SsfSapSecin: getenv(SECUDIR)=="G:\usr\sap\XYZ\DVEBMGS00/sec"

N  =================================================

N  === SSF INITIALIZATION:

N  ===...SSF Security Toolkit name SAPSECULIB .

N  ===...SSF library is G:\usr\sap\XYZ\DVEBMGS00\exe\sapcrypto.dll .

N  ===...SSF default hash algorithm is SHA1 .

N  ===...SSF default symmetric encryption algorithm is DES-CBC .

M  *** ERROR => DlLoadLib()==DLENOACCESS - LoadLibrary("G:\usr\sap\XYZ\DVEBMGS00\exe\sapcrypto.dll")

  Error 193 = "G:\usr\sap\XYZ\DVEBMGS00\exe\sapcrypto.dll is not a valid Win32 application." [dlnt.c       255]

N  *** ERROR =>

===...could not load SSF library G:\usr\sap\XYZ\DVEBMGS00\exe\sapcrypto.dll .

N  =================================================

N  *** ERROR => No SSF library found [ssfxxkrn.c   1343]

M  *** ERROR => 138 likey_init: Could not initialize the SAPSECULIB by calling SsfLibGetToolkit (). [sliclikey.c  1318]

M  *** ERROR => SlicLikeyInit: likey_init failed: 1 [sliclikey.c  281]

M  *** ERROR => SAPlicense: LIKEY initialisation failed! [slicshm.c    276]

M  *** ERROR => SlicUnlockMutex: MtxTrylock failed (12) [slicshm.c    930]

N  MskiInitLogonTicketCacheHandle: Logon Ticket cache pointer retrieved from shared memory.

N  MskiInitLogonTicketCacheHandle: Workprocess runs with Logon Ticket cache.

M  JrfcVmcRegisterNativesDriver o.k.

W  =================================================

W  === ipl_Init() called

W    ITS Plugin: Path dw_gui

W    ITS Plugin: Description ITS Plugin - ITS rendering DLL

W    ITS Plugin: sizeof(SAP_UC) 1

W    ITS Plugin: Release: 720, [7200.0.401.20020600]

W    ITS Plugin: Int.version, [33]

W    ITS Plugin: Feature set: [30]

W    ===... Calling itsp_Init in external dll ===>

W  === ipl_Init() returns 0, ITSPE_OK: OK

W  =================================================

Please let me know what to do.

Thanks!!!

Saurabh Gautam

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

HI SS

This is a virtual server not physical. I have restarted this but no luck again.

Thanks!!!!

Saurabh Gautam

former_member188883
Active Contributor
0 Kudos

Hi Saurabh,

Please check the hardware platform information as described in my response above.

Regards,

Deepak Kori

Former Member
0 Kudos

Hi Saurabh,

If your problem is still not solved then you can try with downloading latest version of SAPCRYPTOLIB from sap service market place, and install it. Refer sap note : 662340 ( Section entitled installing SAPCryptolib ).

Thanks & Regards,

Prav


Former Member
0 Kudos

Please provide output from

> dumpbin /headers G:\usr\sap\XYZ\DVEBMGS00\exe\sapcrypto.dll

command. More likely, you need to download and install correct version of SAPCRYPTOLIB.

Former Member
0 Kudos

Hi Roman,

How do a run this command,

'dumpbin' is not recognized as an internal or external command,

operable program or batch file.

Thanks!!!

Saurabh Gautam

Sriram2009
Active Contributor
0 Kudos

Hi

Is it Windows MS cluster environment?

BR

SS

Former Member
0 Kudos

Hi Sudhir,

The file exist there and also the OS is 64 bit and i have downloaded the kernel for 64 bit only. Then why it is looking for Win32 application

How to determine the sapcrypto.dll version?

Thanks!!!

Saurabh Gautam

Former Member
0 Kudos

Hi Gautam,

Once I too faced this type of error as "not a valid Win 32 application". At that time at hardware side the controller was faulty and malfunction. Some drivers got disconnected. When I try to access sqlplus.exe or dpmon etc files then I got this type of error. So after rectifying at hardware level and after restart of entire server then the files are again available and the problem solved for me.

Coming to your case:

Did it work before the kernel upgrade ? If yes, then revert back with old kernel folder. If no, then try to restart the server once.

Regards

Sudhir Sadhu

Sriram2009
Active Contributor
0 Kudos

Hi Gautam

Is it possible to do the full restart the physical system and than try again

BR

SS

Former Member
0 Kudos

Hi Gautam,


LoadLibrary("G:\usr\sap\XYZ\DVEBMGS00\exe\sapcrypto.dll")

  Error 193 = "G:\usr\sap\XYZ\DVEBMGS00\exe\sapcrypto.dll is not a valid Win32 application." [dlnt.c       255]

N  *** ERROR =>

===...could not load SSF library G:\usr\sap\XYZ\DVEBMGS00\exe\sapcrypto.dll .

As per the error, it is showing not a valid Win32 application. You didn't do the kernel upgrade properly. These files might be missing or got corrupted. Check these files are they present in that location ?

Regards

Sudhir Sadhu

Former Member
0 Kudos

Hi SS

I have referred this note and the profile parameters are set correctly. so no luck 😞

Also i have copied the trace file error in my initial message

Thanks!!!

Saurabh

Sriram2009
Active Contributor
0 Kudos

Hi

Could you check the file sapcrypto.dll available or not? file locaiton G:\usr\sap\XYZ\DVEBMGS00\exe\sapcrypto.dll " and also this file 32 or 64 bit ?

BR

SS

Former Member
0 Kudos

Hi SS,

File sapcrypto. dl is presentl at the mentioned location but how to determine whether it is 32 or 64 bit.

Thanks!!

Saurabh

Sriram2009
Active Contributor
0 Kudos

Hi

From the log it require a 32 bit, at the time of kernel upgrade you might have taken backup of old kernel folder could you compare the file

_____________________________________________________________

LoadLibrary("G:\usr\sap\XYZ\DVEBMGS00\exe\sapcrypto.dll")

  Error 193 = "G:\usr\sap\XYZ\DVEBMGS00\exe\sapcrypto.dll is not a valid Win32 application." [dlnt.c       255]

N  *** ERROR =>

===...could not load SSF library G:\usr\sap\XYZ\DVEBMGS00\exe\sapcrypto.dll .

__________________________________________________

BR

SS

former_member188883
Active Contributor
0 Kudos

Hi Saurabh,

Please check what is the your hardware platform viz IA64 or x86_64.

Please download sapcrpto.dll files based on your hardware plafform.

goto start -> All Programs -> accessories -> System tools -> System information

In System summary look for the value of parameter System Type

Hope this helps.

Regards,

Deepak Kori

yogeshibmbasis
Explorer
0 Kudos

Hi,

Upgrade the SAP kernel and after upgrading the kernel run the Transaction SICK to check everything is fine.Then try to install the SAP License.

Regards

Yogesh

Former Member
0 Kudos

Thanks Yogesh

I have already done that and upgraded the kernel to 402 and there are no issues in SICK as well.

Still have issues with license installation.

Thanks!!!

Saurabh

Sriram2009
Active Contributor
0 Kudos