IBM - MustGather: Crash on AIX

来源:百度文库 编辑:神马文学网 时间:2024/07/08 14:51:36
MustGather: Crash on AIX
 Technote (FAQ)
Problem
MustGather for problems with a WebSphere® Application Server crash on the AIX® platform. Gathering this information before calling IBM support will help familiarize you with the troubleshooting process and save you time.
Solution
If you have already contacted support, continue on to the component-specific MustGather information. Otherwise, click:MustGather: Read first for all WebSphere Application Server products.
Crash on AIX specific MustGather information
For a WebSphere Application Server crash on the AIX platform, a core file is produced. This file is located in the install_root/bin directory or the operating_system_root/tmp directory.
If a core file is not found, seeMustGather: Crash on AIX produces no core or truncated core.
Otherwise, perform the following steps: Rename the core file so that it is not overwritten by another failure of programs or tools.
Enter the following command:
errpt -a > errpt.out

Enter the following command:
./dbxtrace_aix.sh [executable] [core_file_name] >dbxtrace.out

Where:
[executable] is usr/WebSphere/AppServer/java/jre/bin/java
[core_file_name] is the core file
dbxtrace.out is changed for each core file
Enter the following command:
kca -j[N] [core_file_name] -d > kca.out

Where: -j[N] Specifies the version of Java™ that was used by the process that generated the core file as follows
-j2 is Java 1.2.2 (WebSphere Application Server V3.5)
-j3 is Java 1.3.0 (WebSphere Application Server V4.0.1 and 4.0.2)
-j4 is Java 1.3.1 (WebSphere Application Server V4.0.3+ and V5.0)
-j5 is Java 1.4.X (WebSphere Application Server V5.1 and higher)
Enter the following command:
./getlib.sh java_executable_fullpath core_filename
Note: Creates getlib_archive.tar.Z. Must have dbx installed to run this command.
Enter the following command:
tar cvf core_file_name.tar core_file_name
Note: Creates core_file_name.tar.
Enter the following command:
./jextract -o core.sdff [CORE_PATH]
Where:
jextract
is found in the install_root/java/jre/bin directory

core.sdff
is the output file

[CORE_PATH]
is the path and file name for the core file
Send the following files to IBM Support: All javacore.txt files All dbxtrace.out files All standard data file format (SDFF) files errpt.out All kca.out files All getlib_archive.tar.Z files All core.tar files For releases of V6.0: All files in the following directory:
install_root/profiles/profile_name/logs/server_name
A copy of server.xml located in the following directory:
install_root/profiles/profile_name/config/cells/
cell_name/nodes/node_name/servers/server_name
For releases of V5.0 and V5.1: Include all of the files from the following directory:
install_root\logs\server_name
A copy of server.xml located at the following directory:
install_root/config/cells/cell_name/nodes/
node_name/servers/server_name
For releases of V3.5 and V4.0: Include all of the files from the following directory:
install_root/logs
A copy of XMLExport for the server configuration
Note: For all versions, if you have configured the application server to write logs into a different location, send them accordingly.
Follow instructions tosend diagnostic information to IBM support.
Notes: See the attached scripts dbxtrace_aix.sh and getlib.sh. kca is attached in compressed file kca_108_aix32.tar.gz. To run the dbxtrace_aix.sh file or getlib.sh, you must have the dbx component of AIX installed on the machine.
Disclaimers for the dbxtrace_aix.sh, getlib.sh, and kca.
IBM LICENSES THE DOWNLOAD TO YOU ON AN "AS IS" BASIS, WITHOUT ANY WARRANTIES (EXPRESS OR IMPLIED), INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OR CONDITIONS OF MERCHANTABILITY, QUALITY, PERFORMANCE OR FITNESS FOR ANY PARTICULAR PURPOSE.
For a listing of all technotes, downloads, and educational materials specific to the Crash component, search theWebSphere Application Server support site.
Related information
MustGather: Crash on AIX produces no core or truncated
Submitting information to IBM support
Steps to getting support
MustGather: Readme first
Troubleshooting guide