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.

CloudLinux Uninstall Incomplete?

Discussion in 'CloudLinux' started by mtylerb, Feb 17, 2016.

  1. mtylerb

    mtylerb Well-Known Member

    Joined:
    Nov 10, 2007
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Warburg, AB, Canada
    cPanel Access Level:
    Root Administrator
    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.

    Code:
    yum -groupremove alt-php
    Results in:

    Code:
    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?
     
  2. 24x7ss

    24x7ss Well-Known Member

    Joined:
    Sep 30, 2014
    Messages:
    271
    Likes Received:
    16
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    #2 24x7ss, Feb 18, 2016
    Last edited by a moderator: Feb 18, 2016
  3. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    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.

    Code:
    yum list lvemanager
    
    yum remove lvemanager -y
    
    /usr/sbin/cagefsctl --remove-all
    
    yum remove cagefs -y
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  5. mtylerb

    mtylerb Well-Known Member

    Joined:
    Nov 10, 2007
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Warburg, AB, Canada
    cPanel Access Level:
    Root Administrator
    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.

    I don't believe so, here is the output:

    Code:
    ***@**** [~]# 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
    ***@**** [~]#

    There's definitely some stuff missed from the uninstall:

    Code:
    ***@**** [~]# 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
    ***@**** [~]#
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you let us know the full uninstallation steps you have taken thus far? For instance, which document did you follow originally?

    Thank you.
     
  7. mtylerb

    mtylerb Well-Known Member

    Joined:
    Nov 10, 2007
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Warburg, AB, Canada
    cPanel Access Level:
    Root Administrator
    Exactly the directions on their page:

    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.
     
  8. mtylerb

    mtylerb Well-Known Member

    Joined:
    Nov 10, 2007
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Warburg, AB, Canada
    cPanel Access Level:
    Root Administrator
    Ok, so after running:

    Code:
    # yum remove lve
    Followed by:

    Code:
    # yum remove kmod-iolimits-2.6.32*
    Now there is nothing showing up when running:

    Code:
    # 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:

    Screenshot (28).png

    When clicking on "Select PHP Version", I get the following screen/error:

    Screenshot (29).png

    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.
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Check to see if the "alt-php" package is still installed. If not, try running the following command:

    Code:
    /usr/local/cpanel/bin/rebuild_sprites --quiet
    Thank you.
     
  10. mtylerb

    mtylerb Well-Known Member

    Joined:
    Nov 10, 2007
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Warburg, AB, Canada
    cPanel Access Level:
    Root Administrator
    Code:
    # 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.
     
  11. mtylerb

    mtylerb Well-Known Member

    Joined:
    Nov 10, 2007
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Warburg, AB, Canada
    cPanel Access Level:
    Root Administrator
    Opened a ticket: 7472351
     
    #11 mtylerb, Feb 22, 2016
    Last edited by a moderator: May 4, 2016
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    To update, the issue was addressed by removing the "/usr/local/cpanel/base/frontend/paper_lantern/dynamicui/dynamicui_lvephpsel.conf" file.

    Thank you.
     
Loading...

Share This Page