Documente Academic
Documente Profesional
Documente Cultură
Table of contents
Table of contents Instance log files Location Log files Lifecycle
Processes and log files SAPStart service Location Log files Startup framework Location Log files Bootstrap Location Log files Offline deploy Location Log files Data collector (former Flight recorder) Location Log files Server Location Log files
/usr/sap/<SID>/JC<XX>/work for Java Central instance (deprecated) /usr/sap/<SID>/J<XX>/work for Java Central or Dialog instance /usr/sap/<SID>/DVEBMGS<XX>/work - for ABAP/DoubleStack Central instance /usr/sap/<SID>/D<XX>/work - for ABAP/DoubleStack Dialog instance
Log files
The following log files can be distinguished:
Files starting with std_ Log files from the standard output of the processes. In this file you may find the output produced by System.out
Files starting with jvm_ The file may contain JVM error messages. Files starting with dev_ The file may contain information about the exit code of the processes. stderr2 Redirect out/err before start of framework dev_jstart Developer trace of the JStart controller
Startup Framework trace files Bootstrap log files Service Manager log files Cluster Manager log files
Lifecycle
The log files are rotated on instance start. All log files have three instances - a current one (from the latest start) and two backups. *std_* and jvm_** The log file from the current start has out extension. There are two backup files from previous starts ending on ou0 and ou1. *dev_** The current instance has no extension. The backup files have *.0_ and *.1_' extensions.
/usr/sap/<SID>/JC<XX>/work for Java Central instance (deprecated) /usr/sap/<SID>/J<XX>/work for Java Central or Dialog instance /usr/sap/<SID>/DVEBMGS<XX>/work - for ABAP/DoubleStack Central instance /usr/sap/<SID>/D<XX>/work - for ABAP/DoubleStack Dialog instance
Log files
The most important log files produced by the Java server
defaultTrace_.trc* Traces from the server processes, intended for developer's (and debug) use. server_.log* Located in log-server folder. Targeted to system administrators. The file contains entries for serious problems
Lifecycle
The log files are rotating. A new log file is created when the current one reach a certain size. The log files have several instances and when the number of instances is exhausted the old logs are overwritten. The configuration of the log files is stored as metadata header in every file:
<!--LOGHEADER[START]/--> <!--HELP[Manual modification of the header may cause parsing problem!]/--> <!--LOGGINGVERSION[1.5.7.1006]/-->
<!--NAME[..\..\work\log_bootstrap.log]/--> <!--PATTERN[log_bootstrap.log]/--> <!--FORMATTER[com.sap.tc.logging.TraceFormatter([%24d] %m)]/--> <!--ENCODING[UTF8]/--> <!--FILESET[0, 3, 5242880]/--> <!--PREVIOUSFILE[log_bootstrap.2.log]/--> <!--NEXTFILE[log_bootstrap.1.log]/--> <!--LOGHEADER[END]/-->
From the header above it is visible that the file set consists of 3 files with size ~5MB each. One can see also the next and previous file in the file set. The following log files should be present if the server is up&running:
defaultTrace_00.0.trc server_00.0.log
/usr/sap/<SID>/JC<XX>/work for Java Central instance (deprecated) /usr/sap/<SID>/J<XX>/work for Java Central or Dialog instance /usr/sap/<SID>/DVEBMGS<XX>/work - for ABAP/DoubleStack Central instance /usr/sap/<SID>/D<XX>/work - for ABAP/DoubleStack Dialog instance
Log files
sapstart.env Environmental data sapstart.log Log messages from the startup process sapstart.old Backup log file from the previous startup sapstartsrv.log General logs
Startup framework
Location
The logs can be found in these locations:
/usr/sap/<SID>/J<XX>/work for Java Central or Dialog instance /usr/sap/<SID>/DVEBMGS<XX>/work - for ABAP/DoubleStack Central instance /usr/sap/<SID>/D<XX>/work - for ABAP/DoubleStack Dialog instance
Log files
dej_jstart Log messages containing JStart flow information dev_jstart.0, dev_jstart.1 Backup log files from the previous startups dev_* Log files containing information about the startup of different processes Example: dev_server0 is log file containing startup flow information about the first server node.
dev_.0, dev_.1 Old startup flow log files for different processes
Bootstrap
Location
The logs can be found in these locations:
/usr/sap/<SID>/JC<XX>/work for Java Central instance (deprecated) /usr/sap/<SID>/J<XX>/work for Java Central or Dialog instance /usr/sap/<SID>/DVEBMGS<XX>/work - for ABAP/DoubleStack Central instance /usr/sap/<SID>/D<XX>/work - for ABAP/DoubleStack Dialog instance
Log files
dev_bootstrap Contains Startup Framework flow entries dev_bootstrap.0, dev_bootstrap.1 Old files containing Startup Framework flow entries from previous starts log_bootstrap..log* Rotating log files of the bootstrap process std_bootstrap.out The files contain the redirected output of Java's System.out std_bootstrap.ou0, std_bootstrap.ou1 Backup logs from previous executions of the bootstrap jvm_bootstrap.out The file contains the redirected output of the JVM jvm_bootstrap.ou0, jvm_bootstrap.ou1 Backup logs from previous executions of the bootstrap
Offline deploy
Location
The logs can be found in these locations:
/usr/sap/<SID>/JC<XX>/work for Java Central instance (deprecated) /usr/sap/<SID>/J<XX>/work for Java Central or Dialog instance /usr/sap/<SID>/DVEBMGS<XX>/work - for ABAP/DoubleStack Central instance /usr/sap/<SID>/D<XX>/work - for ABAP/DoubleStack Dialog instance
Log files
dev_deployment Log file containing Startup Framework flow entries dev_deployment.0, dev_deployment.1 Old files containing Startup Framework flow entries from previous starts log_deployment..log* Log files of the offline deploy process std_deployment.out The file contains the redirected output of Java's System.out std_deployment.ou0, std_deployment.ou1 Backup logs from previous executions of the deploy process jvm_deployment.out The file contains the redirected output of the JVM jvm_deployment.ou0, jvm_deployment.ou1 Backup logs from previous executions of the processes
/usr/sap/<SID>/JC<XX>/work for Java Central instance (deprecated) /usr/sap/<SID>/J<XX>/work for Java Central or Dialog instance /usr/sap/<SID>/DVEBMGS<XX>/work - for ABAP/DoubleStack Central instance /usr/sap/<SID>/D<XX>/work - for ABAP/DoubleStack Dialog instance
Log files
dev_flightrec Log files containing Startup Framework flow entries dev_flightrec .0, dev_flightrec .1 Old files containing Startup Framework flow entries from previous starts flightrecorder_.log* Log file of the flightrecorder. This file should NOT be present on the system since it is deleted on exit. std_flightrec .out, std_flightrec .out The files contain the redirected output of Java's System.out std_flightrec .ou0, std_flightrec .ou1 Backup logs from previous executions of the processes jvm_flightrec .out, jvm_flightrec .out The files contain the redirected output of the JVM jvm_flightrec .ou0, jvm_flightrec .ou1 Backup logs from previous executions of the processes
Server
Location
The logs of the Startup Framework and the System.out output can be found in these locations:
/usr/sap/<SID>/JC<XX>/work for Java Central instance (deprecated) /usr/sap/<SID>/J<XX>/work for Java Central or Dialog instance /usr/sap/<SID>/DVEBMGS<XX>/work - for ABAP/DoubleStack Central instance /usr/sap/<SID>/D<XX>/work - for ABAP/DoubleStack Dialog instance
/usr/sap/<SID>/JC<XX>/j2ee/cluster/server<X>/log - for Java Central instance (deprecated) /usr/sap/<SID>/J<XX>/j2ee/cluster/server<X>/log for Java Central and Dialog instances /usr/sap/<SID>/DVEBMGS<XX>/j2ee/cluster/server<X>/log - for ABAP/DoubleStack Central instance /usr/sap/<SID>/D<XX>/j2ee/cluster/server<X>/log - for DoubleStack Dialog instance
Log files
defaultTrace_.trc* Traces from the server processes, intended for developer's (and debug) use. server_.log* Located in log-server folder. Targeted to system administrators. The file contains entries for serious problems dev_server.out* Startup Framework flow logs from the server node startup dev_server.0, dev_server*.1* Old startup flow log files for different processes std_server.out* System.out output of the server processes std_server.ou0, std_server*.ou1* Backup logs from previous executions of the server node jvm_server.out* The file contains the redirected output of the JVM jvm_server.ou0, jvm_server*.ou1* Backup logs from previous executions of the processes
Labels parameters
Edit
Add Labels
http://w iki.sdn.sa
103481503
JSTSG
Labels
Are you sure you Click to toggle the