Testing Old Type SAP Licenses

You cannot administrate digitally signed SAP licenses of the new type at operating system level.

If you cannot log onto your SAP system, you can use the saplicense option -test pf=<Profile> (iSeries: '-test pf=<Profile>') for troubleshooting purposes.

When you call up this option, the saplicense program determines the hardware key of the message server, simulates a logon to the SAP System, and carries out the necessary license check. You can follow all of these steps on the screen.


       1.      At the operating system level, log on as <sapsid>adm(Unix and Windows) or <SID>OFR (iSeries) to the computer running the central SAP instance.

    2.      UNIX and iSeries: start your SAP System and the database with startsap.

Windows: start your SAP System and the database with the SAP Service Manager.

       3.      Call up saplicense as follows:

UNIX and Windows: saplicense -test pf=<Profile>
iSeries: saplicense '-test pf=<Profile>'

You must specify the profile file. Specify the profile file (with the complete path) of the SAP System you want to test.

For an SAP System with the name PRD (instance number 00) on the host sapr3, you would enter the following:

UNIX and Windows: saplicense -test pf=/usr/sap/PRD/SYS/profile/sapr3_PRD_DVEBMGS00
iSeries: saplicense '-test pf=/usr/sap/PRD/SYS/profile/sapr3_PRD_DVEBMGS00'

The following message indicates the test was completed successfully:

test result: license test ok

The following message specifies the license used for the test:

LICENSE system: PRD hardware key: D1889390344

expiration_date: 99991231

installation no: 0005500021 key:  9KJDYITLVLPRZS9WXVS8SNTN

productid: R3_ORA

If you receive an error message during the license check, you can use the data output by the program to determine the cause of the error. (Connection setup to the message server, connection to database, and so on). Depending on the message, check whether the message server is running, or whether the database has started, and so on.

You can use the TRACE=2 option to carry out a detailed error analysis. The command syntax is as follows:

saplicense -test pf=<Profile> TRACE=2

iSeries: '-test pf=<profile> TRACE=2'

saplicense then creates the file dev_slic in the current directory. This file contains detailed error messages.