微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

centos 6.8 yum 无法正常使用: 报Illegal instruction (core dumped)

今天有同事说有台服务器 yum 不能用,执行yum安装包报错如下:

#  yum install python-dateutil
Loaded plugins: fastestmirror,security
Setting up Install Process
Loading mirror speeds from cached hostfile
Illegal instruction (core dumped)

于是上服务器查,发现不管安装啥包都报这个错误.

看了下系统日志,发现如下内容:

Aug 12 02:45:36 ow022 kernel: yum[3684] trap invalid opcode ip:7fa50d0b2d60 sp:7ffee3c1b738 error:0 in libfreeblpriv3.so[7fa50d060000+72000]
Aug 12 02:45:37 ow022 abrt[3687]: Saved core dump of pid 3684 (/usr/bin/python) to /var/spool/abrt/ccpp-2016-08-12-02:45:36-3684 (15962112 bytes)
Aug 12 02:45:37 ow022 abrtd: Directory 'ccpp-2016-08-12-02:45:36-3684' creation detected
Aug 12 02:45:45 ow022 abrtd: Generating core_backtrace
Aug 12 02:45:46 ow022 abrtd: Duplicate: core backtrace
Aug 12 02:45:46 ow022 abrtd: DUP_OF_DIR: /var/spool/abrt/ccpp-2016-08-10-10:13:59-1479
Aug 12 02:45:46 ow022 abrtd: Deleting problem directory ccpp-2016-08-12-02:45:36-3684 (dup of ccpp-2016-08-10-10:13:59-1479)
Aug 12 02:45:46 ow022 abrtd: Cannot notify '/var/spool/abrt/ccpp-2016-08-10-10:13:59-1479' via D-Bus: Failed to emit D-Bus Crash signal: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

于是 Google 了一把,真相出现了. (然而百度还在卖假药,治疗不孕不育 )



解决方法已经在上面的两个网页里清楚的说明了. 原来是系统里的一只臭虫.. 我是通过以下方法解决


Here is the fix from the original bug report:
# export NSS_disABLE_HW_GCM=0;yum upgrade

貌似跟 nss-* 相关包有关,貌似还只跟centos 6.8有关.


更多细节请参考:

https://bugs.centos.org/view.PHP?id=10930

https://bugs.centos.org/view.PHP?id=11074

原文地址:https://www.jb51.cc/centos/381203.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。