SAP Note 1565645 - SAP composite note: sapcontrol

Component : Startup Service -

Solution : https://service.sap.com/sap/support/notes/1565645 (SAP Service marketplace login required)

Summary :
This SAP Note addresses issues encountered when using the sapcontrol utility, particularly relating to authentication errors such as HTTP/1.1 401 Unauthorized, invalid credentials, and connection refusals. Key concerns include improper handling or absence of /tmp/.sapstream5$$13 or \\.\pipe\saptcontrol_$$ on Unix and Windows respectively, incorrect user execution permissions, and possibly misconfigured or failing services such as sapstartsrv. Solutions include file management, service restarts, permission checks, relevant SAP Note references, and PAM configuration reviews. Ensure that all operations are performed under the correct user context, namely adm, and verify service operational status to resolve issues effectively.

Key words :
sapcontrol -nr <instance number> -function restartservice, - http basic authentication - trusted connects, basic http authentication, operating system level, trusted connection functionality, <sid>adm user, instance number, plugin_fopen solution follow, trace file sapstartsrv, sapcontrol function

Related Notes :

1348820sapstartsrv hangs after receiving 'StopService' request
927637Web service authentication in sapstartsrv as of Release 7.00
877795Problems with sapstartsrv from Release 7.00 and 6.40 patch 169