Hi Reza,
The correct procedure to start a SAP system is:
1) sapstartsrv process is started. It will create the socket file as
"/tmp/.sapstream5XX13", where XX is the instance number;
2) sapcontrol is used to send the "Start" signal to the sapstartsrv
process (e.g., the "startsap" commands actually runs
"sapcontrol -nr XX -function Start", where XX is the instance number);
3) the sapstartsrv will start all other SAP processes.
The error you're getting is:
FAIL: NIECONN_REFUSED (Connection refused), NiRawConnect failed in
plugin_fopen()
Which means that the sapcontrol was unable to connect to the sapstartsrv
through the socket file ("/tmp/.sapstream5XX13"). Possible causes for
this are:
- the sapstartsrv was not running;
- the sapstartsrv was running, but something deleted the socket file.
And also please check if the instance number is correctly maintained in the shadow instance profiles.
Thank You.
Regards,
Deepika