What is required in order to troubleshoot a core dump issue with the System p agents?
When any of the System p agents core dump, a snapcore is necessary for troubleshooting the problem. A snapcore file collects the core file, the binary which dumped the core, errpt report, and the operating environment ( libraries, etc).
In order to create a snapcore file, run the following command:
# snapcore <core file name> <program name>
<core file name> ---> complete path to the core file
<program name> ---> complete path to the program which dumped the core
The program which dumped the core can be found out using the following command:
# file <core file name>
# file /opt/IBM/ITM/bin/pxcore
/opt/IBM/ITM/bin/pxcore: AIX core file fulldump 32-bit, aixDataProvider
So, above "aixDataProvider" is the binary that dumped the core.
Note: A full core is usually required in order to troubleshoot the problem.
To check if the system is enabled to capture a full core, run the command
# lsattr -El sys0 -a fullcore
If the command output shows that the full core is set to false, change it to true running the following command as root user:
#chdev -l sys0 -a fullcore=true
Also, ensure that ulimit -c and ulimit -f are high enough for the core file to be created:
# ulimit -c unlimited
# ulimit -f unlimited