NetWorker:nsrauthtrust:無法擷取憑證:GET失敗,並出現HTTP-ERROR:404

Summary: 當 NetWorker/AUTHC 伺服器是 Linux 型作業系統時,此 KB 適用。登入 NMC 失敗,並顯示訊息「確保驗證服務正在執行」。

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/AUTHC 伺服器是 Linux 伺服器或 NVE 裝置。
  • NetWorker Management Console (NMC) 登入失敗,並傳回:   
image.png
  • NetWorker 伺服器上的 nsrauthtrust 命令失敗,並顯示訊息:
# nsrauthtrust -H authc_server_hostname -P 9090
125927:nsrauthtrust: Failed to retrieve certificate: GET failed with HTTP-ERROR: 404
Server Message : Could not parse server-response from json string
  • /opt/lgtonmc/gst/logs/gstd.raw 有下列錯誤:     
0 1506905469 2 0 0 3131729664 32427 0 nmc_server_hostname gstd NSR warning 85 Unable to get token for service account of NMC server from authentication service. %s 1 0 145 GET failed with HTTP-ERROR: 404Server Message : Could not parse server-response from json stringServer Message : Make sure that server is running

 

Cause

在 /nsr/authc/ 目錄中的驗證資料庫發生問題。在這種情況下,身份驗證埠(預設:9090) 可能已啟動並回應連線測試: nsrports -t authc_server_hostname -p 9090
,但驗證失敗。 

Resolution

  1. 使用 SSH 登入 NetWorker 伺服器,然後切換至根使用者:
sudo su -
  1. 停止 驗證伺服器上 的 NetWorker 服務:
nsr_shutdown
  1. 確認服務已停止:
PS -ef | grep nsr

便條:您可能會看到一些 NMC (gst) 服務正在執行,這些服務不必停止。
  1. 執行下列命令以重新設定 authc: 
/opt/nsr/authc-server/scripts/authc_configure.sh
  1. 啟動 networker 服務:
systemctl start networker
  1. 使用 NetWorker 系統管理員帳戶登入 NMC。

Additional Information

如果您先前已整合 AD 或 LDAP,則必須重新加入。這可以從 設定 > 使用者和角色 > 外部授權下的 NMC 完成。在執行此程序之前,系統不會移除套用至 AD 使用者的任何權限。外部授權必須新增回 authcdb。請參閱 KB 文章 156107:如何在 NetWorker 18 和 19 中設定 AD/LDAP 驗證

Affected Products

NetWorker

Products

NetWorker Series
Article Properties
Article Number: 000060912
Article Type: Solution
Last Modified: 17 Mar 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.