NetWorker:错误 “/usr/sbin/nsrd 是链接还是启动脚本?请检查!Binary Executable needed as argument“(需要二进制可执行文件作为参数)”运行Linux_pkgcore.sh脚本
Summary: /usr/sbin/nsrd 版本 19.12.0.1 的 NetWorker 问题(由linux_pkgcore.sh脚本标识为共享对象,而不是可执行文件,由于位置独立代码设置,将文件升级到版本 5.39 或更高版本可解决此问题。
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.
Symptoms
脚本执行失败
而 linux_pkgcore.sh 脚本无法正确执行。
脚本返回一条消息,指示它无法确定 /usr/sbin/nsrd 是链接脚本还是启动脚本。
消息详细信息
显示的消息是:“/usr/sbin/nsrd 是链接还是启动脚本?请检查!需要二进制可执行文件作为参数”
file /usr/sbin/nsrd-19.12.0.1 | grep 'ELF' /usr/sbin/nsrd-19.12.0.1: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=500dfce10db947d45391e7eb5e7eb8f850815f10, stripped
Cause
问题的根本原因
此问题的根本原因是 file 命令错误地将 nsrd 可执行文件识别为共享对象。
这种错误识别是由于使用了与位置无关代码相关的某些设置,这有时可以被视为额外的安全功能。
特定条件
导致此问题的特定条件包括使用 file 命令,这可能会导致 file 命令错误地将 nsrd 可执行文件标识为共享对象。
- 正在使用的 file 命令版本早于 5.39,这不能正确识别 nsrd 可执行文件。
- nsrd 可执行文件使用与位置无关的代码构建,这可能会导致错误识别。
错误信息
file /usr/sbin/nsrd-19.12.0.1 | grep 'ELF' /usr/sbin/nsrd-19.12.0.1: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=500dfce10db947d45391e7eb5e7eb8f850815f10, stripped
提醒:问题不在于 nsrd 可执行文件本身,而在于 file 命令无法正确识别它。
Resolution
升级文件命令
要解决此问题,请升级”file“命令更新到 5.39 或更高版本。这应该为缔约方会议提供预期结果 pkgcore 脚本。
升级步骤
请按照以下步骤升级”file' 命令:
- 检查当前版本的”
file' 命令。 - 下载并安装最新版本的”
file“命令(版本 5.39 或更高版本)。
验证解决方案
升级”file命令,通过运行”linux_pkgcore.sh' 脚本。
# Run the linux_pkgcore.sh script to verify the resolution $ ./linux_pkgcore.sh
提醒:NetWorker 工程正在研究解决方案。
Article Properties
Article Number: 000329028
Article Type: Solution
Last Modified: 08 ذو الحجة 1447
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.