NetWorker: o script authc_configure.sh para de responder ao executar a inicialização.

摘要: Ao executar o script /opt/nsr/authc-server/scripts/authc_configure.sh, ele para de responder ao executar a inicialização. Esperar.

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

症状

Ao executar o script authc_configure.sh, ele para de responder ao executar a inicialização. 
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...

Em outra sessão SSH, finalize o arquivo 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  

原因

Por padrão, o Java usa /dev/random, que é impedido de servir o número aleatório se não houver atividade regular (por exemplo, cliques do mouse) no sistema.

解决方案

O authc_configure.sh eventualmente deve ser concluído, mas pode levar algum tempo (por exemplo, 60 minutos).

Solução alternativa
  1. Como root, abra o arquivo java.security com um editor de texto.
Exemplo: 
vi /usr/java/jre1.8.0_151/lib/security/java.security
Nota: Esse caminho pode ser diferente; dependendo da versão do Java instalada, o jre#.#.#_### no caminho pode ser diferente. Se o NetWorker Runtime Environment (NRE) estiver instalado, o caminho java será /opt/nre/java/latest/lib/security/java.security.
  1. Mudar:
securerandom.source=file:/dev/random 

To: 

securerandom.source=file:/dev/urandom 
  1. Salve o arquivo e execute novamente authc_configure: 
/opt/nsr/authc-server/scripts/authc_configure.sh

产品

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