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.