Home Guides Glossary

If your CentOS 5 server was provisioned prior to Dec 17 2010, then you are likely not running the latest CentOS kernel and are missing many important security patches.


Why am I missing security patches?

To provide the necessary drivers for your RAID card, we used to install a custom kernel on your server. However, updating to the current kernel could remove access to your hard drive.

To remedy this, we recommend reprovisioning your server. This installs an updated kernel that has drivers for your RAID card as well as all necessary security updates. For more information, see Starting over with My Server (Reprovision).

However, if you do not want to reprovision your server, you can update your kernel manually and install a RAID card driver from ElRepo.

Completing these steps requires in-depth Linux knowledge and is an advanced procedure. If you decide to attempt this procedure, we recommend backing up your server and reprovisioning it if you cannot complete the steps.

To Upgrade Your CentOS Server's Kernel

  1. Via SSH, log in to your server as 'root.' See Switching to the Root User on Your Linux Server for information.
  2. Verify that you have the custom kernel. Type:
    uname -r
    You should receive the following response:
    2.6.18-HPTraid
    If you receive a different response, you are not using the custom kernel and are already using the updated kernel.
  3. Verify that you have the expected RAID card connected. Type:
    lspci -d 1103:1720
    You should receive the following response:
    03:09.0 SCSI storage controller: HighPoint (or Triones) Technologies, Inc. RocketRAID
    1720 (2x SATA II RAID Controller) (rev 02)
    If you receive another response, do not proceed.
  4. Download and install the driver for your RAID card. Type the following commands:
    rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org
    rpm -Uvh http://elrepo.org/elrepo-release-5-1.el5.elrepo.noarch.rpm
    yum --enablerepo=elrepo install kmod-rr172x
  5. Modify the file attributes of your grub.conf file to make it editable:
    chattr -i /boot/grub/grub.conf
  6. Modify your yum repo file to allow kernel updates by commenting out the exclude lines in your CentOS-Base.repo file. Type:
    sed -i 's/^exclude/#exclude/' /etc/yum.repos.d/CentOS-Base.repo
  7. Install the latest kernel. Type:
    yum update

    If you do not see the kernel install, try using yum clean.

  8. Reboot your server. Type:
    reboot
  9. Verify you installed the new kernel:
    uname -r
    You should receive the following response:
    2.6.18-194.26.1.el5

Domain Registration

Pay less for website domain names. Register your own .com, .net or .org for as low as $10.18 per year. We have everything you need to get online with your new domain.

Website Builder

Build an amazing website in just under an hour with Website Builder. Take advantage of designs created just for your industry and then customize them to reflect your one-of-a-kind idea.

Website Security

Protect your website and keep customers safe. Your comprehensive Website Security solution. Get peace of mind by securing your websites.

cPanel Hosting

Everything needed to give your website the high-performance home it deserves.  Protect transactions and secure your customer's data with a SSL Certificate
Copyright © 2005 - 2024.  All rights reserved.  Privacy Policy