CloudLinux Uninstall Incomplete?
I installed CloudLinux a few months ago and have found bits and pieces over the last few months that have been missed. The documentation for uninstalling CL is very sparse and poorly documented. As an example:
In cPanel, I can still click the icon for PHP Selector, but clicking the button results in an error.
Results in:
Not sure what else I've missed, it's now running CentOS 6, like I originally had installed with EA4. No point to keeping CL now that cPanel is beginning to support multi-php versions. Any ideas?
yum -groupremove alt-phpResults in:
Loaded plugins: fastestmirror, security, tsflags, universal-hooks
Setting up Group Process
Loading mirror speeds from cached hostfile
* EA4: 70.87.220.252
* base: mirrors.kernel.org
* extras: mirrors.kernel.org
* updates: mirrors.kernel.org
base/group_gz | 219 kB 00:00
No group named alt-php exists
No packages to remove from groups
Not sure what else I've missed, it's now running CentOS 6, like I originally had installed with EA4. No point to keeping CL now that cPanel is beginning to support multi-php versions. Any ideas?
-
Hello :), You may find helpful steps at: mickgenie.com/cpanel-uninstall-cloudlinux/ Make sure to have console access for your server as you will need to remove the CloudLinux Kernel in this process. 0 -
Hello :), I think lvemanager and cagefs package is still present on your server. Can you please check it and remove it with the following command. yum list lvemanager yum remove lvemanager -y /usr/sbin/cagefsctl --remove-all yum remove cagefs -y0 -
Hello :) Please post the output from: rpm -qa|grep lve uname -a
Thank you.0 -
Hello :), You may find helpful steps at: mickgenie.com/cpanel-uninstall-cloudlinux/ Make sure to have console access for your server as you will need to remove the CloudLinux Kernel in this process.
Well, those instructions are far more detailed than the ones supplied by CL. I've already removed the CL Kernel and am running on CentOS kernel, though. uname -a output is below cpMichael's reply.Hello :), I think lvemanager and cagefs package is still present on your server. Can you please check it and remove it with the following command.
yum list lvemanager yum remove lvemanager -y /usr/sbin/cagefsctl --remove-all yum remove cagefs -y
I don't believe so, here is the output:***@**** [~]# yum list lvemanager Loaded plugins: fastestmirror, security, tsflags, universal-hooks Loading mirror speeds from cached hostfile * EA4: 64.50.186.230 * base: centos.sonn.com * extras: centos.sonn.com * updates: centos.sonn.com Error: No matching Packages to list ***@**** [~]# yum remove lvemanager Loaded plugins: fastestmirror, security, tsflags, universal-hooks Setting up Remove Process No Match for argument: lvemanager Loading mirror speeds from cached hostfile * EA4: 64.50.186.230 * base: centos.sonn.com * extras: centos.sonn.com * updates: centos.sonn.com No Packages marked for removal ***@**** [~]# /usr/sbin/cagefsctl --remove-all -bash: /usr/sbin/cagefsctl: No such file or directory root@andromeda [~]# yum remove cagefs Loaded plugins: fastestmirror, security, tsflags, universal-hooks Setting up Remove Process No Match for argument: cagefs Loading mirror speeds from cached hostfile * EA4: 64.50.186.230 * base: centos.sonn.com * extras: centos.sonn.com * updates: centos.sonn.com No Packages marked for removal ***@**** [~]#
Hello :) Please post the output from:
rpm -qa|grep lve uname -a
Thank you.
There's definitely some stuff missed from the uninstall:***@**** [~]# rpm -qa|grep lve liblve-devel-1.3-1.10.el6.cloudlinux.x86_64 kmod-lve-2.6.32-604.16.2.lve1.3.54.el6.x86_64-1.3-54.el6.x86_64 kmod-iolimits-2.6.32-531.23.3.lve1.3.6.el6.x86_64-0.1-119.el6.x86_64 lve-1.3-1.10.el6.cloudlinux.x86_64 lve-utils-1.5-2.2.el6.cloudlinux.x86_64 kmod-lve-2.6.32-531.29.2.lve1.3.11.1.el6.x86_64-1.3-11.1.el6.x86_64 liblve-1.3-1.10.el6.cloudlinux.x86_64 kmod-iolimits-2.6.32-604.16.2.lve1.3.54.el6.x86_64-0.1-184.el6.x86_64 kmod-iolimits-2.6.32-531.29.2.lve1.3.11.10.el6.x86_64-0.1-173.el6.x86_64 kmod-lve-1.3-54.el6.x86_64 lve-wrappers-0.6-9.el6.cloudlinux.x86_64 kmod-lve-2.6.32-531.29.2.lve1.3.11.10.el6.x86_64-1.3-11.10.el6.x86_64 kmod-lve-2.6.32-531.23.3.lve1.3.6.el6.x86_64-1.3-6.el6.x86_64 kmod-iolimits-2.6.32-531.29.2.lve1.3.11.1.el6.x86_64-0.1-134.el6.x86_64 ***@**** [~]# uname -a Linux ***.***.net 4.4.0-x86_64-linode63 #2 SMP Tue Jan 19 12:43:53 EST 2016 x86_64 x86_64 x86_64 GNU/Linux ***@**** [~]#0 -
Could you let us know the full uninstallation steps you have taken thus far? For instance, which document did you follow originally? Thank you. 0 -
Could you let us know the full uninstallation steps you have taken thus far? For instance, which document did you follow originally? Thank you.
Exactly the directions on their page: [quote="http://docs.cloudlinux.com/index.html?uninstalling_cloudlinux.html"> To uninstall CloudLinux, do:$ wget -O cldeployhttp://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy $ sh cldeploy -c
This is a Linode KVM machine, so I then went back to Linode and switched from the CL profile to the CentOS profile. Made sure that yum was cleaned and had no packages marked for update (and updated anything that did). I've also removed the entries in grub.conf referencing the CloudLinux kernel.0 -
Ok, so after running: # yum remove lve
Followed by:# yum remove kmod-iolimits-2.6.32*
Now there is nothing showing up when running:# rpm -qa|grep lve
The second command was just because apparently yum missed 2 packages when removing LVE. I have rebooted the server and am still getting the "Select PHP Version" in cPanel under the Software tab. See the attached screenshot below: 35051 When clicking on "Select PHP Version", I get the following screen/error: 35061 WHM shows no plugins, other than DNSSEC, CSF, Installatron/Softaculous and ClamAV plugins. There are nothing in the cPanel software area that shows any extensions related to LVE or CageFS or CloudLinux. So I'm not sure where these are coming from.0 -
Check to see if the "alt-php" package is still installed. If not, try running the following command: /usr/local/cpanel/bin/rebuild_sprites --quiet
Thank you.0 -
Check to see if the "alt-php" package is still installed. If not, try running the following command:
/usr/local/cpanel/bin/rebuild_sprites --quiet
Thank you.
# yum remove alt-php Loaded plugins: fastestmirror, security, tsflags, universal-hooks Setting up Remove Process No Match for argument: alt-php Loading mirror speeds from cached hostfile * EA4: 64.50.186.230 * base: mirror.scalabledns.com * extras: mirror.scalabledns.com * updates: mirror.scalabledns.com EA4 | 2.9 kB 00:00 ... MariaDB101 | 2.9 kB 00:00 base | 3.7 kB 00:00 extras | 3.4 kB 00:00 longview | 2.9 kB 00:00 updates | 3.4 kB 00:00 No Packages marked for removal # rpm -qa|grep alt-php # rpm -qa|grep alt alt-ruby19-devel-1.9.3-4.el6.x86_64 alt-ruby19-rubygem-rack-1.5.2-1.el6.x86_64 alt-ruby19-rubygem-json-1.5.5-4.el6.x86_64 alt-python33-3.3.2-18.el6.cloudlinux.x86_64 alt-ruby19-rubygems-2.0.14-2.el6.x86_64 alt-ruby21-rubygems-2.2.2-1.el6.x86_64 alt-python34-pip-1.5.6-2.el6.cloudlinux.1.noarch alt-python34-3.4.1-15.el6.cloudlinux.2.x86_64 alt-ruby18-devel-1.8.7-4.el6.x86_64 alt-python34-expat-2.1.0-10.el6.cloudlinux.x86_64 alt-ruby18-rubygems-1.8.29-1.el6.x86_64 alt-python-virtualenv-1.11.6-2.el6.noarch alt-ruby21-libs-2.1.5-1.el6.x86_64 alt-python33-expat-2.1.0-10.el6.cloudlinux.x86_64 alt-python34-devel-3.4.1-15.el6.cloudlinux.2.x86_64 alt-python34-libs-3.4.1-15.el6.cloudlinux.2.x86_64 alt-ruby19-1.9.3-4.el6.x86_64 alt-ruby20-rubygem-json-1.7.7-4.el6.x86_64 alt-ruby21-rubygem-io-console-0.4.2-1.el6.x86_64 alt-ruby21-rubygem-rake-10.1.0-1.el6.x86_64 alt-ruby20-rubygems-2.0.14-4.el6.x86_64 alt-sqlite-3.8.5-2.el6.x86_64 alt-firebird-libfbembed-2.5.3.26778.0-2.el6.x86_64 alt-ruby21-2.1.5-1.el6.x86_64 alt-python27-libs-2.7.8-6.el6.cloudlinux.3.x86_64 alt-python33-pip-1.5.6-2.el6.cloudlinux.1.noarch alt-ruby21-devel-2.1.5-1.el6.x86_64 alt-ruby21-rubygem-rdoc-4.1.0-1.el6.x86_64 alt-python27-expat-2.1.0-10.el6.cloudlinux.x86_64 alt-ruby20-2.0.0-4.el6.x86_64 alt-firebird-filesystem-2.5.3.26778.0-2.el6.x86_64 alt-ruby19-rubygem-rdoc-3.9.5-4.el6.x86_64 alt-ruby18-rdoc-1.8.7-4.el6.noarch alt-ruby20-devel-2.0.0-4.el6.x86_64 cpanel-libsrs_alt-1.0-2.cp1136.x86_64 alt-python33-devel-3.3.2-18.el6.cloudlinux.x86_64 alt-ruby21-rubygem-rack-1.5.2-1.el6.x86_64 alt-ruby20-rubygem-psych-2.0.0-4.el6.x86_64 alt-ruby20-libs-2.0.0-4.el6.x86_64 alt-ruby18-1.8.7-4.el6.x86_64 alt-python27-2.7.8-6.el6.cloudlinux.3.x86_64 alt-python33-setuptools-2.0-8.el6.cloudlinux.1.noarch alt-python34-setuptools-2.0-8.el6.cloudlinux.1.noarch alt-ruby19-libs-1.9.3-4.el6.x86_64 alt-ruby21-rubygem-json-1.8.1-1.el6.x86_64 alt-ruby21-rubygem-psych-2.0.5-1.el6.x86_64 alt-python27-pip-1.5.6-2.el6.cloudlinux.1.noarch alt-ruby18-libs-1.8.7-4.el6.x86_64 alt-python27-setuptools-2.0-8.el6.cloudlinux.1.noarch alt-ruby20-rubygem-rdoc-4.0.0-4.el6.x86_64 alt-ruby18-rubygem-rack-1.5.2-1.el6.x86_64 alt-python27-devel-2.7.8-6.el6.cloudlinux.3.x86_64 alt-libicu-50.1.2-1.el6.x86_64 alt-python33-libs-3.3.2-18.el6.cloudlinux.x86_64 alt-ruby20-rubygem-rack-1.5.2-1.el6.x86_64 #
I don't see any of that referring to alt-php. I did run the rebuild_sprites script and cleared my caches to ensure there wasn't something in the browser resurrecting it, but all to no avail. Still showing up in cPanel under Software, exactly like in the above screenshots.0 -
Opened a ticket: 7472351 0 -
To update, the issue was addressed by removing the "/usr/local/cpanel/base/frontend/paper_lantern/dynamicui/dynamicui_lvephpsel.conf" file. Thank you. 0
Please sign in to leave a comment.
Comments
11 comments