SAP BASIS Quick Troubleshooting Guide (2013)

86
SAP Basis Quick Troubleshooting A reference to BASIS Administrators

description

SAP Training quick troubleshooting guide (2013)

Transcript of SAP BASIS Quick Troubleshooting Guide (2013)

Page 1: SAP BASIS Quick Troubleshooting Guide (2013)

SAP Basis Quick Troubleshooting

A reference to BASIS Administrators

Page 2: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Contents

SAPGUI Common Problems and Architecture TCP/IP Ports used by applications SAP AS ABAP+JAVA Architecture

Start/Stop Process Profiles Location SAP System Directories Important Users Log files & location

List of error codes List of common OS commands and tasks Available Tools for Administration Support Links

Page 3: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Page 4: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Common SAPGUI Problems

SAP Excel Macro Settings

SAPGUI Technical Infrastructure

SAPGUI Family and Architecture

SAPGUI Common Problems and Architecture

Page 5: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

TCP/IP Ports Used by Applications

TCP/IP Ports Used by Applications

SAP Communication PortsJAVA

Communication Ports

JAVA Port number tip*Use this global rule to access Java engine via browserhttp://hostname:5NN0Phttps://hostname:5NN01 Where:NN = Is the instance number, andP = is the port number described in JAVA Ports

Page 6: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

AS JAVA Ports

Page 7: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Installation Options

These are the following installation options for the SAP NetWeaver AS:

• ABAP system (with integrated VM Container). In the graphic these are the components in the blue box on the left. With this installation you can run ABAP programs and selected SAP Java applications.

• Java system. In the graphic these are the components in the green box on the right. With this installation you can run Java EE applications but not any ABAP programs.

• Dual stack system or ABAP+Java system. These are all the components in the graphic below

Page 8: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

SAP AS ABAP+JAVA Main Architecture

Page 9: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Each SAP system can have only 1 Central Instance , 1 Central Services Instance and only 1 Database instance. It can have any number of additional dialog instances

Page 10: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

SAP AS ABAP+JAVA Main Architecture

Page 11: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

In a nutshell…

• SAP Gateway carries communication from another system to another. It can be either an ABAP/Dual-Stack or a JAVA system. Works as a barricade before your physical firewall

• ICM is a service to provide WebServices to your same landscape via web over a Browser. If not enabled, SAP cannot carry communications over the Internet. Supports HTTP and HTTPS

• If you installed more than a application server which is another Dialog instance into your system for load balancing*, the Message Server determines the application server to which the SAP GUI connects.

• Enqueue Server is responsible for the Lock Management of the server.

* http://help.sap.com/saphelp_nw70/helpdata/en/c4/3a644c505211d189550000e829fbbd/content.htm

Page 12: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Lock Management (Enqueue Server)

Page 13: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

AS ABAP Architecture

Page 14: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Page 15: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Page 16: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

AS JAVA Architecture

Page 17: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Each SAP system can have only 1 Central Instance , 1 Central Services Instance and only 1 Database instance. It can have any number of additional dialog instances

Page 18: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Page 19: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Page 20: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Dual-Stack (ABAP+JAVA) Architecture

Page 21: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Page 22: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Start/Stop Process

Page 23: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Start/Stop Process

Page 24: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

STANDARD STARTUP(AS ABAP)

Page 25: SAP BASIS Quick Troubleshooting Guide (2013)

MMC <SID>Start

SAP<SID>_00(service)

right-click

send message via name-pipe

Startup Profile

strdbs.cmdmsg_server.exedisp+work.exe

DB (if not)

Message Server

Dispatcher Default Profile

Instance Profile

Start

Gateway

ICM

WPs

DB

Start

Start

Start

read

readsapstart.log

dev_ms

dev_disp

dev_rd

dev_icm

dev_w0..w<n>

alert_<SID>.log

Connect DB

Page 26: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

AS JAVA Startup

Page 28: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Page 29: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Page 30: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Page 31: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Page 32: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Dual-Stack Startup

Page 33: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Further reference…

