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

前端之家收集整理的这篇文章主要介绍了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

猜你在找的CentOS相关文章