SAP Knowledge Base Article - Preview

3028932 - sapcontrol returns NIECONN_REFUSED for a remote instance

Symptom

The following error message is received when trying to start (or stop) SAP with the command "sapcontrol -nr XX -function StartSystem" (or "StopSystem"; "XX" stands for the Instance number):

FAIL: NIECONN_REFUSED (Connection timed out), NiRawConnect failed in plugin_fopen(), <errordetails xmlns="urn:SAPControl"><errordetails xmlns="urn:SAPControl">Checking Start permission on http://<remote server>:5XX13 failed: NIECONN_REFUSED (Connection timed out), NiRawConnect failed in plugin_fopen()</errordetails></errordetails>

- Notice that the protocol might be https, in which case the port changes to 5XX14 ("...Checking Start permission on https://<remote server>:5XX14 failed...")

Another scenario where the issue can happen is if sapcontrol is used to connect directly to a remote instance, for example:

sapcontrol -host <remote server> -queryuser -nr XX -function <any function>


Read more...

Environment

  • SAP Netweaver release independent
  • ABAP Platform release independent
  • Client/Server Technology - Startup Service

Product

ABAP platform all versions ; SAP NetWeaver all versions

Keywords

KBA , BC-CST-STS , Startup Service , BC-CST , Client/Server Technology , BC-JAS , NetWeaver Application Server Java , BC-UPG-TLS-TLJ , Upgrade tools for Java , BC-UPG-TLS-TLA , Upgrade tools for ABAP , 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.