Press "Enter" to skip to content

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

报错信息如下:

#  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

解决办法如下:

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://blog.csdn.net/reyleon/java/article/details/52189939

Be First to Comment

发表评论

电子邮件地址不会被公开。 必填项已用*标注