Monitoring Start and Stop of SAP Startup &

Operation of AS JAVA

Start/Stop SAP UNIX Commands

Page 34: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Profiles location

Page 35: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Standard profile tree-structure directory

/usr/sap/<SID>

SYS

profile

Unix Only/home/<sid>admExample :/home/devadm

Common shared directory:/sapmnt/<SID>/SYS/profile

OS Alternative tip*You can access directly to profile location typing OS command cdpro using <sid>adm user

Page 36: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Overview of SAP Profiles

*Prior to SAP NetWeaver 7.3, Start profile got merged into Instance profile so only1 default profile exists per system and 1 instance profile exists per instance

Page 37: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

•UNIX• SAP Admin => <sid>adm example : devadm• SAP DB tools Admin => ora<sid> example : oradev

•Windows Server• SAP Admin/ DB tools Admin => <sid>adm

example : devadm

O.S. User for SAP Instance

sapdba orbrtools

Page 38: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

JAVA Users

Page 39: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

SAP System Directories

Page 40: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Standard SAP Directories for a Dual-Stack (ABAP+Java) System (Unicode)

Page 41: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Standard SAP Directories for Java System (Unicode)

NOTE: A Java System can only be a Unicode System

Page 42: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

SAP System Directories in DetailDirectory Description

/<sapmnt>/<SAPSID> Software and data for one SAP system

This directory and its subdirectories need to be physically shared using Network File System (NFS) and mounted for all hosts

belonging to the same SAP system. It contains the following subdirectories:

exe

This directory contains executable kernel programs. In an SAP system with distributed instances, this directory must be

shared for all hosts with the same operating system.

 Note

ABAP (Non-Unicode) + Java system only

exe contains a folder uc with a platform-specific subfolder: <sapmnt>/<SAPSID>/exe/uc/<platform>

global

This directory contains log files. In an SAP system with distributed instances, this directory must be shared for all hosts with

the same operating system.

profile

This directory contains the start and operations profiles of all instances. In an SAP system with distributed instances, this

directory must be shared for all hosts with the same operating system.

/usr/sap/trans Global transport directory for all SAP systems

The global transport directory is used by the Change and Transport System (CTS). The CTS helps you to organize

development projects in the ABAP Workbench and in Customizing, and then transport the changes between the SAP systems

in your system landscape. For more information, see Change and Transport System.

Page 43: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

/usr/sap/<SAPSID> Instance-specific data, symbolic links to the data for one system

This directory contains files for the operation of a local instance.

There is a subdirectory for each instance. Each instance directory has the name of the related instance.

o The instance name (instance ID) of the ABAP central instance is DVEBMGS<Instance_Number>, and the

instance name of an ABAP dialog instance is D<Instance_Number>. In a high-availability system, there is

also an ABAP central services instance called ASCS<Instance_Number>

This directory contains files for the operation of a local instance.

There is a subdirectory for each instance. Each instance directory has the name of the related instance.

The instance names (instance IDs) of an ABAP system are as follows:

Primary application server instance: DVEBMGS<Instance_Number>

Additional application server instance: D<Instance_Number>.

Central services instance for ABAP (ASCS):ASCS<Instance_Number>

Enqueue replication server instance (ERS): ERS<Instance_Number>

The enqueue replication server instance is only mandatory in a high-availability system.

 Example

For an SAP ABAP system with SAP system ID C11, the instances might look as follows:

Primary application server instance: DVEBMGS00

Additional application server instance: D01

Central services instance for ABAP (ASCS): ASCS02

Enqueue replication server instance (ERS): ERS03

Page 44: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

The instance names (instance IDs) of an ABAP+Java (dual-stack) system are as follows:

Primary application server instance: DVEBMGS<Instance_Number>

Additional application server instance: D<Instance_Number>.

Central services instance for ABAP (ASCS):ASCS<Instance_Number>

Central services instance for Java (SCS):SCS<Instance_Number>

Enqueue replication server instances (one for the ASCS and one for the SCS): ERS<Instance_Number>

