2473663 - SUM sapcontrol OSExecute function fails in step DELETE-REMOTE-BOOTSTRAP-JARS/WILY-INTROSCOPE-CONFIGURATION-UPDATE with " OSExecute FAIL: NIECONN_REFUSED (Connection refused)" | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2473663 - SUM sapcontrol OSExecute function fails in step DELETE-REMOTE-BOOTSTRAP-JARS/WILY-INTROSCOPE-CONFIGURATION-UPDATE with " OSExecute FAIL: NIECONN_REFUSED (Connection refused)"

Symptom

During upgrade /update , Software update manager (SUM) shows error in step DELETE-REMOTE-BOOTSTRAP-JARS while executing sapcontrol cmd with OSExecute function return " OSExecute FAIL: NIECONN_REFUSED (Connection refused), NiRawConnect failed in plugin_fopen()"

you can notice the same in step WILY-INTROSCOPE-CONFIGURATION-UPDATE

--------/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()

For example :

Checking further logs to see what instance was detected initially by SUM tool, the log INITIALIZE-COMMON-DETECT-MODULE-DETERMINE-PROFILES_01.LOG show results of sapcontrl function GetSystemInstanceList 

Seeing this you can understand that instance 22 on host <dialoginstance1> is not able to connect via sapcontrol cmd


-----/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.
..
..
May 3, 2017 7:21:48 PM [Info ]: Instances [hostName: <dialoginstance1>|instanceNumber: 22|state: null|featuresList: ABAP|J2EE|GATEWAY|ICMAN|IGS|instanceName: D22|profilePath: /usr/sap/<SID>/SYS/profile/<SID>_D22_<dialoginstance1>|sapLocalHost: <dialoginstance1>|startProfile: /usr/sap/<SID>/SYS/profile/START_D22_<dialoginstance1>|osUserName: <SID>adm|isSCS: false|isInitiallyConnectedInstance: false|isCentralInstance: false
, hostName: <dialoginstance2>|instanceNumber: 23|state: null|featuresList: ABAP|J2EE|GATEWAY|ICMAN|IGS|instanceName: D23|profilePath: /usr/sap/<SID>/SYS/profile/<SID>_D23_<dialoginstance2>|sapLocalHost: <dialoginstance2>|startProfile: /usr/sap/<SID>/SYS/profile/START_D23_<dialoginstance2>|osUserName: <SID>adm|isSCS: false|isInitiallyConnectedInstance: false|isCentralInstance: false
, hostName: <SCSinstance>|instanceNumber: 2|state: null|featuresList: MESSAGESERVER|ENQUE|instanceName: SCS02|profilePath: /usr/sap/<SID>/SYS/profile/<SID>_SCS02_<SCSinstance>|sapLocalHost: <SCSinstance>|startProfile: /usr/sap/<SID>/SYS/profile/START_SCS02_<SCSinstance>|osUserName: <SID>adm|isSCS: true|isInitiallyConnectedInstance: false|isCentralInstance: false
, hostName: <ASCSinstance>|instanceNumber: 20|state: null|featuresList: MESSAGESERVER|ENQUE|instanceName: ASCS20|profilePath: /usr/sap/<SID>/SYS/profile/<SID>_ASCS20_<ASCSinstance>|sapLocalHost: <ASCSinstance>|startProfile: /usr/sap/<SID>/SYS/profile/START_ASCS20_<ASCSinstance>|osUserName: <SID>adm|isSCS: false|isInitiallyConnectedInstance: false|isCentralInstance: false
, hostName: <Primaryinstance>|instanceNumber: 21|state: null|featuresList: ABAP|J2EE|GATEWAY|ICMAN|IGS|instanceName: DVEBMGS21|profilePath: /usr/sap/<SID>/SYS/profile/<SID>_DVEBMGS21_<Primaryinstance>|sapLocalHost: <Primaryinstance>|startProfile: /usr/sap/<SID>/SYS/profile/START_DVEBMGS21_<Primaryinstance>|osUserName: <SID>adm|isSCS: false|isInitiallyConnectedInstance: true|isCentralInstance: true
]

Read more...

Environment

All Netweaver version upgrade independant of OS/DB.

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 ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.