When a program on UNIX crashes it typically leaves behind a "core" file. This file contains the state of the process when it crashed and can be used by development to pinpoint the reason for the crash. To analyze a corefile on AIX, customers need to provide both the corefile and related system and product information.
[Core information:
- corefile (compressed!)
- dbxtrace output
- errpt -a output
- javacore (text version, if applicable)
Customers should provide the corefile in compressed format (gzip, compress, etc.) along with a dbxtrace file. IBM supplies a script file called dbxtrace.sh as a diagnostics aid and this is used to create a listing of the state of all the threads that were running at the time of the crash. A copy of the script is attached. For more information, see the links to IBM's support site below.
Ex:
dbxtrace_aix.sh BIBusTKServerMain core > dbxtrace.out
For Cognos customers, there are two types of corefiles customers will see. The output of "errpt -a" provides complete details about when and how a crash occurred. If the report server process fails, the errpt information will list "BIBusTKServerMain" as the offending process. If the dispatcher or content manager process fails, it will show "java". When "java" crashes, an associated "javacore" file is also usually output. This file contains details of the threads running within the Java VM at the time of the crash.
Q: I ran dbx on the corefile to get a stack trace, is that enough?
A: No. This only captures the state of the thread that crashed. Since Cognos BI components use multiple threads, it's important to capture the state of all of the threads running at the time
of the crash.
Q: Can Cognos support run this script using the corefile?
A: The dbxtrace should always be run on the machine where the corefile occurred. Corefiles contain information that is relative to the install location and versions of installed components, including third-party libraries which can't always be duplicated at Cognos.
Cognos BI files:
- cmplst.txt
- cogserver.log files
- pogo_xxx files
In addition to the corefile, cogserver and dispatcher logfiles are important for establishing what exactly was running on the server at the time of a corefile crash. For distributed environments, these logfiles for *all* servers should be collected, since information from several servers may contain relevant information. For example, the report server logfiles will show what the report server was doing but the content manager machine
will show more about user logins and what was being accessed within the content store database. For full details, it's good to set the audit logging level at 3 (or 4 to see the specific requests being executed).
[{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Analysis Studio","Platform":[{"code":"PF002","label":"AIX"}],"Version":"10.2.1;10.2.1.1;10.2.2","Edition":"All Editions","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.