SUSE Support

Here When You Need Us

SAP on SLES shows Error: NIECONN_REFUSED in the logs

This document (7023236) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12


In the logs there are entries like

018-06-28T03:45:42.719624+02:00 unsinkable_02 lrmd[40931]:   notice: rsc_SAPHana_HAL_HDB00_monitor_61000:211324:stderr [ Error: NIECONN_REFUSED (Connection refused), NiRawConnect failed in plugin_fopen() ]

and the SAP Instance cannot be operated by the Cluster for example.

This can affect normal SAP Instances like ASCS/ERS as well as HANA.



Most likely reason for this is that the sapstart service is not running, it can be checked via

   unsinkable_02:~ # /bin/systemctl --no-pager --all list-units | grep sapinit

     sapinit.service        loaded    active   running   LSB: Start the sapstartsrv


     sapinit.service        loaded    active   exited   LSB: Start the sapstartsrv

and in case this returns something like

   sapinit.service       loaded    inactive dead      LSB: Start the sapstartsrv

   sapinit.service          loaded    failed   failed    LSB: Start the sapstartsrv

this can be fixed with

   unsinkable_02:~ # /bin/systemctl restart sapinit.service

On SLE 15 SAP instances can be systemd-enabled and in that case will not be started by sapinit, but by their own systemd service files. In this case restart the services for the  instances instead of sapinit.


The process sapstartsrv which is used for operating the SAP Instances was either killed, stopped or otherwise not available

Additional Information

This is also mentioned in the Best Practice Guide "Enqueue Replication - SAP NetWeaver High Availability on SUSE Linux Enterprise (12)"


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7023236
  • Creation Date: 01-Aug-2018
  • Modified Date:18-Feb-2022
    • SUSE Linux Enterprise Server for SAP Applications

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.