NVE:裝置中已安裝的二進位版本與安裝的升級或匯總版本不相符

Summary: NetWorker Virtual Edition (NVE) 裝置中已安裝二進位檔案的版本與安裝的升級或匯總套裝內建版本不相符。

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

  • NetWorker Virtual Edition 裝置 (NVE) 已成功部署並執行。
  • 已安裝數個 NveUpgrade 和 NvePlatformOsRollup 套裝。
  • NetWorker Installation Manager 使用者介面會將所有 NveUpgrade 和 NvePlatformOsRollup 套裝顯示為完整。 
  • 以下命令表示已完成所有更新。
 [avi-cli --verbose localhost --password 'xxxxxxxx' --listhistory]
  • 每次更新後,系統仍會持續順利運作。 
  • 檢查二進位檔案的版本時,發現 NveUpgreade 和 NvePlatformOsRollup 套裝中的版本未生效。 
  • NVE 會顯示二進位檔案的版本作為基本安裝,如以下命令所示:
[rpm -qa |grep <binary_name>]
rpm -qa | grep kernel
displays 4.12.14-122.12.1.x86_64: While it should be 4.12.14-122.173.1.x86_64 which was embedded in the latest Rollup.

rpm -qa | grep sqlite3
displays 3.8.10.2-9.15.1.x86_64: While it should be 3.39.3-9.26.1.x86_64 which was embedded in the latest Rollup.

rpm -qa | grep openssl
displays 1.0.2p-3.14.1.x86_64: While it should be 1_1-1.1.1d-2.98.1.x86_64 which was embedded in the latest Rollup.

Cause

進一步調查注意到,err.log報告以下錯誤訊息:

Path to err.log:

/space/avamar/var/avi/server_data/package_data/NvePlatformOsRollup_2023-R3-v4.avp_xxxxxxxxxx err.log

在更新程序期間會執行下列命令,以從命令輸出中取得目前核心的版本:

[uname -a] 

YYYY-MM-DD HH:mm:SS (-TZ) 47198950636200 ERROR: "ssh -q -i /root/.ssh/rootid -x -q -o ConnectTimeout=5 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no root@<NVE_IP_Address> uname -a", exit status=255 (error)

由於它以“exit status=255 (error)”出錯,因此即使升級工作流成功,也不會升級 OsRollup(主要由基本操作系統包組成)中的任何軟體包。

此錯誤行為的根本原因是本機主機的 PermitRootLogin 值已從預設值 「yes」 修改為不正確的「 no」值。 此錯誤設定可讓 SSH 命令 (如上圖) 顯示已安裝的內核版本。

LogLevel INFO
kexalgorithms ecdh-sha2-nistp384,ecdh-sha2-nistp521
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-512,hmac-sha2-256-etm@openssh.com,hmac-sha2-256,umac-128-etm@openssh.com,umac-128@openssh.com
PermitEmptyPasswords no
PermitRootLogin no
Match Address ::1,127.0.0.1,127.0.0.1,127.0.0.2,::1,<NVE_IPv4_Address>,<NVE_IPv6_Address>
PermitRootLogin no

Resolution

若要解決此問題,請執行下列步驟:

  1. /etc/ssh/sshd_config 檔案修改為其預設格式。更改僅涉及一行,結尾部分應更改如下。
LogLevel INFO
kexalgorithms ecdh-sha2-nistp384,ecdh-sha2-nistp521
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-512,hmac-sha2-256-etm@openssh.com,hmac-sha2-256,umac-128-etm@openssh.com,umac-128@openssh.com
PermitEmptyPasswords no
PermitRootLogin no
Match Address ::1,127.0.0.1,127.0.0.1,127.0.0.2,::1,<NVE_IPv4_Address>,<NVE_IPv6_Address>
PermitRootLogin yes
注意:「Match Address」行之後的 PermitRootLogin 項目必須設為「yes」。必須在「比對地址」行中定義正確的 NVE IPv4/IPv6 位址。如需 PermitRootLogin 資訊的詳細資訊,請參閱:NVE:如何在 NetWorker Virtual Edition 上允許 root SSH 存取
  1. 完成上述變更後,請 重新開機 NVE
  2. 執行 下列 命令 顯示核心版本
ssh -q -i /root/.ssh/rootid -x -q -o ConnectTimeout=5 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no root@<NVE_IP_ADDRESS> uname -a
預期的輸出應如下所示:
nve:~ # ssh -q -i /root/.ssh/rootid -x -q -o ConnectTimeout=5 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no root@<NVE_IP_ADDRESS> uname -a
Linux nve 4.12.14-122.153-default #1 SMP Tue Mar 7 14:13:19 UTC 2023 (9f7af45) x86_64 x86_64 x86_64 GNU/Linux
  1. 套用最新的 NveUpgreade 或 NvePlatformOsRollup 套件,將二進位檔案版本更新至最新版本。
  2. 使用以下命令檢查已安裝二進位檔案的版本,並與套用的 NveUpgreade 或 NvePlatformOsRollup 套件中的版本進行比較。
[rpm -qa]

Additional Information

Affected Products

NetWorker

Products

NetWorker Family
Article Properties
Article Number: 000221296
Article Type: Solution
Last Modified: 14 Aug 2025
Version:  7
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.