Professional Documents
Culture Documents
Syslog
Syslog
Syslog
1
Course Content
(current Highlighted)
Debugger II Updates
Syslog
2
Unit Objectives
3
System log
/h
sm13
Which tool is a
good starting point ?
ST22
The syslog is very helpful if you want to check the general situation of the system, which
errors occur in the surrounding of the real error.
With which error all the trouble began ?
4
System log - Information
Keep in mind:
The normal (local) syslog only shows
the errors on the current server !!
Update or batch errors may occur only on special
server with update and batch workprocesses!
System messages are logged in a single circular file on a server. When this log file reaches
the maximum allowable size, the system starts overwriting the file from the beginning.
Types:
If the R/3 system runs on UNIX hosts there are two types of logs:
Local: Each R/3 application server has a local log that contains messages generated by that server.
Central: Each application server also copies its local log entries to a central log.
On Windows NT and AS/400 hosts, only local logs (one per application server) are kept.
These logs are not collected into a central log.
Accuracy:
Local log file: Always up to date
Central log file: There can be brief delays between when the system records a message
in a local log and when the same message is written in the central log
5
System log - Information
Cl.: Client
A ‘>’ sign in the text line means that the lines belongs together.
6
System log - Information
Get the application server and the workprocess number. Via transaction ST11 you can
access the dev-trace files (In our case dev_w1)
Problem classes
K = Kernel messages
S = Status messages
T = Transaction messages
W = Warnings
X = Other types of messages
If you have to deal with aborted work processes, signals or other kernel failures please get
the responsible C-file -> with the file prefix it’s possible to forward the problem to the right
component
7
Logs About Special User Actions
This is only a short extract of sys log entries caused by user actions.
For example the generation/touch tool TOUCHALL issues the following syslog message:
“User GEBHARDT forced re-generation of all ABAP programs”...
8
System log - Update Termination
If you receive an express mail ‘Update terminated’ then get the error reason from the
syslog or the update records (SM13).
With these info you can access the detailed error analysis
-> Find the terminating error message in the mentioned update module
(Z_UPD_SAPLANE_V1_NOWHILE_ERR) and find out more details from SE91
9
SE92 - Syslog Message
10
Exercise: Flight Data Update
Save data
You will receive an info message and after that an express mail
11
Exercise - Solution
Double-
click
12
Exercise - Solution
Based on the information, that a message AT108 was the reason for the problem, we can
check the transaction SE91 to see when this message is output.
However, in this example this does not help, because the affected message has not been
registered in SE91 (and is therefore not in table T100).
Therefore in this case it is necessary to check the update terminations, to get further
information.
13
Exercise - Solution
Normally an A-message is used to display an error. In this case the message is given if the
update works! This is the bug.
14
Summary
15
Copyright 2009 SAP AG
All Rights Reserved
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein
may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation.
IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iSeries, pSeries, xSeries, zSeries,
eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+,
POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex,
MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation.
Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.
Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other
countries.
Oracle is a registered trademark of Oracle Corporation.
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc.
HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology.
Java is a registered trademark of Sun Microsystems, Inc.
JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape.
SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned herein as well as their respective logos
are trademarks or registered trademarks of SAP AG in Germany and other countries.
Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and
services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects S.A. in the United States and in other countries.
Business Objects is an SAP company.
All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only.
National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only,
without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group
products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed
as constituting an additional warrant.
16