cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot stop SAP instance using stopsap command

Former Member
0 Kudos

Hi All,

I am trying to stop a SAP instance using the stopsap command as such:

stopsap name=PRD nr=01 SAPDIAHOST=SAPPRD

The instace failed to stop with the following error in the stopsap.log file

CreateNamedPipe for
SAPPRD\pipe\SAPPRD_01 Failed, Extended Error #2

CreateNamedPipe for
SAPPRD\pipe\SAPPRD_01 Failed, Extended Error #2

D:\usr\sap\PRD\SYS\exe\run\sapntwaitforhalt.exe=>sapparam(1c): No Profile used.

running D:\usr\sap\PRD\SYS\exe\run\sapsrvkill.exe SAPPRD_PRD_01

running D:\usr\sap\PRD\SYS\exe\run\sapntwaitforhalt.exe name=PRD nr=01 SAPDIAHOST=SAPPRD 3600

Can anyone help?

Regards,

Lim

Accepted Solutions (1)

Accepted Solutions (1)

former_member189546
Active Contributor
0 Kudos

Hello,

Please try uninstalling and reinstalling the service

as explained in the following Note(Point 3):

142100 - NT: Problems with new SAP service as of Rel. 4.5B

CreateNamedPipe for
sapbon1s57\pipe\SAPT02_00 Failed,

Point 3 of this

You should uninstall the service by selecting:

'Uninstall Service + Unregister COM Interface'

Then reinstall the service by:

'Install Service + Register COM Interface + Start Service'

Make sure that you have called SAPSTARTSRV.EXE from a command prompt

from within the usr\sap\<SID>\kernel directory ! The startup user

should be <domain>\SAPService<SID>.

Also check you have up to date version of

sapntwaitforhalt.exe

regards,

John Feely

Former Member
0 Kudos

Thanks John. After reinstalling the SAP service as suggested, the problem is resolved.

Rdgs,

Lim

Answers (1)

Answers (1)

markus_doehr2
Active Contributor
0 Kudos

Check if the Windows event log reveals any more information.

Markus

former_member204746
Active Contributor
0 Kudos

there is something strange:

running D:\usr\sap\PRD\SYS\exe\run\sapntwaitforhalt.exe name=PRD nr=01 SAPDIAHOST=SAPPRD 3600

what is really your system number. check the exact name of your SAP system service name.

Edited by: Eric Brunelle on Jun 10, 2011 6:38 PM

Former Member
0 Kudos

Hi Markus,

There is not Windows event entry when I run the stopsap command.

Rdgs

Former Member
0 Kudos

Hi Markus,

There is no Windows event entry when I run the stopsap command.

Rdgs

Former Member
0 Kudos

Hi Eric,

The service name is SAPPRD_01. The SAP system number is 01.

Rdgs