标签 Java 下的文章

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