Safely update kernel through yum concerns

mauicomp

Member
Mar 3, 2014
6
0
51
cPanel Access Level
Root Administrator
I also updated YUM per WHM instructions on a high priority alert this Saturday October 07 2017.
As instructed I ran "yum -y update " via ssh.
I rebooted using the link provided by WHM.
The system then rebooted and my Bluehost control said it was running but the OS never loaded. It took till today for them to fix it as I could not access it at all. They told me it was in a state of kernel panic and a third tier admin was able to recover it for me. That was a bad idea to do it at the beginning of a three day weekend for sure.

Now it is working but still requires the kernel update and I am afraid to do it.
An admin on Sunday had told me it was because there was not enough space.
But I had 10-12 GB of free space at the time. I immediately bought another 60GB but I still have no reason to be sure that was the problem. No later admins agreed with it.

Here is the output from the SSH "yum -y update" command....


Installing : kernel-2.6.32-696.13.2.el6.x86_64 1/4 Updating : ca-certificates-2017.2.14-65.0.1.el6_9.noarch 2/4 Error unpacking rpm package ca-certificates-2017.2.14-65.0.1.el6_9.noarch warning: /etc/pki/java/cacerts created as /etc/pki/java/cacerts.rpmnew warning: /etc/pki/tls/certs/ca-bundle.crt created as /etc/pki/tls/certs/ca-bundl e.crt.rpmnew warning: /etc/pki/tls/certs/ca-bundle.trust.crt created as /etc/pki/tls/certs/ca -bundle.trust.crt.rpmnew error: unpacking of archive failed on file /etc/ssl/certs: cpio: rename Cleanup : kernel-2.6.32-696.3.2.el6.x86_64 3/4 warning: erase unlink of /lib/modules/2.6.32-696.3.2.el6.x86_64/modules.order failed: No such file or directory warning: erase unlink of /lib/modules/2.6.32-696.3.2.el6.x86_64/modules.netwo rking failed: No such file or directory warning: erase unlink of /lib/modules/2.6.32-696.3.2.el6.x86_64/modules.modes etting failed: No such file or directory warning: erase unlink of /lib/modules/2.6.32-696.3.2.el6.x86_64/modules.drm f ailed: No such file or directory warning: erase unlink of /lib/modules/2.6.32-696.3.2.el6.x86_64/modules.block failed: No such file or directory ^Cmkinitrd failed warning: %posttrans(kernel-2.6.32-696.13.2.el6.x86_64) scriptlet failed, exit status 1 Non-fatal POSTTRANS scriptlet failure in rpm package kernel-2.6.32-696.13.2.el6.x86_64

I think all my SSL certs on all sites survived though one seems to be insecure now. They were auto refreshed Cpanel Commodo certificates.

If that is an issue I'll try another thread, here I am just wondering how to safely update the kernel. Please.





 

lorio

Well-Known Member
Feb 25, 2004
314
22
168
cPanel Access Level
Root Administrator
An admin on Sunday had told me it was because there was not enough space.
But I had 10-12 GB of free space at the time. I immediately bought another 60GB but I still have no reason to be sure that was the problem. No later admins agreed with it.
Are you using a virtual server? Where did you look for information about free space? Buying additional space might be not solving the free space issues. It depends on the partitions. The separate boot partition might be full from older kernels. Not sure if buying additional space includes a resize of partitions in your case.

Take a look at this thread:
Boot partition full on CentOS 6
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Now it is working but still requires the kernel update and I am afraid to do it.
An admin on Sunday had told me it was because there was not enough space.
But I had 10-12 GB of free space at the time. I immediately bought another 60GB but I still have no reason to be sure that was the problem. No later admins agreed with it.
Hello,

Could you let us know the output from the "df -h" command on this system?

Thank you.