Issue
- The server shows the error "Reboot your system to update the kernel" after a recent kernel update, and the current kernel is a debug kernel like:
# uname -rs
Linux 4.18.0-425.13.1.lve.el8.x86_64+debug - The kmod-lve, which provides LVE functionality, can't be loaded:
# modprobe kmodlve
modprobe: FATAL: Module kmod-lve not found in directory /lib/modules/4.18.0-425.13.1.lve.el8.x86_64+debug
Environment
- CloudLinux OS
- LVE
- kmodlve
- Kernel
Cause
Debug kmodlve module not found.
Solution
- If the installation of the debug kernel was not intentional
- Boot the server on the last known working kernel, and remove the kernel debug packages:
# yum remove kernel-debug*
- Install the latest non-debug kernel version with
# yum install kernel
- Boot with the newest kernel again.
Note: To prevent this debug kernel from installing in the future, add "kernel-debug*
" into the into the yum exclusion list with exclude=
directive in the /etc/yum.conf
and /etc/dnf/dnf.conf
files as shown:
[main]
exclude=kernel-debug*
- II. If the debug kernel is required
- Install corresponding debug version of kmod-lve
yum install kmod-lve-debug
kernel-debug-modules
- Update grub config to recreate symbols mapping
- Load module and restart dependent services
# insmod /lib/modules/4.18.0-425.13.1.lve.el8.x86_64+debug/extra/lve-2.0-50.el8/kmodlve.ko
# service lve restart; service cagefs restart
# service db_governor restart
Comments
0 comments
Please sign in to leave a comment.