NetWorker:authc_configure.sh 腳本在執行初始化時停止回應。

Summary: 執行 /opt/nsr/authc-server/scripts/authc_configure.sh 指令檔時,它會在執行初始化時停止回應。等。

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

執行 authc_configure.sh 指令檔時,會在執行初始化時停止回應。 
Specify password for the existing keystore: 
The install will use the existing certificate "emcauthctomcat" for Apache Tomcat. 
The install will use the existing certificate "emcauthcsaml" for Authentication Service.

Creating the installation log in /opt/nsr/authc-server/logs/install.log. 

Performing initialization. Please wait...

在另一個 SSH 會話中,尾端安裝.log:
# tail -f /opt/nsr/authc-server/logs/install.log 
... 
emcauthctomcat, Dec 14, 2022, trustedCertEntry, 
Certificate fingerprint (SHA-256): 00:1E:B0:50:C0:57:42:72:65:1F:25:D3:1C:FD:A2:FF:06:8B:0C:FC:B0:02:E0:EC:C7:04:DF:15:18:0F:F2:C7 
Certificate was added to keystore 
Creating /nsr/authc/conf/authc-server-app.properties file  

Cause

依預設,JAVA 會使用 /dev/random,如果系統中沒有一般活動 (例如滑鼠點按),則無法提供隨機編號。

Resolution

authc_configure.sh 應最終完成,但可能需要一些時間 (例如,60 分鐘)。

解決 方案
  1. 以 root 身分,使用文字編輯器開啟 java.security 檔案。
範例: 
vi /usr/java/jre1.8.0_151/lib/security/java.security
注意:此路徑可能有所不同;視在路徑中安裝 的 jre#.#.#_## JAVA 版本而定,可能會有所不同。如果已安裝 NetWorker Runtime Environment (NRE),JAVA 路徑是 /opt/nre/java/latest/lib/security/java.security。
  1. 改變:
securerandom.source=file:/dev/random 

To: 

securerandom.source=file:/dev/urandom 
  1. 儲存檔案並重新執行authc_configure: 
/opt/nsr/authc-server/scripts/authc_configure.sh

Products

NetWorker Family
Article Properties
Article Number: 000206522
Article Type: Solution
Last Modified: 22 Jun 2025
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.