Announcement

Collapse
No announcement yet.

Unknown Kernel, unable to uninstall

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unknown Kernel, unable to uninstall

    Hi,

    Ive installed KernelCare from the Plesk Onyx 17 Extension Manager and I instantly got mails and installation errors saying:

    > Unknown Kernel (Ubuntu 3.13.0-042stab120.20)

    I then uninstalled the KernelCare plugin with the Plesk Extension Manager and even tho its removed from the Extension Manager, I keep getting the errors and about 60 error emails each hour.

    When I run apt-get remove kernelcare I get this output:

    Code:
    root@srv:~# apt-get remove kernelcare
    
    Reading package lists... Done
    
    Building dependency tree
    
    Reading state information... Done
    
    The following packages will be REMOVED:
    
    kernelcare
    
    0 upgraded, 0 newly installed, 1 to remove and 14 not upgraded.
    
    1 not fully installed or removed.
    
    After this operation, 264 kB disk space will be freed.
    
    Do you want to continue? [Y/n] Y
    
    (Reading database ... 122774 files and directories currently installed.)
    
    Removing kernelcare (2.11-4) ...
    
    invoke-rc.d: initscript kcare, action "stop" failed.
    
    dpkg: error processing package kernelcare (--remove):
    
    subprocess installed pre-removal script returned error exit status 1
    
    Errors were encountered while processing:
    
    kernelcare
    
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    
    root@srv:~#
    Can you please help me uninstall KernelCare?

    Thanks!

  • #2
    I solved it by removing the file

    > kcare

    in

    > /ect/init.d/

    , then rebooted the machine and running

    > dpkg --force-all --purge kernelcare

    This resulted in the successful removal of KernelCare:

    Code:
    root@srv:~# dpkg --force-all --purge kernelcare
    
    (Database inlezen ... 122774 files and directories currently installed.)
    
    Removing kernelcare (2.11-4) ...
    
    Purging configuration files for kernelcare (2.11-4) ...
    
    Removing any system startup links for /etc/init.d/kcare ...
    
    /etc/rc0.d/K20kcare
    
    /etc/rc1.d/K20kcare
    
    /etc/rc2.d/S20kcare
    
    /etc/rc3.d/S20kcare
    
    /etc/rc4.d/S20kcare
    
    /etc/rc5.d/S20kcare
    
    /etc/rc6.d/K20kcare

    Comment


    • #3
      The issue has been fixed in kernelcare-2.11-5 version we are preparing to release. Thanks for bringing our attention to this.

      Comment


      • #4
        kernelcare cannot be used with proxmox lxc. There should be a check for lxc vms, otherwise you run into errors..

        Comment


        • #5
          It can be, but only on the host system, not inside containers

          Comment


          • #6
            Yeah I know, in my opinion there should be a message for something like that, e.g. "kernelcare cannot be used inside lxc containers."

            ATM you just get a writable error message

            Comment


            • #7
              Hello,

              Unfortunately, there is no such option at the moment.
              But you can add feature requests to: http://cloudlinux.uservoice.com
              This makes it easy for us to track what people want.

              Comment

              Working...
              X