Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

NetWorker:登入 NMC 失敗並顯示「驗證使用者認證時發生錯誤」

Summary: 嘗試登入網路管理主控台 (NMC) 時,會出現下列內容:驗證使用者認證時發生錯誤。確認 NetWorker Authentication Service 正在執行中。[發生錯誤,低層級系統 api 呼叫失敗伺服器訊息:確保伺服器正在運行]。或 [無法連接至 NetWorker_ServerName:9090;沒有錯誤。伺服器訊息:確保伺服器正在運行。

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Symptoms

以下列出此問題的行為特性:

  • 重新開機 NetWorker 伺服器後,無法登入 NMC。
  • 嘗試登入 NMC 時,在驗證登入資料時收到錯誤。

 

將顯示以下訊息:

An error occurred while validating user credentials. Verify that Networker Authentication Service is running. [An error occurred, a low level system api call failure Server Message: Make sure that the server is running].

 

及/或

An error occurred while validating user credentials. Verify that Networker Authentication Service is running. [Failed to connect to NetWorker_ServerName:9090; No Error. Server Message : Make sure that the server is running.]

 

這可以通過重新啟動所有 NetWorker 服務暫時解決此問題,但問題在下次重新開機時再次出現。

問題可能是間歇性的。

伺服器仍在完成作業。可在記錄中和透過 NetWorker 伺服器顯示 nsrwatch 命令。

 

Cause

如果 AUTHC 服務使用的其中一個埠存在埠衝突,則會出現此錯誤。這可在 NetWorker 伺服器的 \nsr\logs\daemon.raw 記錄:

NetWorker_ServerName nsrctld NSR notice authservice: SEVERE: StandardServer.await: create[localhost:8009]:
NetWorker_ServerName nsrctld NSR notice authservice: java.net.BindException: Address already in use: JVM_Bind

 

及/或

NetWorker_ServerName nsrctld NSR notice authservice: SEVERE: StandardServer.await: create[localhost:8005]:
NetWorker_ServerName nsrctld NSR notice authservice: java.net.BindException: Address already in use: JVM_Bind

 

NetWorker:如何使用nsr_render_log

 

在這種情況下,無法指派 8009 (Tomcat AJP 連接器連接埠) 和 8005 (Tomcat Security Shutdown) 連接埠,因為其他應用程式正在使用它們。如果此伺服器上安裝了一個或多個使用 Apache Tomcat 的其他應用程式,則可能會發生這種情況。NetWorker 伺服器 (nsrd) 可控制驗證服務,無法由使用者控制。可能會在 daemon.raw:

NetWorker_ServerName nsrctld NSR notice Daemon authservice terminated.

 

Resolution

選項 1:
調整其他元件使用的連接埠,以免連接埠與 NetWorker 驗證服務使用的 Apache Tomcat 發生衝突。

 

選項 2:
完成下列步驟,變更 NetWorker Tomcat 例項使用的連接埠:

  1. 停止 NetWorker 伺服器上的服務,請完成下列步驟:
    Linux: nsr_shutdown
    Windows: net stop nsrexecd /y

  2. 識別任何其他執行中的服務未使用的連接埠:
    netstat -ab > netstat_ports.txt (例如:8089、8087等等...

  3. 在以下位置開啟 server.xml 檔案:
    Linux:/nsr/authc/conf/server.xml
    Windows:[NetWorker 安裝路徑]\nsr\authc-server\tomcat\conf

    注意:NetWorker 安裝路徑將替換為 NetWorker 安裝目錄的完整路徑。
  4. 將連接埠 8009 更換為 8089 (在步驟 2 中選擇),以修改檔案。
    針對 8005 衝突,請修改:
    <Server port="8005" shutdown="SHUTDOWN">
    收件者:
    <Server port="8085" shutdown="SHUTDOWN">

    針對 8009 衝突,請修改:
    <!-- Define an AJP 1.3 Connector on port 8009 --> <Connector port="8009" protocol="AJP/1.3" redirectPort="8443"/>
    收件者:
    <!-- Define an AJP 1.3 Connector on port 8089 --> <Connector port="8089" protocol="AJP/1.3" redirectPort="8443"/>

  5. 儲存檔案,然後將 NetWorker 伺服器重新開機。

    注意:服務可以重新啟動;但是,在下次作業系統重新開機之前,不會確認問題已解決:

    Linux: systemctl start networker
    Windows:
    net start nsrd
    net start gstd (只有在 NetWorker 伺服器上安裝 NMC 時才需要)

  6. 連線至 NMC。

 

Article Properties


Affected Product

NetWorker Management Console

Product

NetWorker, NetWorker Management Console

Last Published Date

23 Feb 2024

Version

5

Article Type

Solution