
Symptom
You are in the midst of installing SAP system using the SWPM (Software Provisioning Manager). During the Start Instance stage, below error coming out – In dev_w0 log file, you found below error,
M *** ERROR => ThPlgConnectToIcm: IcmReadAck failed (-8, ni_rc=-6) [thxxplg.c 5185]
M in_ThErrHandle: 1
M *** ERROR => ThStart: connect to icman (step 1, th_errno 2, action 3, level 1) [thxxhead.c 11614]
Solution
The resolution of above error is explain in SAP Note 1934023 – Application server startup fail with an ICM connection error.
From the mentioned SAP Note, the error occurred due to below scenarios,
• Two SAP systems running in the same server;
• This issue was initially identified in Windows systems;
• Usually this occurs with a specific startup order, for example, starting the system A with the system B already UP and running. If the systems are started the other way round, there is no issue.
In order to get rid of the error, you will need to configure a specific TCP port for parameter parameter icm/admin_port. The default value of parameter icm/admin_port is 65000. The range 65000-10000 is a hardcoded value in the kernel.
You can refer to SAP Note 1900647 – Parameter icm/admin_port and article SAP AS ABAP Service Port Numbers (look for ICM Admin) for parameter icm/admin_port details.



