NetWorker:執行 linux_pkgcore.sh 指令檔無法正確偵測到 NetWorker 二進位檔案

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 是連結或啟動腳本。

 

訊息詳細資料

顯示的訊息為:」Is /usr/sbin/nsrd a link or start script? Please check! Binary Executable needed as argument

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

問題的根本原因

此問題的根本原因是對 nsrd 可由 file 命令作為共享物件的可執行檔。

這種錯誤識別是由於使用了與位置無關的代碼相關的某些設置,這有時可以被視為額外的安全功能。

 

特定條件

導致此問題的特定條件包括使用 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 可執行檔本身,但檔命令無法正確識別它。

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 工程部門正在設法解決。

Affected Products

NetWorker

Products

NetWorker Family
Article Properties
Article Number: 000329028
Article Type: Solution
Last Modified: 25 أيار 2026
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.