×


cPanel Error Iproute Conflicts With Kernel - Fix it Now ?

Recently we had a customer who came across the cPanel Error Iproute Conflicts With Kernel.

This happens when we have an outdated kernel on the server.

Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to perform related cPanel queries.


Nature of cPanel Error Iproute Conflicts With Kernel

cPanel alongside Web Host Manager facilitates and makes web hosting easy for website administrators.

However, before we proceed to install, we make sure to ONLY install cPanel and WHM on a freshly installed Operating system.

A kernel is the central part of an operating system. It manages the operations of the computer and the hardware.

Generally, the /scripts/rpmup shows the following error:

Error: iproute conflicts with kernel-plus-3.10.0-693.17.1.el7.bug14347.centos.plus.x86_64
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
info [rpmup] Completed yum execution “–assumeyes –color=never –config /etc/yum.conf update –disablerepo=epel”: in 29.188 second(s).
(XID cvngfh) “/usr/bin/yum” reported error code “1” when it ended:
checkyum version 22.3 (excludes: bind-chroot ruby)

This error happens when we have an outdated kernel installed on the server, even if it is running a newer one.

CloudLinux introduced this conflict to prevent issues that could cause by the server being rebooted into an older kernel with the new iproute package installed.


How to fix cPanel Error Iproute Conflicts With Kernel ?

To resolve this error, simply follow the steps given below:

We start by verifying if the kernel is up to date. 

It has to be newer than 3.10.0-793.21.1.lve1.5.20 :

# uname -r
3.10.0-962.3.2.lve1.5.32.el7.x86_64

If the running kernel is not up to date, we update it with:

# yum update kernel

Then we reboot it into a new kernel.

# reboot

Once we confirm that the running kernel is up to date, we list current kernel packages:

# rpm -q kernel kernel-plus

However, this may fail on kernel and kernel-plus packages. 

Kernel-plus should replace with the outdated Kernel package name on the server.


On this server, the solution will be to remove the outdated one. 

In order to do so, we run:

# rpm -ev –nodeps –justdb kernel-plus-3.10.0-693.17.1.el7.bug14347.centos.plus.x86_64

Then we run /scripts/rpmup or yum update to make sure everything else gets updated.


[Need help with fixing this cPanel error? We are happy to assist you. ]


Conclusion

This article covers method to fix cPanel Error Iproute Conflicts With Kernel. Basically, this error happens when we have an outdated kernel on the server. 


Instead of deleting conflicting kernels, you can also add the iproute package to the excludes of yum in /etc/yum.conf file, then the iproute package won't be marked for the update.

It can be useful when you need to perform an update but can't reboot the server at the given moment. 

It can be excluded manually using a preferred text editor or using the following command:

$ sed -i 's/exclude=/exclude=iproute /' /etc/yum.conf

The change can be reverted using this command:

$ sed -i 's/exclude=iproute /exclude=/' /etc/yum.conf