cancel
Showing results for 
Search instead for 
Did you mean: 

Logon not possible (Error in license check)

nelson_chamba2
Participant
0 Kudos

Hi folks,

I can´t logon with the new license requested and successfully installed on my system.

I runned the saplicense -test pf<profile> and i got this error.

*** SAPLICENSE (Release 720) 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)

1. I requested permanent license the Maintenance and the J2EE-Engine and installed via slicense and it shows successfully.

2. I cleaned all saplicense.log file

but noting happening,

Help please

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi can you give me the few clarification.

1. your system is ABAP + JAVA or JAVA.

2. which license you have downloaded from Service Market.

  • J2ee application server.
  • portal server.
  • web application as (java+ abap)

there are 3 type of license available for java. may i know which one u have selected.

regards,

Meenakshi

nelson_chamba2
Participant
0 Kudos

Hi,

1. My system is ABAP + Java

2. I downloaded and installed this: J2EE-Engine Web Application Server JAVA and Maintenance Entitlement.

On the tcode slicense both licenses are showing successfully installed but the system still recognizing the old one.

regards

nelson/

Former Member
0 Kudos

hi, For ABAP+JAVA system there is license Web Application server ABAP+JAVA(with this you java license is also applied on ABAP system) download that . reapply the license and delete all the old one or temp license using tcode Slicense. restart the system. check the hardware key of system and you are entering. one more clerifiaction you are facing issue in login the system or just test fails? regards, Meenakshi

Former Member
0 Kudos

hi, For ABAP+JAVA system there is license Web Application server ABAP+JAVA(with this you java license is also applied on ABAP system) download that .

1. Re apply the license and delete all the old one or temp license using tcode Slicense.

2. restart the system.

3.check the hardware key of system and you are entering.

one more clerifiaction you are facing issue in login the system or just test fails?

regards,

Meenakshi

nelson_chamba2
Participant
0 Kudos

Hi, I´m facing this logging in to the system and not test. It´s my solution Manager. 

former_member189725
Active Contributor
0 Kudos

Login as <sid>adm.

Check what licenses are installed with this command

saplikey -show pf=/usr/sap/<sid>/SYS/profile/<sid>_DVEBMGS<nr>_<hostname>

Delete the licenses in the system with the following command

saplikey pf=/usr/sap/<sid>/SYS/profile/<sid>_DVEBMGS<nr>_<hostname> -delete <SID>  "*" "*" "*"

Then install the new license with the following command .

saplikey -install <license file> pf=/usr/sap/<sid>/SYS/profile/<sid>_DVEBMGS<nr>_<hostname>

Regards

Ratnajit

former_member189725
Active Contributor
0 Kudos

Login as <sid>adm.

Check what licenses are installed with this command

saplikey -show pf=/usr/sap/<sid>/SYS/profile/<sid>_DVEBMGS<nr>_<hostname>

Delete the licenses in the system with the following command

saplikey pf=/usr/sap/<sid>/SYS/profile/<sid>_DVEBMGS<nr>_<hostname> -delete <SID>  "*" "*" "*"

Then install the new license with the following command .

saplikey -install <license file> pf=/usr/sap/<sid>/SYS/profile/<sid>_DVEBMGS<nr>_<hostname>

Regards

Ratnajit

former_member189725
Active Contributor
0 Kudos

Login as <sid>adm.

Check what licenses are installed with this command

saplikey -show pf=/usr/sap/<sid>/SYS/profile/<sid>_DVEBMGS<nr>_<hostname>

Delete the licenses in the system with the following command

saplikey pf=/usr/sap/<sid>/SYS/profile/<sid>_DVEBMGS<nr>_<hostname> -delete <SID>  "*" "*" "*"

Then install the new license with the following command .

saplikey -install <license file> pf=/usr/sap/<sid>/SYS/profile/<sid>_DVEBMGS<nr>_<hostname>

Regards

Ratnajit

Former Member
0 Kudos

if the license of the system is expired still your sap* user can login. as u have extra right with sap*.

