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 12
018-06-28T03:45:42.719624+02:00 unsinkable_02 lrmd: 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.
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.
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
For questions or concerns with the SUSE Knowledgebase please contact: email@example.com