Showing posts with label startsap. Show all posts
Showing posts with label startsap. Show all posts

Sunday, May 23, 2010

SAP Monitoring Tcode (Pt 3)

SM21 – System log


Choosing Tools-> Administration-> Monitor -> System Log or tcode SM21

SAP System logs all system errors, warnings, user lock due to failed login attempts from known user, and process messages in the system log.







Troubleshoot on Startup Problem

Check the following to troubleshoot when the SAP can’t be started.
1. Grep for SAP work process “ps –ef |grep dw.sap” . You should see list of process shown in screen shot.

If the list of process there but still can’t login to SAP. Go to next step

2. Goto to /usr/sap//DVEBMGS01/work directory.
3. Check some of the file like dev_?? For error messages.



Saturday, May 22, 2010

Startup and Shutdown Procedure for SAP

The procedure to start and shutdown SAP is first start DB then follow by Application. When you shutdown, you must shutdown application then follow by DB. The steps given here is applicable for all SAP environment, regardless of SAP BA or SAP BW, just change the the correct environment user id.

To stop SAP, you need adm user and login to application server

Ex:

Login as bwdadm in rdmsdbwap

rdmsdbwap:bwdadm>stopsap



To shutdown Oracle, you need ora admin user.

Ex:

Login as orabwd in rdmsdbwdb (database server)

rdmsdbwdb:orabwd > sqlplus /nolog

SQL>connect /as sysdba

SQL>shutdown immediate


To start Oracle, you need ora admin user.

Login as orabwd in rdmsdbwdb (database server)

Ex:

rdmsdbwdb:orabwd > sqlplus /nolog

SQL>connect /as sysdba

SQL>startup


To start SAP, you need adm user and login to application server

Ex:

Login as bwdadm in rdmsdbwap

rdmsdbwap:bwdadm>startsap