SAP Knowledge Base Article - Preview

1678469 - Create Users step fails with "Connection to P4 port of managed system failed"


During the execution of the managed system configuration for JAVA systems, the step 'Create Users' fails with the following errors:

   User status cannot be checked


   Remote error: Connection to P4 port of managed system failed


In the details of the above error message you may see the error message “404 Not Found".

Also, in the  SMD Agent log file SMDAgentApplication.log of the managed system the following error is found:

   Jan 17, 2012 3:09:45 PM [Thread[Thread-21,5,main] ] Error   [Setup]Connection to P4 port of managed system failed [EXCEPTION] Connection error to SAP System sid [XXX/null],
 more details about the error in agent 'sapvsol' log file (SMDAgentApplication.X.log).; nested exception is:
 invalid response from message server: HTTP/1.1 404 Not Found

Another symptom is the following error that is shown in the log details:

No P4 connection could be established to XXX from <hostname>
P4 Connection to XXX failed (More details in SMDAgentApplication.log of agent <hostname>)
Please check the value of HTTP Message Server port (Default: 81+SCS Instance Number) entered in step 'Enter System Parameters'
; nested exception is: Can't get Socket. Reason:Connection refused( Can't get Socket. Reason:Connection refused)

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.



  • SAP Solution Manager Diagnostics


SAP Solution Manager 7.1 ; SAP Solution Manager 7.2


create, users, P4, port, connection failed, 404, not found, user status cannot be checked, sapj2ee/msgserver/httpport, , KBA , SV-SMG-INS-DIA , Configuration of Root Cause Analysis related infrastructure , 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.