The enqueue replication server instances are only mandatory in a high-availability system.

 Example

For an SAP ABAP+Java system with SAP system ID C11, the instances might look as follows:

Primary application server instance: DVEBMGS00 (the Java EE Engine is installed in /usr/sap/C11/DVEBMGS00/j2ee)

Additional application server instance: D01 (the Java EE Engine is installed in/usr/sap/C11/D01/j2ee)

Central services instance for ABAP (ASCS): ASCS02

Enqueue replication server instance (ERS) for the ASCS: ERS03

Central services instance for Java (SCS): SCS04

Enqueue replication server instance (ERS) for the SCS: ERS05

On a primary application server instance with SAP system ID C11 and instance name DVEBMGS00, the Java EE Engine is installed in /usr/sap/C11/DVEBMGS00/j2ee.

The instance names (instance IDs) of a Java system are as follows:

Application server instance: J<Instance_Number>

Central services instance for Java (SCS):SCS<Instance_Number>

Enqueue replication server instance: ERS<Instance_Number>

The enqueue replication server instance is only mandatory in a high-availability system.

Page 45: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

/usr/sap/<SAPSID>  

Example

The file system structure might look as follows:

On a central instance with SAP system ID C11 and instance name DVEBMGS00, the ABAP dialog instance has the

instance name D01.

o The instance name (instance ID) of the ABAP+Java central instance is DVEBMGS<Instance_Number>, the

instance name of the Java central services instance is SCS<Instance_Number>, and the instance name of

an ABAP+Java dialog instance is D<Instance_Number>. In a high-availability system, there is also an

ABAP central services instance called ASCS<Instance_Number>

 Example

The file system structure might look as follows:

On a central instance with SAP system ID C11 and instance name DVEBMGS00, the J2EE Engine is installed

in /usr/sap/C11/DVEBMGS00/j2ee, and the corresponding Software Delivery Manager (SDM) is installed

in /usr/sap/C11/JC00/SDM

On a dialog instance with instance name D01, the J2EE Engine is installed in/usr/sap/C11/D01/j2ee. No

SDM is installed.

 Note

The subfolder SDM is only available for the central instance.

 Example

For an SAP Java system with SAP system ID C11, the instances might look as follows:

(Primary) application server instance: J00 (the Java EE Engine is installed in /usr/sap/C11/J00/j2ee)

(Additional) application server instance: J01 (the Java EE Engine is installed in/usr/sap/C11/J01/j2ee)

Central services instance for Java (SCS): SCS02

Enqueue replication server instance (ERS) for the SCS: ERS03}

Page 46: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

/usr/sap/<SAPSID> o The instance name (instance ID) of the Java central instance is JC<Instance_Number>, the instance

name of a Java dialog instance is J<Instance_Number>, and the instance name of the Java central

services instance is SCS<No>.

The instance name (instance ID) of the central instance is JC<Instance_Number>, the instance name of a

Java dialog instance is J<Instance_Number>, and the instance name of the Java central services instance

is SCS<Instance_Number>.

 Example

The file system structure might look as follows:

On a central instance with SAP system ID C11 and instance name JC00, the J2EE Engine is installed

in /usr/sap/C11/JC00/j2ee, and the corresponding SDM is installed in/usr/sap/C11/JC00/SDM.

On a dialog instance with instance name J01, the J2EE Engine is installed in /usr/sap/C11/J01/j2ee. No

SDM is installed.

The directory /usr/sap/<SAPSID>/SYS contains soft links to appropriate directories

in /<sapmnt>/<SAPSID>/ for storing data used by several instances.

SYS is logically shared and available on each host of the SAP system. Its subdirectories contain symbolic links to the

corresponding subdirectories of /<sapmnt>/<SAPSID> on the SAP global host, as shown in the figures above.

Whenever a local instance is started, the sapcpe program checks the executables against those in the logically shared

directories and, if necessary, replicates them to the local instance.

For more information about sapcpe, see Program sapcpe.

Executables located in/usr/sap/<SAPSID>/SYS/exe/run are replicated by sapcpe to the exe subdirectory of the

