fatal: Couldn't obtain random bytes (error 604389476)
来源:互联网 发布:linux nanosleep使用 编辑:程序博客网 时间:2024/05/17 06:14
这几天用scp拷贝文件的时候,如果不停地拷出现了上面这个错误,然后新的ssh连接就连不上了,之前连上的还是可以用的。在网上搜索了一些资料,一般是没有足够的熵值,不能产生随机数,而sshd读取的又是 /dev/random文件,会导致堵死在哪里,不能产生新的sshd进程为新的连接服务。解决办法
1)让/dev/random 有足够多的随机数,比如随机巧键盘输入,或其他的中断,或者用rngd来产生,并让scp拷贝可以稍微等待一下,让系统有足够的时间来产生伪随机数
2) 把/dev/random 备份起来不用,ln /dev/urandom /dev/random,使用urandom
- fatal: Couldn't obtain random bytes (error 604389476)
- PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://xxxx.wsdl'
- fatal: Couldn't find remote ref master
- sftp error: Couldn't canonicalize
- Couldn't resolve error 的问题
- Couldn't resolve error at 'ntdll!NtOpenProcess'
- couldn’t be completed. (LaunchServicesError error 0.)
- couldn’t be completed. (LaunchServicesError error 0.)
- fatal: Couldn't find remote ref refs/heads/cm-13.0
- Fatal error: Allowed memory size of 8388608 bytes exhausted
- Fatal error: Allowed memory size of 8388608 bytes exhausted
- Fatal error: Allowed memory size of 20971520 bytes exhausted
- Fatal error: Allowed memory size of 8388608 bytes exhausted解决方法
- Fatal error: Allowed memory size of *** bytes exhausted
- Fatal error: Allowed memory size of 8388608 bytes exhausted
- Fatal error: Allowed memory size of 33554432 bytes exhausted
- Fatal error: Allowed memory size of 8388608 bytes exhausted解决方法
- PHP: Fatal Error: Allowed Memory Size of 134217728 Bytes Exhausted
- java小程序 javaScript
- AT91初始化代码手册中文翻译版
- PHP面向对象
- 跟着开发手册学习php
- 李长春抵达伊斯兰堡开始访问巴基斯坦-李长春-巴基斯坦-伊斯兰堡
- fatal: Couldn't obtain random bytes (error 604389476)
- 安全算法:3DES密钥长度
- Linux启动时间的极限优化
- Android异步任务框架AsyncTask由潜入深
- 无法直接打开excel文件
- VS2010 在Win 7 附加w3wp.exe进程进行调试和权限问题
- :获取ImageView中的图像需要注意的问题
- DirectX简介 第五篇 DirectInput简介
- webservices 使用 Session 、 Application