login with sap*.

set the parameter.

if password is not remembered that delete the sap* user of any client from database.

then restart then u can login with default password  pass or PASS

nelson_chamba2
Participant
0 Kudos

Hi I can login with sap* without any problem.

When i run the command above i get this error:

Hi, when i run this command I get this error:

E:\usr\sap\SLM\SYS\exe\uc\NTAMD64>saplikey.exe -show pf=\usr\sap\SLM\SYS\profile

\SLM_DVEBMGS02_DRACO

saplikey: failed to load shared library when connecting to the database.

E:\usr\sap\SLM\SYS\exe\uc\NTAMD64>

regards

nelson/

Answers (7)

Answers (7)

Former Member
0 Kudos

"Error checking license"

I suffered a lot from it ..... but I managed to solve!

maybe I can help ... here we go:

if you never changed the password of SAP *, do the following:

in sap logon:

clinte: 000

USER: SAP *

password: "pass" or "PASS" (try one of the two, because I do not remember which one is right)

If successful, a screen will appear to change the password.

Change. Write down and do not miss!

Access the transaction "slicense"

click "new license"

Now leave this screen open ...

access http://www.sap.com/minisap

complete the form to obtain a new license.

access your mail, download the attached file into any folder.

return to the transaction "slicence" (previously opened).

IMPORTANT: at the top of screen has the option "New licenses" - click!

Now click the "installer license" which is below and select the license file you downloaded earlier.

ready!!

worked with me!

hope this helps beginners like me.

Hugs to all!

nelson_chamba2
Participant
0 Kudos

Hi thanks for the feedback, but just wanted to let all know that the problem is solved, i opened a message with sap and they supported me.

Thanks for your all inputs.

Regards

Nelson\

Former Member
0 Kudos

how u solved this problem

Former Member
0 Kudos

Probably not your problem but it is worth to read note

1717857

Former Member
0 Kudos

did u try to login with sap*.

regards,

Meenakshi

Former Member
0 Kudos

Hi Nelson,

Please follow below note.

Note 870871 - License key installation

Thanks,

Venkat

nelson_chamba2
Participant
0 Kudos

Hi Venkat,

my problem is not with license installation but with the system assuming the new license because i already installed a new one but the system still recognizing the old expired one.

So the other problem is that i can´t remove the old one and looks like the bug is with  library. I´m running Windows 2008 EE R2 with MSSQL 2005, my questions now is where do i define the prerequisites below?

Regards

Nelson/

As of Release 4.5A, the database interface library is linked dynamically. So that saplikey can find this library, you must set the following variables in the environment of the user who calls saplikey: dbms_type = <database type> (for example, ora, inf, ada, mss, db2, db4, db6)

DIR_LIBRARY = <path_for_dynamically_linked_database library> (for example, /usr/sap/SID/SYS/exe/run)

nelson_chamba2
Participant
0 Kudos

I set theses two variables and now the error is different:

saplikey: failed to connect to the database

Former Member
0 Kudos

Hi Nelson,

i Hope you have set above two perameters properly.

dbms_type= mss

DIR_LIBRARY= <drive>/usr/sap/SID/SYS/exe/run/un.. etc( give exact kernel location)

Then try if it does not work please apply latest kernel on both locations( <drive>/usr/sap/SID/SYS/exe/run/un.. etc and usr/sap/DVEBMGS00/exe)

please try and let us know result.

Thanks,

Venkat

Former Member
0 Kudos

which 2 parameters you have added??

just few question.

you can login with sap* so in that u can see your new license or old one?

you have install the license from slicense?

in slicense tcode.  at the top there is button of new license ( or old license) are u able to see your new and old license there?

regards,

Meenakshi

nelson_chamba2
Participant
0 Kudos

Hi,

my kernel is the last one but just in one location, I'll put it in both location and let u guys knows the output.

Regards.

Nelson/

nelson_chamba2
Participant
0 Kudos

Hi,

Yes I can logon with sap*.

