cancel
Showing results for 
Search instead for 
Did you mean: 

sapstartsrv and saphostexec still running after sapstop

0 Kudos

Hello Basis,

I have the following processes still running after sapstop. Is there a way to stop these two processes gracefully?

I've been using the kill command but I can't use in on my script.

  1. ps -ef | grep sap

root 5963934 1 0 Oct 14 - 0:12 /usr/sap/hostctrl/exe/saphostexec pf=/usr/sap/hostctrl/exe/host_profile

sapadm 6881456 1 0 Oct 14 - 0:01 /usr/sap/hostctrl/exe/sapstartsrv pf=/usr/sap/hostctrl/exe/host_profile -D

thanks all.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Please check.

Hope this answers your query.

Regards,

Varun

Former Member
0 Kudos

Hi,

1) To stop SAPHOSTEXEC process, please follow the below mentioned step. Normally hostctl agent will be owned by root user, so login as root user to stop / start.

>cd /usr/sap/hostctrl/exe

>saphostexec -stop

>saphostexec -restart

>saphostexec -status

2) To stop sapstartsrv

> Login as sidadm user

> stopsap sapstartsrv pf=</usr/sap/PROD1/SYS/profile/START_SCS15_host1>

> In worst case you can kill this process using kill -9 command.

Best Regards,

Vasanth G

0 Kudos

Thanks for all your help.