SAP Knowledge Base Article - Preview

3313959 - Automatic license distribution to JAVA systems fails with error "User is locked"

Symptom

In the SMDAgentApplication.log of Diagnostics Agent of the affected JAVA managed system, the following error is reported.

MM DD, YYYY HH:MM:SS AM [Thread[Thread-2,5,main]                      ] Error      P4 connection error to SAP system [System-ID]
[EXCEPTION]
javax.naming.NoPermissionException: Exception during getInitialContext operation. Wrong security principal/credentials. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: User is locked.]
    at com.sap.engine.services.jndi.InitialContextFactoryImpl.handleUserProblem(InitialContextFactoryImpl.java:427)
    at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:341)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
........
Caused by: com.sap.engine.services.security.exceptions.BaseLoginException: User is locked.

MM DD, YYYY HH:MM:SS AM [Thread[Thread-2,5,main]                      ] Error      Operation Failed
[EXCEPTION]
com.sap.agent.application.globallicenseaudit.LicenseExceptionFailed to access to the licensing service of <SID>
    at com.sap.agent.application.globallicenseaudit.LicenseManagement700.getLicensingService(LicenseManagement700.java:257)
    at com.sap.agent.application.globallicenseaudit.LicenseManagement700.installLicenses(LicenseManagement700.java:90)
    at com.sap.agent.application.globallicenseaudit.LicenseController.installLicenses(LicenseController.java:46)
......
Caused by: com.sap.smdagent.plugins.connectors.p4.exceptions.P4AuthorizationException: Access is denied to SAP System sid [SID]: check the connection credentials.More details about the error in agent '<Agent hostname>' log file (SMDAgentApplication.X.log).; nested exception is: 
    com.sap.engine.services.security.exceptions.BaseLoginException: User is locked.
    at com.sap.smd.agent.plugin.connectors.p4.P4ConnectionService.prepareP4AcessDeniedException(P4ConnectionService.java:170)
    at com.sap.smd.agent.plugin.connectors.p4.P4ConnectionService.establishP4Connection(P4ConnectionService.java:104)
    at com.sap.smd.agent.plugin.connectors.p4.P4ConnectionService.getP4Connection(P4ConnectionService.java:66)
    at com.sap.smd.agent.plugin.connectors.p4.P4ConnectionService.getP4Connection(P4ConnectionService.java:44)
    at com.sap.smd.agent.plugin.connectors.p4.P4ConnectionService.getP4Connection(P4ConnectionService.java:36)
    at com.sap.agent.application.globallicenseaudit.LicenseManagement700.getJndiContext(LicenseManagement700.java:161)
    at com.sap.agent.application.globallicenseaudit.LicenseManagement700.getLicensingService(LicenseManagement700.java:246)
    ... 12 more
Caused by: com.sap.engine.services.security.exceptions.BaseLoginException: User is locked.


Read more...

Environment

  • SAP Solution Manager 7.20

Product

SAP Solution Manager all versions

Keywords

KBA , SV-SMG-DIA-SRV-AGT , Agent Framework , SV-SMG-LIC , License Management / Maintenance Certificate , 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.