goodbot

Member
Jan 29, 2004
21
0
151
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:

[email protected] [/usr/sbin]# cagefsctl --remove-all
Error: current running kernel is NOT supported
[email protected] [/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?
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
24
143
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.
 

goodbot

Member
Jan 29, 2004
21
0
151
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.
 

goodbot

Member
Jan 29, 2004
21
0
151
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.