Some versions of the operating system (OS) kernel do not have the ability to execute a getrandom system call. This leads to an error when installing the platform.
To install the platform on such a server, update the OS kernel and, if necessary, install the rng-tools utility set.
Diagnostics
Connect to the server via SSH and run the command:
docker logs dci_auth_back4_1If the installation error is due to the getrandom system call, the response will contain a line he following form:
libc++abi: terminating with uncaught exception of type boost::wrapexcept<boost::uuids::entropy_error>: getrandomSolution
- Connect to the server via SSH.
- Update the OS kernel to at least kernel-3.10.0-544.el7.
-
Check the entropy level of the system:
cat /proc/sys/kernel/random/entropy_avail -
If the entropy level is below 200:
-
Install rng-tools:
AlmaLinuxyum install rng-toolsUbuntuapt install rng-tools -
If CentOS is installed on the server, change the line in the /systemd/system/multi-user.target.wants/rngd.service file as shown below:
ExecStart=/sbin/rngd -freplace by
ExecStart=/sbin/rngd -f -r /dev/urandom -
Restart the service
AlmaLinuxsystemctl daemon-reload && systemctl start rngdUbuntusystemctl daemon-reload && systemctl start rng-tools -
Сheck the entropy level of the system again:
cat /proc/sys/kernel/random/entropy_availIn case of successful installation, the level value must be above 200.
-
En
Es