Skip to Content
0
Former Member
Oct 27, 2005 at 07:01 PM

Creating stopsap script on windows environment

96 Views

Im trying to create a script that can shutdown sap instances over network - using stopsap.exe.

STOPSAP.EXE name=<SID> nr=<SYSNR> SAPDIAHOST=<host>

this works perfectly - locale on the sap server, but running this over network gives me this error log.

CreateNamedPipe for
<host> \pipe\SAP<sid>_nr Failed, Extended Error #53

CreateNamedPipe for
<host> \pipe\SAP<sid>_nr Failed, Extended Error #53

sapntwaitforhalt.exe=>sapparam(1c): No Profile used.

running sapsrvkill.exe <host>_<sid>_nr

running sapntwaitforhalt.exe name=<sid> nr=xx SAPDIAHOST=<host> 3600

I copied the three needed files to a directory on the server that executes this script.

stopsap.exe

sapsrvkill.exe

sapntwaitforhalt.exe

What am I missing here - besides a working script 😊