SAP Knowledge Base Article - Preview

2915259 - SM51 server switching is not possible


  • Server switch is not possible in SM51.

You might get the error message "Communication error with server <instance name>: Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT', communication rc: CM_PRODUCT_SPECIFIC_ERROR (cmRc=20)" when trying to switch to another instance.

  • Testing "Internal connections" RFC to another instance fails with a similar error to:

    Error Details Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT', communication r
    Error Details ERROR: internal error (this retcode should be handled by caller of NI-layer)
    Error Details LOCATION: SAP-Gateway on host <source address>
    Error Details DETAIL: NiISSLStartOnClientConn: parameter invalid (pHdl->mType != NI_CONNECTED)
    Error Details COMPONENT: NI (network interface)

    While in the gateway trace file, we can see connectivity errors like below examples:

    ***LOG Q0I=> NiPConnect2: <target host>:<dynamic port>: connect (10060: WSAETIMEDOUT: Connection timed out) [D:/depot/bas/753_REL/src/base/ni/nixxi.cpp 3449]
    *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl <xxx>/sock <xxx>
        (SI_ECONN_REFUSE/10060; I4; ST;  <target host>:<dynamic port>) [nixxi.cpp    3449]
    *** WARNING => NiISSLStartOnClientConn: parameter invalid (pHdl->mType != NI_CONNECTED) [nixxi.cpp    10797]
    *** ERROR => GwSSLConnectPending: NiBufSSLStartOnClientConn failed (NIEINVAL) [gwxxssl.c    450]
    GwTraceHdlInfo: hdl 170

    (Note: From the pure network perspective, connection error code 10060, implies that the connection to the target address has a timeout error because this is blocked by the firewall)

    *  LOCATION    SAP-Gateway on host <source address>
    *  ERROR       timeout during allocate

    NiIConnect: state of hdl <xx> NI_CONN_WAIT
    GwSSLConnect: GwConnect(<target host,dynamic port>) (rc=NIECONN_PENDING)
    GwIConnectWithRemGw: timeout during GwIAsyncConn



  • SAP NetWeaver ABAP based product
  • SAP_BASIS Release 7.40 SP8/higher and minimal kernel version 742


SAP NetWeaver all versions


RFC, logon, remote, gateway error, GW_TIMEOUT, Time limit exceeded during connection setup, SSL, transaction termination 14, SM51, CM_PRODUCT_SPECIFIC_ERROR , KBA , BC-CST-GW , Gateway/CPIC , BC-MID-RFC , RFC , BC-SEC , Security - Read KBA 2985997 for subcomponents , BC-CST , Client/Server Technology , BC-NET , Network 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.