SAP Knowledge Base Article - Preview

2473663 - SUM Java error: "OSExecute FAIL: NIECONN_REFUSED (Connection refused)"

Symptom

You are performing the Java system update via SUM. An error occurred in step DELETE-REMOTE-BOOTSTRAP-JARS. In the log file, the following error is recorded.

***************************************************

--------/usr/sap/<SID>/SUM/sdt/log/SUM/DELETE-REMOTE-BOOTSTRAP-JARS_29.LOG--------
May 11, 2017 9:25:34 AM [Info ]: Major sap jvm version: 6
May 11, 2017 9:25:34 AM [Info ]: Process ID 1550, name sapcontrol has been started.
May 11, 2017 9:25:34 AM [Info ]: Command line: /sapmnt/<SID>/exe/uc/linuxx86_64/sapcontrol -nr 22 -host <dialoginstance1> -user <SID>adm <SecureField> -prot NI_HTTPS -function OSExecute /usr/sap/<SID>/SYS/exe/jvm/linuxx86_64/sapjvm_6.1.101/sapjvm_6/bin/java -cp /usr/sap/<SID>/SYS/global/sdtremote/sdt_trace.jar:/usr/sap/<SID>/SYS/global/sdtremote/sdt_trace_base.jar:/usr/sap/<SID>/SYS/global/sdtremote/sdt_util.jar:/usr/sap/<SID>/SYS/global/sdtremote/sdt_tools.jar:/usr/sap/<SID>/SYS/global/sdtremote/sap.com~tc~sec~csi.jar com.sap.sdt.tools.remote.SdtRemoteOperationsExecutor deleteBootstrapJars /usr/sap/<SID>/D22 SWITCH_UPGRADE 0 300
May 11, 2017 9:25:34 AM [Info ]: Standard out: /usr/sap/<SID>/SUM/sdt/tmp/SAPCONTROL_OSEXECUTE_22_29.OUT

----SAPCONTROL_OSEXECUTE_22_44.OUT------
11.05.2017 15:12:41
OSExecute
FAIL: NIECONN_REFUSED (Connection refused), NiRawConnect failed in plugin_fopen()

***************************************************

The same error may also occur in step WILY-INTROSCOPE-CONFIGURATION-UPDATE.

To analyze the issue, you may check the log "INITIALIZE-COMMON-DETECT-MODULE-DETERMINE-PROFILES_01.LOG" to see the result of the sapcontrol function "GetSystemInstanceList".

Example:

***************************************************

-----/usr/sap/<SID>/SUM/sdt/log/SUM/INITIALIZE-COMMON-DETECT-MODULE-DETERMINE-PROFILES_01.LOG----'
May 3, 2017 7:21:46 PM [Info ]: Command line: /usr/sap/<SID>/DVEBMGS21/exe/sapcontrol -nr 21 -host <Primaryinstance> -user <SID>adm <SecureField> -prot NI_HTTPS -function GetSystemInstanceList 150
May 3, 2017 7:21:46 PM [Info ]: Standard out: /usr/sap/<SID>/SUM/sdt/tmp/SAPCONTROL_GETSYSTEMINSTANCELIST_21_04.OUT
May 3, 2017 7:21:47 PM [Info ]: Process ID 91 has been started.
May 3, 2017 7:21:47 PM [Info ]: Waiting for process ID 91, name sapcontrol to finish.
May 3, 2017 7:21:47 PM [Info ]: Process ID 91, name sapcontrol has been finished, exit code 0.
May 3, 2017 7:21:47 PM [Info ]: Correctly detected instance: 22 on host <dialoginstance1>
May 3, 2017 7:21:47 PM [Info ]: Correctly detected instance: 23 on host <dialoginstance2>
May 3, 2017 7:21:47 PM [Info ]: Correctly detected instance: 2 on host <SCSinstance>
May 3, 2017 7:21:47 PM [Info ]: Correctly detected instance: 20 on host <ASCSinstance>
May 3, 2017 7:21:47 PM [Info ]: Correctly detected instance: 21 on host <Primaryinstance>
May 3, 2017 7:21:47 PM [Info ]: Process ID 92, name sapcontrol has been started.
..
..

***************************************************


Read more...

Environment

NetWeaver Java based systems.

Product

SAP NetWeaver 2004 ; SAP NetWeaver 7.0 ; SAP NetWeaver 7.1 ; SAP NetWeaver 7.2 ; SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP Solution Manager 7.1 ; SAP enhancement package 1 for SAP NetWeaver 7.0 ; SAP enhancement package 1 for SAP NetWeaver 7.3 ; SAP enhancement package 2 for SAP NetWeaver 7.0 ; SAP enhancement package 3 for SAP NetWeaver 7.0

Keywords

OSExecute, SUM , software update manager ,service/protectedwebmethods ,WILY-INTROSCOPE-CONFIGURATION-UPDATE , KBA , BC-UPG-TLS-TLJ , Upgrade tools for Java , BC-CST-STS , Startup Service , 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.