-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请教如何正确安装3.0.5的rng-tools #1389
Comments
也许这个东西应该降级到Info,看到ERROR都panic了 |
google到方法了, service rng-tools status Mar 21 04:44:38 tragic rng-tools[6083]: Starting Hardware RNG entropy gatherer daemon: /usr/sbin/rngd already running. service shadowsocks-libev status Mar 21 04:46:03 tragic systemd[1]: Started Shadowsocks-libev Default Server Service. |
rngd -r /dev/urandom 这个用法是错的没边,相当于把/dev/urandom重新导入/dev/random,欺骗内核让他认为有足够的熵源。 如果你用现代内核的话,这个错误不必在意。唯一需要做的就是多等会。 |
谢谢,那就不管他。 |
安装运行3.0.5后看status里
Mar 21 04:07:10 tragic systemd[1]: Started Shadowsocks-libev Default Server Service.
Mar 21 04:07:10 tragic ss-server[30834]: 2017-03-21 04:07:10 INFO: using tcp fast open
Mar 21 04:07:10 tragic ss-server[30834]: 2017-03-21 04:07:10 INFO: plugin "obfs-server" enabled
Mar 21 04:07:10 tragic ss-server[30834]: 2017-03-21 04:07:10 INFO: UDP relay enabled
Mar 21 04:07:10 tragic ss-server[30834]: 2017-03-21 04:07:10 INFO: initializing ciphers... aes-128-gcm
Mar 21 04:07:10 tragic ss-server[30834]: 2017-03-21 04:07:10 ERROR: This system doesn't provide enough entropy to quickly generate high-quality random numbers
Mar 21 04:07:10 tragic ss-server[30834]: Installing the rng-utils/rng-tools or haveged packages may help.
Mar 21 04:07:10 tragic ss-server[30834]: On virtualized Linux environments, also consider using virtio-rng.
Mar 21 04:07:10 tragic ss-server[30834]: The service will not start until enough entropy has been collected.
apt-get install rng-tools后提示:
...
Setting up rng-tools (2-unofficial-mt.14-1) ...
Job for rng-tools.service failed. See 'systemctl status rng-tools.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript rng-tools, action "start" failed.
Processing triggers for systemd (215-17+deb8u6) ...
root@tragic:~/ss/3.0.5# systemctl status rng-tools.service
● rng-tools.service - (null)
Loaded: loaded (/etc/init.d/rng-tools)
Active: failed (Result: exit-code) since Tue 2017-03-21 03:52:09 EDT; 19s ago
Mar 21 03:52:09 tragic rng-tools[25851]: Starting Hardware RNG entropy gatherer daemon: (failed).
Mar 21 03:52:09 tragic systemd[1]: rng-tools.service: control process exited, code=exited status=1
Mar 21 03:52:09 tragic systemd[1]: Failed to start (null).
Mar 21 03:52:09 tragic systemd[1]: Unit rng-tools.service entered failed state.
service rng-tools restart
Job for rng-tools.service failed. See 'systemctl status rng-tools.service' and 'journalctl -xn' for details.
root@tragic:~/ss/3.0.5# systemctl status rng-tools.service
● rng-tools.service - (null)
Loaded: loaded (/etc/init.d/rng-tools)
Active: failed (Result: exit-code) since Tue 2017-03-21 03:55:09 EDT; 18s ago
Process: 26477 ExecStart=/etc/init.d/rng-tools start (code=exited, status=1/FAILURE)
Mar 21 03:55:09 tragic rng-tools[26477]: Starting Hardware RNG entropy gatherer daemon: (failed).
Mar 21 03:55:09 tragic systemd[1]: rng-tools.service: control process exited, code=exited status=1
Mar 21 03:55:09 tragic systemd[1]: Failed to start (null).
Mar 21 03:55:09 tragic systemd[1]: Unit rng-tools.service entered failed state.
请问这个rng-tools该如何安装,是要写配置文件还是少装了什么库。
The text was updated successfully, but these errors were encountered: