SAP Note 1348820 - sapstartsrv hangs after receiving 'StopService' request

Component : Monitoring - Startup Service

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

Summary :
The SAP Note addresses an issue where the sapstartsrv process becomes unresponsive during shutdown requests either via "StopService" web-method or TERM signal. This failure causes SAP installations and upgrades, handled by sapinst, to hang due to the non-release of files by the stuck sapstartsrv process. The problem, identified on both Linux and Windows, stems from thread deadlock during the shutdown sequence. A temporary fix involves terminating the sapstartsrv process manually with 'kill -9' on Unix/Linux or equivalent on other systems. A permanent remedy requires updating sapstartsrv via the saphostagent.sar to CCMS Patch Collection 2009/3 or later, alongside kernel updates.

Key words :
terms sapstartsrv deadlock shutdown mutex sapinst stopservice reason, subsequent log files 'sapcontrol_<q01>_<dvebmgs00>, sapcontrol -prot ni_http -nr 00 -function stopserviceyou, sap upgrade script sapinst, subsequent web-method calls, shutdown request sapstartsrv process, receiving shutdown requests, symptom sapstartsrv process, running sapstartsrv process, ccms patch collection 2009/3

Related Notes :

1565645SAP composite note: sapcontrol
1304480CCMS agent and kernel: patches 2009