instance directories.

Page 47: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Log files & location

Page 48: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Log file types

There are only two types of log files for

troubleshooting problems:

• Developer traces (dev_*)• Standalone (SLOG*) log files, retrieved

ONLY from ABAP-managed systems

Page 49: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

STDERR1: Information about the start process of the database system.STDERR2: Information about the start process of the message server.STDERR3: Information about the start process of the dispatcher.

Page 50: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Developer TracesComponent File Name Dispatcher dev_disp Web Disptacher dev_wdisp Work Process dev_w<n> n is the range from 0 to one less the number of work processes.

Dynp (screen processor) dev_dy<n> Roll dev_ro<n> Paging dev_pg<n> DB interface dev_db<n> ABAP processor dev_ab<n> Enqueue (lock) dev_eq<n> Logging dev_lg<n> Spool dev_w Message server dev_ms<n> SAPGUI (presentation) dev_st<logon name> APPC-server (CPIC gateway) dev_appc RFC (Remote Function Call) facility dev_rfc, dev_rfc<n>

dev_rfc traces RFC calls to external functions (written in C or Visual Basic).dev_rfc<n> traces RFC calls that are executed in R/3 work processes. <n> is the number of the work process in the server (as shown above). A work process uses the same log file across RFC calls.

Note: The dev_rfc<n> traces are also traced on the external RFC server. Gateway dev_rd R3trans and tp transport programs dev_tp Monitoring infrastructure (test mode only) dev_moni

In normal operation, you will not see this file. It is used only by test tools of the monitoring infrastructure. It therefore appears only if the test tools must be activated during a support session.

Startup (sapstart) dev_sapstart

Page 51: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

The following criteria are available:

Developer Traces (cont’d)

• TRACE=0: No trace

• TRACE=1: Write error messages in the trace file.

• TRACE=2: Full trace. The trace entries that are actually written can vary with the SAP program that is being traced.

• TRACE=3: Additionally, trace data blocks.

Page 52: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Error and System Log Entries in Trace Files

• In the files, lines that contain error information begin with *** ERROR =>. Lines for which system log entries are written start with *** LOG <message ID>.

• An "error line" contains the name of the calling function, the operation that failed, the error number from the host system (if a system call is involved), and the name of and line in the C module that failed.

Page 53: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Component Abbreviation in Trace File Component (Selection using SM50 or SM04) M Task handler A ABAP Processor Y Screen Processor X Extended memory E Lock management (enqueue) I IPC (inter process communication) S Print (spool) N Security T Debug system L Background B Database C Database (DBSL) P Paging R Rolling D Diag processor

Error and System Log Entries in Trace Files (cont’d)

Page 54: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Displaying trace files

From SAP:• Choose transaction ST11. Here, you see all the trace files in

the work directory. Double-click on a file to display there. If you want to save a file locally, choose System List  Save  Local file.

• The following trace types have their own transactions.

From the operating system:

/usr/sap/<SYSTEM ID>/<INSTANCE>/work

Replace <INSTANCE> with the following:

DVEBMGS## = If for ABAP Instance

JC## = If for JAVA Dialog Instance

Page 55: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Component Transaction More Information

Work process SM50 Displaying and Controlling Work Processes

Gateway SMGW Using SAP Gateway in SAP System

Message server SMMS Message Server Monitor

ICM SMICM Monitoring the ICM with the ICM Monitor

SAP Web Dispatcher You can now use the Web Administration Interface.

SAP Web Dispatcher

You can also download the trace files onto your local computer. To do this use the ABAP report RSMON000_DOWNLOAD_TRACES. For more information see Downloading Trace Files.

Displaying trace files (cont’d)

Page 56: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

The System Log (SLOG)

The System Log • The SAP System logs all system errors, warnings, user locks due to

failed logon attempts from known users, and process messages in the system log. There are to two different types of logs created by the system log:– Local Logs– Central Logs

• Use transaction SM21 to access the system log output screen. With this transaction, you can read any of the messages that are contained in the system logs. You can modify the view to meet your needs.

