SAP Knowledge Base Article - Preview

3070170 - Diagnostics agent cannot establish a P4 connection to the managed system

Symptom

The diagnostics agent cannot establish a P4 connection to the managed system.

The SMDAgentApplication.log contains one of the following errors:

Error      P4 connection error to SAP system [SID/00]
[EXCEPTION]
javax.naming.NoPermissionException: Exception during getInitialContext operation. Wrong security principal/credentials. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user.] [...]

or;

Error      License Management - Unexpected error during service initialization
[EXCEPTION]
com.sap.smdagent.plugins.connectors.p4.exceptions.P4AuthorizationException: Access is denied to SAP System sid [SID/00]: check the connection credentials.More details about the error in agent 'xyz' log file (SMDAgentApplication.X.log).; nested exception is:
    com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user. [...]

or;

License Management - Failed to distribute Licenses to System: SID - The targeted system is stopped [...]


Read more...

Environment

SAP Solution Manager 7.2

UNIX or Windows OS

Product

SAP Solution Manager 7.2

Keywords

SM_COLL, SAP-J2EE-ENGINE, NWA , KBA , SV-SMG-DIA-SRV-AGT , Agent Framework , 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.