NetWorker: How To Use pkgcore for generating core dump bundles
Summary: This KB provides an overview on how to collect and use the pkgcore utility on Linux systems. This KB is intended for support use when encountering service requests for core dump related issues. ...
Instructions
The pkgcore utility can be downloaded from: https://central.dell.com/solutions/Networker-Tools
The PKGCore.zip includes pkgcore for Linux, HP-UX, and Solaris.
NetWorker (Linux): How to copy files to/from a Linux NetWorker server.
General Use Instructions.
linux_pkgcore.sh to a Linux machine where the core file that you would like to debug resides.
2. Run:
linux_pkgcore.sh output_file_name /path/to/core_file /path/to/binary
pkgcore.sh LGTsc12345 /nsr/cores/nsrd/core.#### /usr/sbin/nsrd
linux_pkgcore.sh, use hp_pkgcore.sh and solaris_pkgcore.sh where appropriate.
<output file name>_corefiles.tar.gz and <output file name>_libraries.tar.gz and upload these to the service request.
Additional Information
Analysis
1. Decompress both output files in the same path on the machine when you intend to debug the core.
2. If the binary that produced the core is nonstripped, replace the binary file that is linked to by the "executable" symbolic link, with a nonstripped binary.
3. Ensure that gdb is in your system path.
4. In the directory where you decompressed the output files, run ./opencore
GDB: The GNU Project Debugger (sourceware.org)
GDB is a third-party tool that is not included with NetWorker, it is up to the system administrator to install this utility and configure it as part of the system path. NetWorker support cannot install or configure software or tools.