SAP Knowledge Base Article - Preview

2450399 - SWPM: saplikey returns error code 2 (temp license)

Symptom

During the execution of Software Provisioning Manager tool (SWPM) with Oracle database, in step createTempLicense, the tool stops with the following error.

sapinst_dev.log
WARNING <date> <time>
Execution of the command "/usr/sap/<SID>/SYS/exe/uc/<os>/saplikey pf=/usr/sap/<SID>/SYS/profile/<instance profile> -install_first_temp <nnnnnn> XXXXXX" finished with return code 2. Output:
saplikey: failed to load shared library when connecting to the database.
 
ERROR <date> <time>
Process call '/usr/sap/<SID>/SYS/exe/uc/<os>/saplikey pf=/usr/sap/<SID>/SYS/profile/<instance profile> -install_first_temp <nnnnnn> XXXXXX' exits with error code 2. For details see log file(s) saplikey.log, dev_slic.
 
ERROR <date> <time>
The step createTempLicense with step key |NW_ABAP_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|ci|0|NW_Temp_License_ABAP|ind|ind|ind|ind|lic|0|createTempLicense was executed with status ERROR

More details can be found in the log file dev_likey.

dev_likey
Loading DB library '/usr/sap/<SID>/SYS/exe/run/dboraslib.so' ...
*** ERROR => DlLoadLib()==DLENOACCESS - dlopen("/usr/sap/<SID>/SYS/exe/run/dboraslib.so") FAILED
"ld.so.1: saplikey: fatal: /usr/sap/<SID>/SYS/exe/run/dboraslib.so: open failed: No such file or directory" [dlux.c 521]
*** ERROR => Couldn't load library '/usr/sap/<SID>/SYS/exe/run/dboraslib.so'
[dbcon.c 6586]
*** ERROR => saplikey: failed to load shared library when connecting to the database. [saplikey.c 819]


Read more...

Environment

  • Software Provisioning Manager (SWPM)
  • Systems based on SAP NetWeaver 7.1 or higher
  • Unix-based Operating System
  • Oracle Database

Product

SAP NetWeaver 7.1 ; SAP NetWeaver 7.2 ; SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.3

Keywords

Software Provisioining Manager, SWPM, SAPinst, Installer, Install, Installation, System Copy, Copying, Migration, Migrate, Migrating, OS/DB, OSDB, Homogeneous, Heterogeneous, HSC, NW, 7.1, 7.11, 7.2, 7.3, 7.31, 7.4, 7.5, 710, 711, 720, 730, 731, 740, 750, AS, Java, ABAP, Backup, Restore, Backup/Restore, Restoring, Export, Exporting, Import, Importing, Oracle, Ora, saplikey, templicense, temporary license, temp, DLL, library, lib , KBA , BC-INS-SWPM , Installation with Software Provisioning Manager , BC-DB-ORA , Oracle , BC-INS-MIG , OS/DB Migrations with SWPM and DB refresh , BC-INS-UNX , Installation Unix , BC-DB-ORA-INS , Installation SAP System , BC-SEC-LIK , Licence Key Administration , 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.