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工作在无互联网的环境下,需要在离线环境下安装一些组件,这次实现的是模拟在离线环境下安...
首先参照https://www.cnblogs.com/wdw984/p/13330074.html,来进行如何安装Centos和离线下载rpm包。 离...
有两个.NET CORE3.1网站部署在CentOS7上(内网IP是192.168.2.32),现在想实现访问http://192.168.2.32...
1、yum -y install vsftpd 安装vsftpd 2、配置vsftpd的配置文件(/etc/vsftpd/vsftpd.conf)主要修改以...
首先去mysql官网下载mysql的离线rpm安装包(https://downloads.mysql.com/archives/community/) Mysql...
第一步下载erlang环境并安装: wget https://packages.erlang-solutions.com/erlang/rpm/centos/7/x86_...