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 会话中,尾随 install.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
提醒:此路径可能有所不同;根据安装的 Java 版本,路径中的 jre#.#.#_### 可能有所不同。如果安装了 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.