Page 57: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

The System Log (cont’d)

Local Logs• Each SAP System application server has a local log that receives all the

messages output by this server. The system log records these messages in a circular file on the server. When this log file reaches the maximum permissible length, the system log overwrites it, starting over from the beginning. (The location of the local log is specified in the rslg/local/file profile parameter.)

Central Logs• We recommend that you also maintain a central log file on a selected application

server. Each individual application server then sends its local log messages to this server. The server that you designate to maintain the central log collects the messages from the other application servers and writes these messages to the central log.

• The central log consists of two files: the active file and the old file. (The location of the active file is specified in the rslg/central/fileprofile parameter; the location of the old file is specified in therslg/central/old_file.)

Page 58: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

This is not a complete list. There are additional profile parameters that refer to the system logs; they all begin with rslg*. However, we do not discuss them all here. You can use the transaction RZ11 to access the rest of the parameters.

Profile Parameters and File Locations

The table below shows some of the profile parameters for the system log along with their standard values:

 Profile Parameters and File Locations for the System Log  

rslg/local/file Specifies the location of the local log on the application server.

/usr/sap/<SID>/D20/log/SLOG<SAP-instance_number>

rslg/collect_daemon/host Specifies the application server that maintains the central log.

<hostname of main instance>

rslg/central/file Specifies the location of the active file for the central log on the application server.

/usr/sap/<SID>/SYS/global/SLOGJ

rslg/central/old_file Specifies the location of the old file for the central log on the application server.

/usr/sap/<SID>/SYS/global/SLOGJO

rslg/max_diskspace_local Specifies the maximum length of the local log. 500,000 bytes

rslg/max_diskspace_central Specifies the maximum length of the central log. 2,000,000 bytes

Page 59: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Log Location

Page 60: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Trace files

/usr/sap/<SYSTEM ID>/<INSTANCE>/work

System log files (ABAP-managed only)

/usr/sap/<SID>/DVEBMGS##/log/ or /usr/sap/<SID>/D##/log/

Replace <INSTANCE> with the following:

• DVEBMGS## = If for ABAP Instance• JC## = If for JAVA Dialog Instance(application server in the same instance)

D## represents Dialog Instance ## represents instance no.

Page 61: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

JAVA-Managed Systems

Page 62: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

JAVA-Managed Systems

Java Managed Systems

Page 63: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Developer traces

Structure

dev_jcontrol

The trace file of the JControl process.

JControl is responsible for starting, stopping and controlling the processes of the J2EE instance.

Use the dev_jcontrol trace file when you have problems starting or stopping the whole J2EE instance.

We recommend that you always check the end of this file for error messages regarding the startup of JControl.

dev_<component name>

The trace file of the corresponding JLaunch process (the <component name> can be bootstrap, bootstrap_<cluster_element_ID>, dispatcher, server<n>, sdm, jcmon, or icm). For example, the trace file for the bootstrap process is dev_bootstrap.

std_<component name>.out

The standard and error output file of the corresponding JLaunch process (the <component name> can be bootstrap, bootstrap_<cluster_element_ID>, dispatcher, server<n>, sdm, or icm). For example, the output file for the bootstrap process is std_bootstrap.out. Output and error messages from the Java VM are written to this file.

jvm_<component name>.outThe standard and error output file of the JVM running the corresponding JLaunch process (the <component name> can be bootstrap, bootstrap_<cluster_element_ID>, dispatcher, server<n>, sdm, or icm). For example, the output file for the JVM running the bootstrap process is jvm_bootstrap.out.

Java Managed Systems

Page 64: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Types of log and trace filesStartup and control framework logs

• Contain information about the startup process. You can check these files if errors or undesired behavior occur during the startup process. By default, the data from the last three restarts is kept.

• The developer trace files and system output of all the executables belonging to an instance are located in the directory \usr\sap\<SID>\<instance name>\work, where <SID> is the system ID (for example, CE1) and <instance name> is the instance name (for example, JC00 or SCS01).

AS Java logs• The log and trace files generated by the AS Java process(es) and

