Yum error : Illegal instruction (core dumped)
Yum shows error ‘Illegal instruction (core dumped)’
root@server [/]# yum update
Loaded plugins: fastestmirror, rhnplugin
Setting up Update Process
Loading mirror speeds from cached hostfile
* cloudlinux-base: repo.cloudlinux.com
* cloudlinux-x86_64-server-6: xmlrpc.cln.cloudlinux.com
Illegal instruction (core dumped)
Loaded plugins: fastestmirror, rhnplugin
Setting up Update Process
Loading mirror speeds from cached hostfile
* cloudlinux-base: repo.cloudlinux.com
* cloudlinux-x86_64-server-6: xmlrpc.cln.cloudlinux.com
Illegal instruction (core dumped)
How to fix the above error?
I saw the above error while trying to run yum update on my CentOS 6 Xen Server. I got the same error while trying to install/remove a package using yum. This seems like a Bug on CentOS/Redhat Linux Servers and this issue usually occur on CentOS 6.8 Xen Servers.
You can run the below command to fix the issue.
Note : Do the below steps at your Own risk. I did the below steps and it fixed the yum error on my server.
Command : export NSS_DISABLE_HW_AES=1
root@server [/etc/yum.repos.d]# export NSS_DISABLE_HW_AES=1
root@server [/etc/yum.repos.d]#
root@server [/etc/yum.repos.d]#
Now try running yum update on the server after running the above command on the server.