Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

AS ABAP Dev edition 7.52 SP04 error: Invalid profile parameter dbms/type

Flavio
Active Contributor

Hi,

while installing, the following error appears:

INFO 2019-10-29 03:25:34.910 (root/sapinst)
Execute step DeleteLicense of component |offlineadjustment_dialogs|ind|ind|ind|ind|0|0|import_license_adapter|ind|ind|ind|ind|import_license|0|delete_license_abap|ind|ind|ind|ind|deleteLicenseAbap|0

ERROR 2019-10-29 03:25:35.197 (root/sapinst) id=nw.syscopy.license.delete.saplikeyFailed errno=CJS-30265
Deleting SAP license failed, see output of log file: /tmp/sapinst_instdir/NW73/SBC/STANDARD/dev_likey.

ERROR 2019-10-29 03:25:35.210 (root/sapinst) id=nw.syscopy.license.delete.failed errno=CJS-30264
Deleting SAP license failed: Deleting SAP license failed, see output of log file: /tmp/sapinst_instdir/NW73/SBC/STANDARD/dev_likey..

ERROR 2019-10-29 03:25:35.344 (root/sapinst) id=controller.stepExecuted errno=FCO-00011
The step DeleteLicense with step key |offlineadjustment_dialogs|ind|ind|ind|ind|0|0|import_license_adapter|ind|ind|ind|ind|import_license|0|delete_license_abap|ind|ind|ind|ind|deleteLicenseAbap|0|DeleteLicense was executed with status ERROR (Last error reported by the step: Deleting SAP license failed, see output of log file: /tmp/sapinst_instdir/NW73/SBC/STANDARD/dev_likey).

dev_likey content:

---------------------------------------------------
trc file: "dev_likey", trc level: 1, release: "753"
---------------------------------------------------

Tue Oct 29 03:25:35 2019
MtxInit: 0 0 0
*** ERROR => Invalid profile parameter dbms/type (or environment variable dbms_type) = <undef>, cannot load DB library
 [dbcon.c      6885]
*** ERROR => saplikey: failed to load shared library when connecting to the database. [saplikey.c   820]

Do you have any idea how to fix it?

Thanks and ciao,

Flavio

7 REPLIES 7

FredericGirod
Active Contributor
0 Kudos

Hi,

did you run with the correct user, with the correct shell ?

it looks like a path of library is missing in the environment variable LD_LIBRARY_PATH. This could be just an error of user.

Sandra_Rossi
Active Contributor
0 Kudos

Please use the COMMENT button for comments, questions, adding details, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area.

FredericGirod
Active Contributor
0 Kudos

could you run the command set | more to check if the variables are set

(or echo $dbms_type for the specified parameter)

Flavio
Active Contributor
0 Kudos

Hi Frederic,

thanks for the comments;

user is root during install, as stated in the blog

the dbms_type variable is not set, nor echoed. However, the sapinst.txt file seems containing it:

storageBasedCopy.dbType=syb

and I can see it set in the big log sapinst_dev.log file :

dbms/type = syb
dbs/syb/schema = SAPSR3
dbs/syb/server = vhcalnplci
dbs/syb/dbname = NPL

anyway, the same log file reports:

TRACE      2019-10-29 03:25:34.806 (root/sapinst) (startInstallation) java.lang.String
saplicense returned 254, output: [, *** SAPLICENSE (Release 753) 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), ]<br><br>

How could I set it?

Thanks again and best regards,

Flavio

FredericGirod
Active Contributor
0 Kudos

The environment variable depend of your Linux distribution & on your shell script.

Could you check: echo $SHELL

There is something really strange with your installation, maybe it is better to restart from the beggining slowly, following strictly the newbie guide

Flavio
Active Contributor
0 Kudos

Eventually succeeding with the AS ABAP 7.52 SP04 Developer Edition install: needed to go back to openSUSE Leap 42.3, instead of installing on Leap 15.1.

Thanks and best regards,

Flavio