Entering content frame

 Log Files 

Each database instance saves the log files listed in the following table to its run directory and subdirectories. These files belong to various file classes.

File Name (File ID)

File Class

File Content

knldiag (KNLDIAG)

protocol

Current kernel log

This file is created each time the database instance is started. It is given the size specified in the special database parameter KERNELDIAGSIZE.

All messages from the running database are overwritten cyclically. One exception to this are messages relating to starting the database in the operational state ADMIN.

knldiag.old (KNLDIAGOLD)

protocol

Last kernel log

Each time the database instance is started, the file knldiag is renamed as knldiag.old.

knldiag.err (KNLDIAGERR)

protocol

Kernel error messages

This file is not overwritten. New error messages are added to the end of the file.

knldiag.evt
(KNLEVT)

protocol

Log of database events

knltrace (KNLTRC)

dump

Log file of the database trace

This file can also contain information about the causes of crashes. This file is initialized each time the database instance is started.

<database_name>.prt (KNLTRCPRT)

protocol

Text version of database trace

knldump (KNLDUMP)

dump

Backup of the main memory information after a database crash

rtedump (RTEDUMP)

dump

Memory dump from runtime environment of database instance

<database_name>.pah (DBMPAHI)

protocol

History of the database parameters

These files belong to the SAP liveCache database instance type (only in SAP systems):

lcinit.log

Start or initialization of SAP liveCache with CCMS functions from the SAP system

lcinit.his

History of all liveCache actions

Information from the log lcinit.log is attached to this history.

lc<token>

Log of SAP liveCache activities

The log files of the Database Manager are also located in the run directory of the database instance.

Loaders and X Servers save their log files (loader.prt and xserver.prt) to the directory <independent_data_path>/wrk, independently of the instance (see also Loader Log File). The installation and update of the database software is also logged in this directory.

You can specify the directory for the log files of the Database Analyzer when you start the Analyzer.

 

 

Leaving content frame