
Symptoms:
In SAP SM21 logs, we are constantly receiving error as:
Q0I Operating System call connect failed (error no. 13).

Cause:
The process type: IC means we need to check ICM logs as it probably coming from ICM.
We can find the trace either from SMICM or from the OS level work directory (/usr/sap/<SID>/<nr>/work)
Where nr=Instance number.
In dev_icm trace file, we found:
***LOG Q0I=> NiPConnect: /tmp/.sapicmXXXXX: connect (13: Permission denied)
*** ERROR => NiPConnect: SiConnect failed for hdl 103/sock 32
(SI_ECONN_REFUSE/13; UD; ST; /tmp/.sapicmXXXXX)
This error is usually caused due to domain socket used in UNIX.
Steps to rectify this issue:
- First delete the file named .sapicmxxxxx from /tmp location i.e. ( /tmp/.sapicmxxxxx file ) and the restart the SAP instance.
- If the issue still exist,in the instance profile set below parameters:
install/umask=002
rdisp/umask=002
service/umask=002
- Restart the instance.
Hope this solution would help you in solving issues with message Q0I Operating System call connect failed (error no. 13).