首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >大型syslog文件

大型syslog文件
EN

Ask Ubuntu用户
提问于 2017-09-19 04:42:00
回答 1查看 470关注 0票数 0

我的syslog文件位于/var/log,今天大约有80 to,所以我清空它,几个小时后它已经增长到30 to,这就是日志文件一直在写的:

代码语言:javascript
复制
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.•••••••••
EN

回答 1

Ask Ubuntu用户

发布于 2018-05-24 13:02:45

您的错误是python密码学与openSSL中臭名昭著的bug之间的不匹配。有一个解决办法,下载和强制更新两个版本匹配两者。

代码语言:javascript
复制
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

这个错误已经在新版本中解决了。

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/957205

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档