我的syslog文件位于/var/log,今天大约有80 to,所以我清空它,几个小时后它已经增长到30 to,这就是日志文件一直在写的:
Sep 18 19:35:26 media-OptiPlex-3050 gnome-session[1243]: extern "Python": function Cryptography_rand_status() called, but @ffi.def_extern() was not called in the current subinterpreter. Returning 0.
Sep 18 19:35:26 media-OptiPlex-3050 gnome-session[1243]: •••••••••extern "Python": function Cryptography_rand_bytes() called, but @ffi.def_extern() was not called in the current subinterpreter. Returning 0.
Sep 18 19:35:26 media-OptiPlex-3050 gnome-session[1243]: •••••••••extern "Python": function Cryptography_rand_status() called, but @ffi.def_extern() was not called in the current subinterpreter. Returning 0.
Sep 18 19:35:26 media-OptiPlex-3050 gnome-session[1243]: extern •••••••••"Python": function Cryptography_rand_bytes() called, but @ffi.def_extern() was not called in the current subinterpreter. Returning 0.•••••••••发布于 2018-05-24 13:02:45
您的错误是python密码学与openSSL中臭名昭著的bug之间的不匹配。有一个解决办法,下载和强制更新两个版本匹配两者。
wget https://launchpad.net/ubuntu/+archive/primary/+files/python-cryptography_1.7.1-2_amd64.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/python-openssl_16.2.0-1_all.deb
sudo dpkg -i python-openssl_16.2.0-1_all.deb
sudo dpkg -i python-cryptography_1.7.1-2_amd64.deb这个错误已经在新版本中解决了。
https://askubuntu.com/questions/957205
复制相似问题