0% found this document useful (0 votes)
71 views2 pages

HDB Start Fail

Uploaded by

Sathish Dasari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
71 views2 pages

HDB Start Fail

Uploaded by

Sathish Dasari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

FAIL: NIECONN_REFUSED

(Connection refused),
NiRawConnect failed in
plugin_fopen() HANA DB

Problem:

HDB start command will issue the error

"FAIL: NIECONN_REFUSED (Connection refused), NiRawConnect failed in


plugin_fopen()"

Scenario:

 Command 'HDB start' failed with below error:FAIL: NIECONN_REFUSED (Connection


refused), NiRawConnect failed in plugin_fopen()
 sapcontrol commands also failed with the error 'FAIL: NIECONN_REFUSED (Connection
refused)'
 service sapstartsrv was not running, checked by the command 'ps -ef | grep sapstartsrv'
 From OS logfile /var/log/messages, find error occurred during HANA startup

Cause:

Permission error

Troubleshooting:

From the /var/log/messages, the following error was found

"Unable to change to Directory /usr/sap/SID/HDBXX/hostname/trace


Resolution:

The instance profile may be damaged by the unexpected or mistaken


shutdown.

The SAPLOCALHOST parameter was pointing to the wrong hostname due


to which the sapstartsrv agent was not able to find/write the log files
under the respective Hana trace directory. After the parameter was
corrected, the agent was able to start and HANA resumed its services.

Supporting Snote:

2591190 - HANA failed to start with error: FAIL: NIECONN_REFUSED


(Connection refused)

Useful Commands:

/usr/sap/SID/SYS/exe/hdb/sapcontrol -prot NI_HTTP -nr <inst num> -


function Start

/usr/sap/SID/HDBXX/exe > strace -afH -o /tmp/strace.txt sapcontrol -prot


NI_HTTP -nr <inst num> -function Start

Sometimes in SLES, we faced an issue to start sap please run the below
command.

/bin/systemctl restart sapinit.service

You might also like