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

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

本文适用于 本文不适用于 本文并非针对某种特定的产品。 本文并非包含所有产品版本。

症状

執行 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  

原因

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

解决方案

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

产品

NetWorker Family
文章属性
文章编号: 000206522
文章类型: Solution
上次修改时间: 22 6月 2025
版本:  6
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。