kernel not updating

Audrey

New member
Joined
Oct 31, 2025
Messages
17
Hi

The kernel on this DirectAdmin server has not recently updated.
running
yum upgrade kernel or yum update
does not upgrade the kernel

Server details
Version
1.688 (e3a2d9491a8c9cedb7dbf70788b4499b377de68d)
Operating System linux
Linux Distribution rhel9
Hardware Architecture amd64

The newest version of the kernel is
5.14.0-570.58.1.el9_6.x86_64

This server is running the following kernel
5.14.0-570.49.1.el9_6.x86_64

Please advise
Thank you
Audrey
 
Hello Audrey,

Assuming yum/dnf process completes without errors I would say: Either you're running a virtual server with kernel managed from a hypervisor, or you have a fixed kernel version set in grub.

So what is your case?
 
Thanks for the quick reply

yum completes without errors

this is a dedicated server - totally separate from any other server

also - kernel version not fixed - kernel has been updating normally for at least a year or two
 
Did you reboot the server? I guess, yes. And it loads the old kernel, correct? You can use grubby to check the grub preferences.
 
grubby says "no version specified"
yes to server being recently rebooted - will reboot again now - just in case it helps
 
It seems you did not specify flags for the command, the command if used without flags, reports:

Bash:
[root@server ~]# grubby
grubby: no action specified
[root@server ~]#

Check man pages or help to see on how to use the command
 
[root@host5 ~]# grubby --info="/boot/vmlinuz-$(uname -r)"

index=0

kernel="/boot/vmlinuz-5.14.0-570.49.1.el9_6.x86_64"

args="ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=UUID=47eca380-6bad-4d79-a21c-843b3b1d8d71 biosdevname=0 net.ifnames=0 selinux=0"

root="UUID=49f31846-4a79-4d0f-87a5-863b2721c86f"

initrd="/boot/initramfs-5.14.0-570.49.1.el9_6.x86_64.img"

title="AlmaLinux (5.14.0-570.49.1.el9_6.x86_64) 9.6 (Sage Margay)"

id="2b69319257ce40e1ae01617a08860d70-5.14.0-570.49.1.el9_6.x86_64"
 
[root@host5 ~]# sudo grub2-mkconfig -o /boot/grub/grub.cfg

/sbin/grub2-mkconfig: line 286: /boot/grub/grub.cfg.new: No such file or directory

[root@host5 ~]# sudo grub2-mkconfig -o /boot/grub2/grub.cfg

Generating grub configuration file ...

Adding boot menu entry for UEFI Firmware Settings ...

done



I rebooted again
yum update and yum update kernel updating
 
[root@host5 ~]# grubby --info="/boot/vmlinuz-$(uname -r)"

index=0

kernel="/boot/vmlinuz-5.14.0-570.49.1.el9_6.x86_64"

args="ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=UUID=47eca380-6bad-4d79-a21c-843b3b1d8d71 biosdevname=0 net.ifnames=0 selinux=0"

root="UUID=49f31846-4a79-4d0f-87a5-863b2721c86f"

initrd="/boot/initramfs-5.14.0-570.49.1.el9_6.x86_64.img"

title="AlmaLinux (5.14.0-570.49.1.el9_6.x86_64) 9.6 (Sage Margay)"

id="2b69319257ce40e1ae01617a08860d70-5.14.0-570.49.1.el9_6.x86_64"

[root@host5 ~]#
 
boot loader entries does not show the new kernel

[root@host5 ~]# ls -l /boot/loader/entries/*

-rw-r--r--. 1 root root 516 Apr 4 2024 /boot/loader/entries/2b69319257ce40e1ae01617a08860d70-0-rescue.conf

-rw-r--r-- 1 root root 455 Sep 19 05:36 /boot/loader/entries/2b69319257ce40e1ae01617a08860d70-5.14.0-570.44.1.el9_6.x86_64.conf

-rw-r--r-- 1 root root 455 Sep 25 16:10 /boot/loader/entries/2b69319257ce40e1ae01617a08860d70-5.14.0-570.46.1.el9_6.x86_64.conf

-rw-r--r-- 1 root root 455 Oct 2 06:26 /boot/loader/entries/2b69319257ce40e1ae01617a08860d70-5.14.0-570.49.1.el9_6.x86_64.conf
 
[root@host5 ~]# df -h -T

Filesystem Type Size Used Avail Use% Mounted on

devtmpfs devtmpfs 4.0M 0 4.0M 0% /dev

tmpfs tmpfs 16G 0 16G 0% /dev/shm

tmpfs tmpfs 6.3G 9.3M 6.3G 1% /run

/dev/sda5 ext4 1.8T 1.2T 513G 71% /

/dev/sda2 ext4 966M 363M 538M 41% /boot

tmpfs tmpfs 3.2G 0 3.2G 0% /run/user/0

[root@host5 ~]#



[root@host5 ~]# rpm -qa | grep ^kernel | sort -V

kernel-5.14.0-570.44.1.el9_6.x86_64

kernel-5.14.0-570.46.1.el9_6.x86_64

kernel-5.14.0-570.49.1.el9_6.x86_64

kernel-core-5.14.0-570.44.1.el9_6.x86_64

kernel-core-5.14.0-570.46.1.el9_6.x86_64

kernel-core-5.14.0-570.49.1.el9_6.x86_64

kernel-headers-5.14.0-570.49.1.el9_6.x86_64

kernel-modules-5.14.0-570.44.1.el9_6.x86_64

kernel-modules-5.14.0-570.46.1.el9_6.x86_64

kernel-modules-5.14.0-570.49.1.el9_6.x86_64

kernel-modules-core-5.14.0-570.44.1.el9_6.x86_64

kernel-modules-core-5.14.0-570.46.1.el9_6.x86_64

kernel-modules-core-5.14.0-570.49.1.el9_6.x86_64

kernel-srpm-macros-1.0-13.el9.noarch

kernel-tools-5.14.0-570.49.1.el9_6.x86_64

kernel-tools-libs-5.14.0-570.49.1.el9_6.x86_64

[root@host5 ~]#
 
I agree. I usually install the new kernel using yum update but that is not working

I have a lot of blocked IP ranges in the CSF firewall
any chance this would be preventing yum updates?
 
Last edited:
Back
Top