NetWorker:如何使用 pkgcore 生成核心转储捆绑包

Summary: 本知识库文章概述了如何在 Linux 系统上收集和使用 pkgcore 实用程序。本知识库文章适用于在遇到针对核心转储相关问题的服务请求时使用。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

The pkgcore 实用程序可从以下位置下载:https://central.dell.com/solutions/Networker-Tools

PKGCore.zip包括 pkgcore 适用于 Linux、HP-UX 和 Solaris。 
 NetWorker (Linux):如何将文件复制到 Linux NetWorker 服务器/从 Linux 服务器复制文件。

一般使用说明。

1.Copy linux_pkgcore.sh 到您想要调试的核心文件所在的 Linux 计算机。
2.运行: 
linux_pkgcore.sh output_file_name /path/to/core_file /path/to/binary
示例: 
pkgcore.sh LGTsc12345 /nsr/cores/nsrd/core.#### /usr/sbin/nsrd
注意: HP 或 Solaris 系统的整体语法是相同的;但是,代替 linux_pkgcore.sh, 使用 hp_pkgcore.shsolaris_pkgcore.sh 如适用。
3.获取生成的输出文件 <output file name>_corefiles.tar.gz<output file name>_libraries.tar.gz 并将这些上传到服务请求。

Additional Information

分析

1.当您打算调试核心时,解压缩计算机上同一路径中的两个输出文件。
2.如果生成核心的二进制文件为 nonstripped,将“可执行文件”符号链接链接到的二进制文件替换为未条带化的二进制文件。
3.确保 gdb 在您的系统路径中。
4.在您解压缩输出文件的目录中,运行 ./opencore

GDB:GNU 项目调试器 (sourceware.org) 此超链接会将您带往 Dell Technologies 之外的网站。

GDB 是 NetWorker 未附带的第三方工具,由系统管理员来安装此实用程序并将其配置为系统路径的一部分。NetWorker 支持无法安装或配置软件或工具。

Affected Products

NetWorker

Products

NetWorker Family, NetWorker Series
Article Properties
Article Number: 000203762
Article Type: How To
Last Modified: 23 Jul 2026
Version:  7
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.