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.

How to Remove CloudLinux?

Discussion in 'CloudLinux' started by goodbot, Apr 1, 2015.

  1. goodbot

    goodbot Member

    Joined:
    Jan 29, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Florida
    cPanel Access Level:
    Root Administrator
    I've successfully removed the cloudlinux core stuff from my CentOS environment (via the CloudLinux supplied scripts), but when I try to remove the CageFS... I get:

    root@bb1 [/usr/sbin]# cagefsctl --remove-all
    Error: current running kernel is NOT supported
    root@bb1 [/usr/sbin]#

    Sooo... I need to compile a particularly configured kernel just to remove cagefs?!?

    OK... what are the secret (compiler switch & values) details here? Does anyone know?
     
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    The output may simply mean that you are not running a CloudLinux kernel. If you are not using an "lve" kernel, CageFS does nothing. What is the output of this command?

    Code:
    # uname -a
    If the kernel name does not have "lve" in it, then you are not using a CloudLinux LVE kernel, and CageFS is doing nothing. If that is the case, you can simply remove the CageFS RPM package.
     
  3. goodbot

    goodbot Member

    Joined:
    Jan 29, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Florida
    cPanel Access Level:
    Root Administrator
    Yes. You're correct. Thank you.

    When I ran the CloudLinux supplied uninstall scripts... these took care of replacing the lve kernel. So, that process left CageFS on the machine. I guess that's a courtesy... if CageFS OpenSource such that I can continue running it without the lve kernel? It's probably useless without the lve kernel. Maybe the ClouLinux uninstall script leaves the CageFS alone assuming that we have FS cleanup work to do in transferring content away from the CageFS back into regular/non-caged FSs...

    Also... I'm seeing that there's no WHM gui option for the RPM uninstall command? I'll do it at a root terminal.

    Thanks for your help.
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,470
    Likes Received:
    198
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  5. goodbot

    goodbot Member

    Joined:
    Jan 29, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Florida
    cPanel Access Level:
    Root Administrator
    For further posterity... In order to properly/cleanly remove CloudLinux from your instance:

    1. First, while still running with the CloudLinux "lve" versioned kernel, migrate/move all folder/file content away from the caged file system into your non-caged file systems...
    2. Follow the instructions at http://docs.cloudlinux.com/unistalling_cagefs.html ...
    3. Follow the instructions at http://docs.cloudlinux.com/uninstalling_cloudlinux.html ...
    This last step involves replacing the CloudLinux "lve" versioned kernel with your own kernel. It probably makes the best sense to build such a replacement kernel first... before you start this above process.
     
Loading...

Share This Page