cancel
Showing results for 
Search instead for 
Did you mean: 

Starting and stopping SAP in Unix

Former Member
0 Kudos

Hi,

Pls tell me the command to start and stop sap in Unix.

I dont want to start and stop the Database

Pls help

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Balaji,

<b><u>Stopping of SAP R/3</u></b>

1) Shutdown all the dialog instance

Login into dialog instance as <b>SIDadm>stopsap r/3</b>

2) Shutdown the central instance

Login into central instance as <b>SIDadm>stopsap r/3</b>

3) Shutdown database

Login as <b>oraSID>sqlplus ‘/as sysdba’</b>

<b>$shutdown</b>

4) Stop the listener

<b>OraSID>lsnrctl stop</b>

<u><b>Starting of SAP R/3</b></u>

1) Start the listener

Login as <b>oraSID>lsnrctl start</b>

2) Start the database

Login as <b>oraSID>sqlplus ‘/as sysdba’</b>

<b>$startup</b>

3) Start the central instance (CI)

Login into central instance as <b>SIDadm>startsap r3</b>

4) Start all the dialog instance

Login into dialog instance as <b>SIDadm>startsap r/3</b>

<b>Note: If you want to start and stop only SAP R/3 in Unix. Login as <SID>adm use command startsap r/3 ((Starting of SAP R/3) and stopsap r/3 (stoping of SAP R/3)</b>

regards,

kanthi

Former Member
0 Kudos

Log on in UNIX as a user with SAP administrator authorization (<sid>adm).

To start the central instance, call the shell script

startsap_<host>_<instance no> in the home directory

of the <sid>adm user. If there is only one instance for each application server, the

alias startsap points to the script startsap_<host>_<instance no>.

The script startsap first starts the saposcol process which collects statistical

data for the operating system that it provides to the SAP system.

The next step is a check to see if the database is running. If not, the script

startdb is called to start the database.

The final step starts all of the processes for the instance (message server,

dispatcher, work processes, and so on).

After the central instance is started, you can optionally start other instances.

The startsap script can be called with the following options:

DB: starts the database system

R3: starts the instances and associated processes for the instance

ALL: starts the database system and the instance (default setting, can be omitted)

To start the SAP system, the startsap script calls the sapstart process with

the start profile specified in the script in the variable START_FILES.

The stopsap script can be called with the following options:

DB: stops the database system with the help of the stopdb script

R3: stops the instances of the SAP system

ALL: stops the database system and the instance (default setting, can be

omitted)

The database can be stopped separately with database tools.

JPReyes
Active Contributor
0 Kudos

Hi Balaji,

As Joe mentioned...

Use the extension r3 at the end of the startsap/stopsap command to avoid restarting the DB...

regards

Juan

Former Member
0 Kudos

HI Balaji R,

logon as <sid>adm;

and type, >>> startsap

startsap is to start sap which start database as well.

and type, >>> stopsap

stopsap is to stopsap which will stop database and everything.

Thanks,

Former Member
0 Kudos

stopsap r3 (shuts down just the application server)

startsap (this can also be 'startsap r3')

Just make sure you stop any other dialog servers before you shut down the CI.

Hope that helps.

J. Haynes

Denver