SAP Knowledge Base Article - Preview

3391964 - Error: "Failed to install temp license with 'saplicense'" during INSTTEMPLIC_TRANS phase of the upgrade


During the INSTTEMPLIC_TRANS phase of the upgrade, the following error occurs:


3 ETQ120 20231020221917: PID 422116 execute '/usr/sap/SID/D01/exe/saplicense -temp NAME=PS4', output written to '/SUM/abap/log/SAPLIKEY.LOG'.
3WETQ122 20231020221917: PID 422116 exited with status 254 '' (time:     0.0/    0.0/    0.0/512MB real/usr/sys/maxmem)
1EETQ399 Last error code set is: Failed to install temp license with 'saplicense', see 'SAPLIKEY.LOG' for
1EETQ204 Upgrade phase "INSTTEMPLIC_TRANS" aborted with severe errors ("20231020221917")


EXECUTING /usr/sap/SID/D01/exe/saplicense -temp NAME=SID

*** SAPLICENSE (Release 781) ERROR ***
    ERROR:   Can not set DbSl trace function
    DETAILS: DbSlControl(DBSL_CMD_IMP_FUNS_SET) failed with return code 20
    RC-INFO: error loading dynamic db-library - check environment for: 
             dbms_type = <db-type>  (e.g. ora)
             DIR_LIBRARY = <path to db-dll>  (e.g. /usr/sap/SID/SYS/exe/run)
             LD_LIBRARY_PATH = <path do db and sap libs> (e.g. /oracle/SID/lib)

SAPup> Process with PID 422116 terminated with status 254 at 20231020221917!



  • SAP S/4HANA 
  • SAP NetWeaver 7.x


KBA , BC-UPG-TLS-TLA , Upgrade tools for ABAP , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.