For Dedicated Server, which are managed in Cloud Panel

This article explains how to proceed if the installation of the Cyber Protection Agent on a Dedicated Server with Rocky Linux 9 fails.

The Rocky Linux 9 image used by IONOS for the Dedicated Server installs the kernel version kernel-5.14.0-503.14.1.el9_5.x86_64. This version is no longer available in the repositories available for updates and installations.

When you install the Cyber Protection Agent, it attempts to install kernel-devel-5.14.0-503.14.1.el9_5.x86_64. As this is not available, the installation of the Cyber Protection Agent fails.

If you have already installed the latest kernel level version on the Dedicated Server, you must install the kernel level version kernel-devel-5.14.0-503.14.1.el9_5.x86_64 manually.

If an older kernel level version is installed on the Dedicated Server, you must uninstall the kernel level and then install the kernel level version kernel-devel-5.14.0-503.14.1.el9_5.x86_64 manually.

The necessary steps are listed in the step-by-step instructions below.

Procedure if the latest kernel level version is already installed on the dedicated server.

  • Log in to the server as an administrator.
  • To carry out the next steps, you will need to install additional software. Use the command below to install programmes for creating software (bison and flex), libraries for security functions (openssl-devel) and for managing executable files (elfutils-libelf-devel), as well as a tool for downloading files (wget).

    [root@localhost ~]# sudo dnf install bison elfutils-libelf-devel flex openssl-devel wget

  • Change to the /tmp directory. Enter the following command:

    [root@localhost ~]# cd /tmp

  • Download the kernel level version kernel-devel-5.14.0-503.14.1.el9_5.x86_64 manually with the following command.

    [root@localhost ~]# wget https://www.rpmfind.net/linux/almalinux/9.5/AppStream/x86_64/os/Packages/kernel-devel-5.14.0-503.14.1.el9_5.x86_64.rpm 

  • To install the kernel level version kernel-devel-5.14.0-503.14.1.el9_5.x86_64 manually, enter the following command:

    [root@localhost ~]# rpm -ivh kernel-devel-5.14.0-503.14.1.el9_5.x86_64.rpm

  • Install the Cyber Protection Agent. You can find instructions in the following article:

    Install Backup Agent (Dedicated Server with Linux)

Procedure if an older kernel level version is installed on the dedicated server.

  • Log in to the server as an administrator.
  • To list all installed kernel level packages on your system, enter the following command:

    [root@localhost ~]# rpm -qa | grep kernel-devel

  • To uninstall a specific kernel level package with the specified version, enter the following command:

    [root@localhost ~]# sudo dnf remove kernel-devel-<version>

  • To carry out the next steps, you will need to install additional software. Use the command below to install programmes for creating software (bison and flex), libraries for security functions (openssl-devel) and for managing executable files (elfutils-libelf-devel), as well as a tool for downloading files (wget).

    [root@localhost ~]# sudo dnf install bison elfutils-libelf-devel flex openssl-devel wget

  • Change to the /tmp directory. To do this, enter the following command:

    [root@localhost ~]# cd /tmp

  • To download the kernel level version kernel-devel-5.14.0-503.14.1.el9_5.x86_64 manually, enter the following command:

    [root@localhost ~]# wget https://www.rpmfind.net/linux/almalinux/9.5/AppStream/x86_64/os/Packages/kernel-devel-5.14.0-503.14.1.el9_5.x86_64.rpm

  • To install the kernel level version kernel-devel-5.14.0-503.14.1.el9_5.x86_64 manually, enter the following command:

    [root@localhost ~]# rpm -ivh kernel-devel-5.14.0-503.14.1.el9_5.x86_64.rpm

  • Install the Cyber Protection Agent. You can find instructions here:

    Install Backup Agent (Dedicated Server with Linux)