cancel
Showing results for 
Search instead for 
Did you mean: 

SWPM - Standad System Rename: To many sapstartsrv processes

christoph_volkert
Participant
0 Kudos

While running SWPM Rename operation, SWPM brakes at 82% with the following error: "

Check whether another sapstartsrv process is running for instance number 01, stop it and retry"

It is a S4HANA standard system with three instances (Nr 00: HANADB; Nr 01,02 Netweaver 7.53).

I got 5 sapstartsrv processes[root@MyHost]# ps -A | grep sapstart


[root@MyHost]# ps -A | grep sapstart
7640 ?        00:00:18 sapstartsrv
7671 ?        00:02:47 sapstartsrv
8219 ?        00:00:32 sapstartsrv
8731 ?        00:00:11 sapstartsrv
19946 ?        00:00:00 sapstart
[root@MyHost]# cat /proc/19946/cmdline
sapstartpf=/usr/sap/S1H/SYS/profile/S1H_HDB00_hana2dev1
[root@MyHost]# cat /proc/8731/cmdline
/usr/sap/SH1/ASCS02/exe/sapstartsrvpf=/usr/sap/SH1/SYS/profile/SH1_ASCS02_hana2dev1-D-ush1adm
[root@MyHost]# cat /proc/8219/cmdline
/usr/sap/SH1/D01/exe/sapstartsrvpf=/usr/sap/SH1/SYS/profile/SH1_D01_hana2dev1-D-ush1adm
[root@MyHost]# cat /proc/7671/cmdline
/usr/sap/hostctrl/exe/sapstartsrvpf=/usr/sap/hostctrl/exe/host_profile-D
[root@MyHost]# cat /proc/7640/cmdline
/usr/sap/S1H/HDB00/exe/sapstartsrvpf=/usr/sap/S1H/SYS/profile/S1H_HDB00_hana2dev1-D-us1hadm

i thinlk i now need to stop two sapstartsrvs. Right?

Buit i#m not sure which ones. 19946 and 7671?

Accepted Solutions (1)

Accepted Solutions (1)

alichtenau
Advisor
Advisor

Hi Christoph,

can you please attach the relevant logfile? Unfortunately I do not know what exactly happens at 82%.

According to your information you get the error "Check whether another sapstartsrv process is running for instance number 01, stop it and retry". Instance 01 in your case is:

cat /proc/8219/cmdline

/usr/sap/SH1/D01/exe/sapstartsrvpf=/usr/sap/SH1/SYS/profile/SH1_D01_hana2dev1-D-ush1adm

Can you please check if there is something running using below statement:

sapcontrol -nr 01 -function GetProcessList

Otherwise I would try to stop the service using below statement and afterwards retry in SWPM:

sapcontrol -nr 01 -function StopService 



Best regards,
Andreas

Answers (1)

Answers (1)

christoph_volkert
Participant
0 Kudos

Hello Andreas,

thank you for your reply.

There had been no processes running exept HANADB services.

I stopped now sapstartsrv process for Instance 00 manually and retried again with SWPM. It worked, then the error happen again with instance Nr. 02, which was solved similar.

Now SWPM run through it and ended with 100% green.

Thank you.