the applications running on top of AS Java are stored in the usr\sap\<SID>\<instance name>\j2ee\cluster\server<n>\log directory.

Java Managed Systems

Page 65: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Log Location

Java Managed Systems

Page 66: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Trace files

/usr/sap/<SYSTEM ID>/JC##/work

Visual Administrator trace files

/usr/sap/<SYSTEM ID>/JC##/j2ee/admin/log

Log viewer* files

/usr/sap/<SID>/JC<Instance number>/j2ee/admin

JC## represents Dialog Instance ## represents instance no.

Page 67: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

List of error codes(General)

Page 68: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

SAP Error CodesList of CPIC Error

Codes

List of common error codes

Top 10 ABAP Dumps

MESSAGE_TYPE_X Meaning

Page 69: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

List of common OS Commands and tasks

Guia rapida editor de vi (UNIX)

BASIS Common Tasks

UNIX Common OS Commands (SAP)

SAP BASIS FAQ

Page 70: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Page 71: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Available tools for administration** Always remember that for Windows administration, you can always use SAP Management Console (MMC) **

SAP Web AS Tools

Connecting to the J2EE Engine

Difference configtool and visual admin

AS JAVA ToolsJCMON (launched from command

shell)SAP Netweaver Administrator

(Web-only)Visual administratorConfig toolShell consoleABAP Transaction SMICM (if dual-

stack system)

Page 72: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

SAP Microsoft Management Console (Windows)

• The SAP Microsoft Management Console (SAP MMC) provides a common framework for system management. It integrates previously separate tools in a common user interface for centralized system management. Although the SAP MMC itself does not offer any management functionality, it provides an environment for incorporating and accessing management tools. Tools are integrated in the SAP MMC with snap-ins for standardized access to functions.

• SAP has developed the SAP Systems Manager snap-in let you monitor, start or stop the SAP system centrally from the SAP MMC. SAP recommends you to use the SAP MMC because it simplifies system administration and provides many new features.

You can use the SAP MMC for both ABAP and Java systems. If you use a Java system you can ignore references to ABAP. If you use an ABAP system you can ignore references to Java.

Page 73: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Features

The SAP MMC offers the following features:

• You can monitor and control any number of SAP systems and application servers and ITS instances with a single tool if they are running on Windows. As of SAP NetWeaver 7.0, you can also monitor SAP instances running on different platforms.

• Once you have configured the console, you can save the configuration in a file and easily forward it to other users.

• The dual DCOM interface ISAPControl of the start service and IITSWatchdog of the ITS watchdog service let a third party use the functionality - for example from C, Java or Visual Basic - and let you integrate it into your own tools or scripts without having to use proprietary SAP mechanisms.

• The start service is available on all platforms and offers a new Web service interface, called SAPControl with better control and monitor capabilities. Some of the new snap-in features require the new Web service interface. You can access the Web service interface in your own applications from a Web service-enabled programming environment like C, Java, ABAP or .NET. The old ISAPControl DCOM interface has become obsolete but is still supported under Windows.

Page 74: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

The SAP MMC lets you to:Display all SAP trace files, start profile, instance parameters, the system environment and SAP environmentDisplay the most serious alerts in the alert tree (ABAP transaction RZ20)Display the current status tree (ABAP transaction RZ20)Display and acknowledge current alerts (ABAP transaction RZ20)Display the SAP syslog for a functioning, offline, or malfunctioning SAP system (ABAP transaction SM21)Display the ABAP work process overview (ABAP transaction SM50)Display the ABAP and ICM queue statistics (dpmon)Display Application Server Java (AS Java) processes, caches, threads, web sessions, EJB sessions, remote objects, application aliases, and shared memory tablesDisplay Java virtual machine garbage collection and heap memory information of the Application Server JavaDisplay ICM threads, connections, caches and proxy connectionsStart or stop one or all application servers of a system with a mouse-click. You can restart service without having to restart the App ServerLog on to an application serverStart analysis tools in the SAP system for nodes in the alert treeControl Java or ABAP processesModify dynamic profile parametersRemove enqueue locks manuallyCreate compressed instance or system snapshots for offline problem analysis and problem reportingStart the following third-party tools, if available, to manage an application server or ITS instance:

