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 会话中,尾随 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  

原因

默认情况下,Java 使用 /dev/random,如果系统中没有常规活动(比如鼠标单击),则阻止其提供随机数。

解决方案

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

产品

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