Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Corrupt initramfs after kernel update

Discussion in 'General Discussion' started by nivekau, Sep 10, 2017.

  1. nivekau

    nivekau Active Member

    Joined:
    Jul 22, 2011
    Messages:
    26
    Likes Received:
    2
    Trophy Points:
    53
    When logged into WHM there was a message on the top right hand side of the screen that said
    You must reboot the server to apply kernel updates and apply software updates.

    After the reboot, the server was inaccessible. My support guys were able to access it in Emergency Mode via the IDRAC virtual console. They found that initramfs was corrupt.

    They rebuilt initramfs and the server is now back up running Cloudlinux 7.4 Standard with WHM v66.0.18 but I don't know what versions it was running beforehand. Previously the server had been up for 287 days.

    I am naturally concerned about what will happen when the server is next rebooted. Is there any way to find out what went wrong?
     
  2. sysdop

    sysdop Member

    Joined:
    Sep 10, 2017
    Messages:
    18
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    International
    cPanel Access Level:
    Root Administrator
    Test by console to update the system packages running yum upgrade, if you fail some package there you will notice if something is missing at the time the kernel was updated.

    Otherwise you can run the following two commands to regenerate the parameters you lost.

    grub2-set-default 0
    grub2-mkconfig -o /boot/grub2/grub.cfg

    And finally, reboot the server. In case the problem persists it is ideal to reinstall the kernel next to the damaged packages or directly contact through some ticket to the Cloudlinux team.
     
  3. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,445
    Likes Received:
    56
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    A proper update of package has to be done before you reboot.. Usually they are all dependent packages when the kernel is updated. Check if you have not excluded any of those in the yum.conf..

    If you want to check what kernel version you were having previously, you can check the grub configuration file in the /boot and subfolders..
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,080
    Likes Received:
    1,364
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You may also want to consult with a system administrator if you are concerned the filesystem might become corrupt again, as this is outside the scope of the support we can offer:

    System Administration Services | cPanel Forums

    Thank you.
     
Loading...

Share This Page