o Telneto SSH cliento Windows Terminal Server Cliento pcANYWHEREo Computer Management snap-in

Features (cont’d)

Page 75: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Further documentation•The following SAP Notes provide additional information:.

Note number Title

927637 Web service authentication in sapstartsrv as of Release 7.00

936273 sapstartsrv for all platforms

995116 Backward porting of sapstartsrv for earlier releases

823941 SAP start service on Unix platforms

TroubleshootingSAP recommends you to first check the SAP Notes 877795 and 142100 for potential problems

Page 76: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

AS JAVA Tools

Page 77: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

AS JAVA Tools

JCMON (launched from command shell) SAP Netweaver Administrator (Web-only) Visual administrator Config tool Shell console ABAP Transaction SMICM (if dual-stack

system)

Page 78: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Page 79: SAP BASIS Quick Troubleshooting Guide (2013)

Return to IndexUse Path: \usr\sap\<SID>\<J2EE Instance>\j2ee\configtool\configtool.bat

Page 80: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Page 81: SAP BASIS Quick Troubleshooting Guide (2013)

Return to IndexUse Path: http://hostname:5NN0P/nwa

Page 82: SAP BASIS Quick Troubleshooting Guide (2013)

Return to IndexUse Path: \usr\sap\<SID>\<J2EE Instance>\j2ee\admin\go.bat

Page 83: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Page 84: SAP BASIS Quick Troubleshooting Guide (2013)

Return to Index

Start/Stopping JAVA-Stack using SMICM Transaction

Page 85: SAP BASIS Quick Troubleshooting Guide (2013)

Support Links

Solution ManagerMain Page

Security Quick Guide

http://service.sap.com/solutionmanagerhttp://wiki.sdn.sap.com/wiki/display/SMAUTH/Home

Solution Manager Main Page

Solution Manager Security and Authorizations Guide

SAP Market Place Links

SAP Library – NetWeaver http://help.sap.com/netweaver SAP Library Main Page for NW 7.0 and up

License Auditing http://service.sap.com/licenseauditing Find information about the License Measurement Process

Connect to SAP http://service.sap.com/remoteconnection Open the OSS connection with SAP and find more information about it

Inbox http://service.sap.com/inbox  Read messages from SAP to you

Installation Guides http://service.sap.com/instguides Download SAP product installation guides

Product Availability Matrix http://service.sap.com/pam Find minimum requirements needed to install SAP Software

EhP’s for SAP ERP (ECC) http://www.service.sap.com/erp-ehp Find Information on SAP ERP Enhancement Packages Easily

License Keys          http://service.sap.com/licensekey   Request New Permanent License Key

Oracle DBA Page  http://service.sap.com/dbaora  Page for Oracle DBA MaterialOSS Notes             http://service.sap.com/notes         Search the SAP Notes DatabasePatches                     http://service.sap.com/patches   Download SAP software patchesSAP GUI http://www.sdn.sap.com/irj/sdn/sap-gui SAP GUI SDN Wiki

1. SAP Community Network (SCN) http://scn.sap.com2. SAP Help Portal. http://help.sap.com

Page 86: SAP BASIS Quick Troubleshooting Guide (2013)

SAPRouter

Install SAPCrypto

http://service.sap.com/saprouter

http://service.sap.com/saprouter-sncdoc

How to Configure the SAPRouter How to install SAPCrypto Libraries

Security Notes http://service.sap.com/securitynotes Apply relevant security-related HotNews and Notes.

To display a list of relevant security-related Notes run RSECNOTE in transaction ST13

Software Distribution       http://service.sap.com/swdc   Download new images of Installation CDs & DVDs

SSCR                  http://service.sap.com/sscr        Register Developers and Changes made against SAP objects

User Administration   http://service.sap.com/user-admin      Add/Change OSS ID user information

Support Links