Skip to main content

Yum Update Kernel on Centos 6.9 - Stuck?

Comments

7 comments

  • cPanelMichael
    Hello @EneTar, Did you reboot the server after updating the system to the latest kernel version via YUM? A reboot is required to boot into the new kernel version unless you are using an application such as KernelCare. Thank you.
    0
  • EneTar
    Hi Michael of course I have reboot the system several times. A reboot would be required I guess only if the new kernel has been downloaded. For some reason it doesn't even download the kernel. rpm -qa kernel kernel-2.6.32-696.16.1.el6.x86_64 kernel-2.6.32-696.299.3.2.cp6.x86_64 kernel-2.6.32-696.299.3.1.cp6.x86_64 kernel-2.6.32-696.299.10.3.cp6.x86_64 kernel-2.6.32-696.299.1.1.cp6.x86_64
    yum list installed 'kernel*' Loaded plugins: fastestmirror, tsflags, universal-hooks Loading mirror speeds from cached hostfile * EA4: 204.10.37.146 * cpanel-addons-production-feed: 204.10.37.146 * base: mirrors.kernel.org * extras: mirrors.cat.pdx.edu * updates: mirrors.xmission.com Installed Packages kernel.x86_64 2.6.32-696.16.1.el6 @updates kernel.x86_64 2.6.32-696.299.1.1.cp6 @cPkernel kernel.x86_64 2.6.32-696.299.3.1.cp6 @cPkernel kernel.x86_64 2.6.32-696.299.3.2.cp6 @cPkernel kernel.x86_64 2.6.32-696.299.10.3.cp6 @cPkernel kernel-devel.x86_64 2.6.32-696.199.cpanel6 @cPkernel kernel-devel.x86_64 2.6.32-696.299.1.1.cp6 @cPkernel kernel-devel.x86_64 2.6.32-696.299.3.1.cp6 @cPkernel kernel-devel.x86_64 2.6.32-696.299.3.2.cp6 @cPkernel kernel-devel.x86_64 2.6.32-696.299.10.3.cp6 @cPkernel kernel-firmware.x86_64 2.6.32-696.299.10.3.cp6 @cPkernel kernel-headers.x86_64 2.6.32-696.299.10.3.cp6 @cPkernel kernelcare.x86_64 2.14-2 @/kernelcare-latest-6
    Moreover I use the free kernelcare patch for symlink protection, I don't know if that causes any issues but I have also tried to yum remove kernelcare and reboot -> same... Is there any option anywhere that would disable kernel updates? The only one I know is the exclude in /etc/yum.conf
    0
  • 24x7server
    Hi, Try disabling all other repositories and use only one that is provided by the CentOS-Base*. This will solve the issue.
    0
  • EneTar
    Hi I just tried that, it doesn't update. I tried once only with the "base" enabled and then only with the "updates" repo enabled. I also tried to comment the mirror list and enable only the baseurl of those 2 repos. I also tried to disable the GPG check [base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 #released updates [updates] name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
    0
  • cPanelMichael
    Hello, It looks like you may have been using the cPanel-hardened kernel. This is deprecated as of cPanel version 68. The following document includes instructions on how to remove it: How to Manually Remove the cPanel-Provided Hardened Kernel - cPanel Knowledge Base - cPanel Documentation Let us know if this helps. Thank you.
    0
  • EneTar
    That was it Michael. Thank you
    0
  • cPanelMichael
    Hello, I'm glad to see the issue is now solved. Thank you for sharing the outcome.
    0

Please sign in to leave a comment.