Stopping The OS Level Service

How to stop os level service? 

This is how you could do it:

Starting and Stopping the Gateway Instance 

You check that you can start and stop the Gateway instance by running the startsap and stopsap scripts. 
 

Starting the Gateway Instance 

1. Log on as user <sapsid>adm to the Gateway host.

2. Execute the command startsap all G<XX>, where <XX> is the instance number of the Gateway. 

Example:

If the instance number is 00, then the command is startsap all G00. 

The startup log is written to /home/<sapsid>adm/startsap_GXX.log. 
 

Stopping the Gateway Instance:

1. Log on as user <sapsid>adm to the Gateway host. 

2. Execute the command stopsap all G<XX>, where< XX> is the instance number of the Gateway. 

Example:

If the instance number is 00, then the command is stopsap all G00. 

The shutdown log is written to /home/<sapsid>adm/stopsap_G<XX>.log. 

Notes:

If are in UNIX, you can also try:

Easy and dirty way : kill PID or kill -9 PID (provided you know which process to be killed) 

Hard but clean way : read your stopsap script and profile file, and figure out the command.

And

Also try: "sapcontrol -nr"

SAP BC Tips

Read also
SAP Database Startup and Shutdown

Get help for your Basis problems
Do you have a SAP Basis Question?

SAP Basis Admin Books
SAP System Administration, Security, Authorization, ALE, Performance Tuning Reference Books

SAP Basis Tips
SAP BC Tips and Basis Components Discussion Forum

Administration In SAP - Sapgui, Unix, SAP ITS, Router, Client Copy and IDES 

Main Index
SAP Basis, ABAP Programming and Other IMG Stuff

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG. 
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk. 
 The content on this site may not be reproduced or redistributed without the express written permission of 
www.erpgreat.com or the content authors.