NMC:確認 NetWorker Authentication Service 正在執行中

Summary: NetWorker Management Console (NMC) 驗證失敗,並報告「驗證使用者認證時發生錯誤。確認 NetWorker 認證服務正在執行中 [無法連線至伺服器:9090;沒有錯誤]”

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 Management Console (NMC) 時,會出現下列錯誤:

NMC 登入錯誤

"An error occurred while validating user credentials. Verify NetWorker Authentication Service is Running [Failed to connect to server:9090; No Error]"
 

Cause

安裝 NMC 伺服器軟體時,會定義單一 NetWorker 驗證主機名稱和服務連接埠 (預設為 9090)。

Resolution

先決條件:

驗證 NetWorker 認證 (authc) 服務正在執行,沒有連接埠通訊問題,且認證正常運作:

  • 驗證服務正在 NetWorker 伺服器上執行:
nsrports -t AUTHC_SERVERNAME -p 9090

範例:

[root@nsr ~]# nsrports -t nsr.amer.lan -p 9090
Forward lookup for nsr.amer.lan
Query time:              0.000 sec
Canonical name (CNAME):  nsr.amer.lan
Address (A):             192.168.9.150
Connect to port 9090:    Succeeded (0.001 sec)

Reverse lookup for 192.168.9.150
Query time:              0.000 sec
Name:                    nsr.amer.lan
  • NetWorker Authentication (authc) 伺服器上的驗證成功:
nsrlogin -u Administrator
如果成功:
nsrlogout
範例:
[admin@nsr ~]$ nsrlogin -u Administrator
130136:nsrlogin: Please enter password:
Authentication succeeded
[admin@nsr ~]$ nsrlogout
  • NetWorker Management Console (NMC) 伺服器可連線至 NetWorker Authentication (authc) 伺服器上的連接埠 9090:
Linux:
curl -v NSR_AUTHC:9090
範例:
[root@nsr ~]# curl -v nsr.amer.lan:9090
*   Trying 192.168.9.150:9090...
* Connected to nsr.amer.lan (192.168.9.150) port 9090 (#0)
> GET / HTTP/1.1
> Host: nsr.amer.lan:9090
> User-Agent: curl/7.76.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 400
< Content-Type: text/plain;charset=UTF-8
< Connection: close
<
Bad Request
This combination of host and port requires TLS.
* Closing connection 0
Windows (PowerShell):
tnc NSR_AUTHCSERVER -port 9090

範例:

PS C:\Users\administrator.AMER> tnc nsr.amer.lan -port 9090

ComputerName     : nsr.amer.lan
RemoteAddress    : 192.168.9.150
RemotePort       : 9090
InterfaceAlias   : Ethernet0
SourceAddress    : 192.168.9.122
TcpTestSucceeded : True
注意:如果上述所有檢查都成功,請繼續閱讀本文。如果上述步驟出現服務或通訊問題,則必須先解決這些問題,然後再繼續。

程序:

  1. 在 NetWorker Management (NMC) 伺服器上開啟提升權限的提示。
  2. 停止 NMC 伺服器 gstd 程序:
Linux:
systemctl stop gst
Windows:
net stop gstd
  1. 使用命令提示字元中的 gstauthcfg 命令,變更 NMC 伺服器使用的 NetWorker Authentication Service 主機。
Linux:
/opt/lgtonmc/bin/gstauthcfg -c -t -h NSR_AUTHCSERVER -p 9090
範例:
[root@nsr ~]# /opt/lgtonmc/bin/gstauthcfg -c -t -h nsr.amer.lan -p 9090
121816:gstauthcfg: Authentication server on nsr.amer.lan is online.
121817:gstauthcfg: Configuration updated successfully.
Windows:
"[INSTALL DRIVE]:\Program Files\EMC NetWorker\Management\GST\bin\gstauthcfg.exe" -c -t -h NSR_AUTHCSERVER -p 9090

範例:

C:\Users\administrator.AMER>"C:\Program Files\EMC NetWorker\Management\GST\bin\gstauthcfg.exe" -c -t -h nsr.amer.lan -p 9090
121816:gstauthcfg: Authentication server on nsr.amer.lan is online.
140643:gstauthcfg: Restart NMC server for the changes to take effect.
121817:gstauthcfg: Configuration updated successfully.
  1. 驗證 NMC 伺服器的 gstd.conf 是否反映正確的 authsvc_hostname ,並 authsvc_port
Linux:/opt/lgtonmc/etc/gstd.conf
Windows:[安裝磁碟機]:\Program Files\EMC NetWorker\Management\GST\etc\gstd.conf
  1. 啟動 EMC gstd 程序:
Linux:
systemctl start gst
Windows:
net start gstd
  1. 從單一 NetWorker Management Console (NMC) 管理多個 NetWorker 伺服器時,請在 NetWorker 伺服器和驗證伺服器之間建立信任和權限。
nsrauthtrust -H NSR_AUTHCSERVER -P 9090
nsraddadmin -H NSR_AUTHCSERVER -P 9090
範例:
C:\Users\administrator.AMER>nsrauthtrust -H nsr.amer.lan -P 9090

C:\Users\administrator.AMER>nsraddadmin -H nsr.amer.lan -P 9090
134751:nsraddadmin: Added role 'cn=Administrators,cn=Groups,dc=nsr,dc=amer,dc=lan' to the 'Application Administrators' user group.
134751:nsraddadmin: Added role 'cn=Administrators,cn=Groups,dc=nsr,dc=amer,dc=lan' to the 'Security Administrators' user group.
134751:nsraddadmin: Added role 'cn=Users,cn=Groups,dc=nsr,dc=amer,dc=lan' to the 'Users' user group.

Additional Information

Affected Products

NetWorker, NetWorker Management Console
Article Properties
Article Number: 000034546
Article Type: Solution
Last Modified: 14 Mar 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.