Bobcares

All About the KernelCare Extension for Plesk

by | Sep 25, 2024

Learn more about the KernelCare Extension for Plesk. Our Plesk Support team is here to help you with your questions and concerns.

How to Validate and Install the KernelCare Extension for Plesk

Today, we are going to take a walk through the steps to ensure that the KernelCare extension is properly licensed and installed on our Plesk instance. Additionally, we’ll cover troubleshooting common issues that may arise after installation.

An Overview:

  1. Why Use KernelCare for Plesk
  2. Step 1: Validate Plesk Additional License Keys
  3. Step 2: Install the KernelCare Extension
  4. Step 3: Verify the KernelCare Installation
  5. Troubleshooting KernelCare Installation Issues
  6. Issue: KernelCare Extension Hangs After Installation
  7. Issue: Daily Email Notifications for Expired Trial License
  8. Common Errors and Solutions
  9. Best Practices for KernelCare on Plesk
  10. Monitoring and Managing KernelCare Performance

Why Use KernelCare for Plesk

KernelCare offers a crucial advantage for Plesk users by enabling zero-downtime kernel updates. This ensures that our server remains operational during updates without needing reboots. This is handy for businesses requiring high uptime. It also enhances security by quickly applying patches to kernel vulnerabilities, reducing the risk of exploits.

Additionally, it cuts maintenance costs by minimizing server downtime and automating updates. Hence, it is a time-saving tool for administrators. For Plesk users managing multiple sites or services, KernelCare significantly boosts efficiency and security.

Step 1: Validate Plesk Additional License Keys

Before installing the KernelCare extension, let’s ensure our Plesk license includes the required KernelCare extension. Follow these steps to verify:

  1. First, log into Plesk.
  2. Then, go to Tools & Settings.
  3. Next, head to License Management.

Now, check if “ext-kernelcare-plesk” is listed on the License Management page. If it is, our license is properly configured, and we can proceed with the installation.

If we don’t see the KernelCare license key, follow these steps:

  1. Log in to the client area billing account.
  2. Then, go to the VPS or Dedicated Server subscription.
  3. In the left panel, click on Addons under the Overview section.
  4. Next, find the KernelCare addon and copy the Product Key.
  5. After that, return to Plesk, go to Additional License Keys, and insert the copied Product Key.

Step 2: Install the KernelCare Extension

Now that our license is validated, follow these steps to install the KernelCare extension:

  1. Log into Plesk.
  2. Then, click on Extensions from the left sidebar.
  3. Next. search for the KernelCare extension.
  4. Then click Get it free to install the extension.

    How to Validate and Install the KernelCare Extension for Plesk

Step 3: Verify the KernelCare Installation

Once KernelCare is installed, we can verify its functionality by checking the kernel versions:

  1. Open the KernelCare extension.
  2. Also, make sure that the Effective Kernel Version is higher than the Real Kernel Version. This indicates that KernelCare is properly applied and functioning.

Troubleshooting KernelCare Installation Issues

Issue: KernelCare Extension Hangs After Installation

If we are unable to access KernelCare after installation and the following message is displayed indefinitely, there might be an issue on KernelCare’s side.

The KernelCare extension has been successfully installed. Please allow up to 5 minutes for all components to be fully configured.

Fix:

  1. Log into the server via SSH.
  2. Then, remove the following lock files:

    rm /opt/psa/var/modules/kernelcare-plesk/installing.lock
    rm /usr/local/psa/var/modules/kernelcare-plesk/installing.lock

  3. Re-install the KernelCare extension with the following commands:

    plesk bin extension -u kernelcare-plesk
    plesk bin extension -i kernelcare-plesk

Issue: Daily Email Notifications for Expired Trial License

In some cases, we will get daily email notifications from KernelCare’s cron task stating:

The IP 203.0.113.2 was already used for trialing.

This occurs when the KernelCare trial license has expired, or the extension was removed but the cron task persists.

Fix:

  1. If we have a valid KernelCare license, update it in Tools & Settings > License Management > Retrieve Keys.
  2. If we no longer need KernelCare, we can remove the extension:
    • To remove KernelCare via Plesk:
        1. Log into Plesk.
        2. Go to Extensions > My Extensions > KernelCare.
        3. Click Remove.
    • To remove KernelCare via command-line:
      1. Connect to the server via SSH.
      2. Remove the KernelCare extension:
        plesk bin extension -u kernelcare-plesk

 

  • Remove the KernelCare package:
    • For CentOS/RHEL-based distributions:

      rpm -e kernelcare

    • For Debian/Ubuntu-based distributions:

      apt purge kernelcare

 

Common Errors and Solutions

Even though KernelCare is generally reliable, here are some common issues:

  • If the KernelCare key is missing in Plesk, retrieve it from our billing account and apply it in License Management.
  • If the installation seems stuck, remove the lock files via SSH and reinstall the extension using the command line.
  • If we receive trial license expiry emails, update our license in License Management or remove the extension if no longer needed.

Best Practices for KernelCare on Plesk

To optimize KernelCare:

  • Ensure KernelCare auto-updates are enabled in Extensions to maintain security without manual intervention.
  • Regularly check the kernel status in Extensions to verify that updates are applied correctly.
  • Furthermore, periodically review KernelCare logs in `/var/log/kcare/` to detect issues early.
  • Always maintain regular server backups to prevent data loss in case of failures.
  • Additionally, complement KernelCare with other Plesk security tools like ImunifyAV for full protection.

Monitoring and Managing KernelCare Performance

To keep KernelCare functioning optimally:

  • Use the Plesk interface or run `kcarectl –info` via SSH to check KernelCare’s status.
  • Regularly review logs in `/var/log/kcare/` for insights into kernel updates and potential issues.
  • Additionally, configure email notifications in **Tools & Settings** to stay informed about important updates.
  • Perform periodic audits using Plesk tools and external monitoring solutions to ensure updates aren’t causing issues.

[Need assistance with a different issue? Our team is available 24/7.]

Conclusion

By following the above steps, we can ensure that the KernelCare extension is properly licensed, installed, and configured on our Plesk instance.

Additionally, we now have the tools to troubleshoot common issues that might arise after installation, ensuring our server’s kernel stays up-to-date and secure without reboots.

In brief, our Support Experts introduced us to the KernelCare Extension for Plesk.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF