CentOS 7下Java的SecureRandom种子初始化失败解决办法
Mar 09, 2017 7:17:02 PM io.netty.util.internal.ThreadLocalRandom getInitialSeedUniquifier
WARNING: Failed to generate a seed from SecureRandom within 3 seconds. Not enough entrophy?
安装rng-tools包
以下命令安装rng-tools
yum install rng-tools
启动及检查rngd服务(CentOS 6)
service rngd start
service rngd status
启动及检查rngd服务(CentOS 7)
systemctl start rngd
systemctl status rngd
参考https://huataihuang.gitbooks.io/cloud-atlas/os/linux/device/random_number_generator.html