Yes I installed the new license using the license code.

Yes I can see the new and the old license, the old has expired already and the news are showing green.

Yes I added the variables to new and for the location where do I have the kernel.

Regards.

Nelson/

Former Member
0 Kudos

delete the old one(temp one).

and you can login into the system with any other user id? other then sap*?

go to kernel and run slicense from the location and see what it is giving.

paste the output.

regards,

Meenakshi

nelson_chamba2
Participant
0 Kudos

Hi,

I can't delete the old license because it give the error that I already posted, "saplikey: failed to connect to the database"

What do I do?

Regards.

Nelson/

Former Member
0 Kudos

hi,

in that case.

just perform few steps.

1. check your system database is up.

2. r3load -x command. check the connectivity betweeen oracle and sap

3. CHECK dispatcher and message server are communicating with each there.

4. which 2 parameters u have added or changed that lead you with this error as you mention above.

regards,

Meenakshi

nelson_chamba2
Participant
0 Kudos

Hi Raja,

the only one that looks good is the first one, go to the database and delete from there because  the other two notes are not applicable for my system.

I can´t even upgrade the support packages because sap* has no rights for that so i just afraid of deleting the  0002LK and 0002LC from the database and don´t log on anymore.

Regards

Nelson/

Former Member
0 Kudos

Make sure you are running saplicense program under <sid>adm user else set correct environment for this user

Kind regards

Roman

Former Member
0 Kudos

Hello Nelson,

I believe the issue is due to the incompatibility of versions between
saplicense and dbsl. If so, please upgrade it to the same level as the other components.

It is recommended that you use the latest patch of the kerel (which includes all these components).

If you still get an error after chnaging the kernel,

please run

  \usr\sap\<SID>\DVEBMGSnn\exe\saplicense -number NAME=<SID> TRACE=2

and attach dev_slic to the message.

Regards,

Sandhya

nelson_chamba2
Participant
0 Kudos

Hi can please give me the example for this command, i mean, what is the NUMBER? NAME? my SID i know because o run it like it is and didn´t went trout.

what about the saplicense vs dbsl versions how do i check these two versions and how do i match their versions.

NOTE: about the sapkernel it´s on latest version i already upgrade it, look:

M sysno      02

M sid        SLM

M systemid   562 (PC with Windows NT)

M relno      7200

M patchlevel 0

M patchno    201

M intno      20020600

M make       multithreaded, Unicode, 64 bit, optimized

M profile    E:\usr\sap\SLM\SYS\profile\SLM_DVEBMGS02_DRACO

M pid        4472

regards.

Nelson Chamba/

JPReyes
Active Contributor
0 Kudos

You should check your licenses with SAPLIKEY, make sure your environmental variables are properly set ( you should be running this as <sid>adm).

You can do a saplikey -show to see the status of your licenses, also sometime old licenses can cause problems so you might as well remove old/temp licenses.

Read, http://help.sap.com/saphelp_nw73/helpdata/en/c3/e84ae90d9d427e92b0ceb69292ef4f/content.htm

Regards, Juan

nelson_chamba2
Participant
0 Kudos

Hi Juan,

My server is on the domain and i´m logging in with the users i use to proceed with all installation. Do i still need to use that <sid>adm? this on it´s sufficient or does not have these rights?

Whit the command saplikey - show i get this error:

E:\usr\sap\SLM\SYS\exe\uc\NTAMD64>saplikey -show pf=\usr\sap\SLM\SYS\profile\SLM

_DVEBMGS02_DRACO

saplikey: failed to load shared library when connecting to the database.

E:\usr\sap\SLM\SYS\exe\uc\NTAMD64>

looks like there is a problem with the library but what problem?

former_member189725
Active Contributor
0 Kudos

Can you check if the message server is up and running .

Also check the work process trace (dev_w0) under the work directory .

Regards

Ratnajit

nelson_chamba2
Participant
0 Kudos

Hi Ratnajit,

Yes, my message server is running. second what should i look for on the trace (dev_w0)?