Installation of Cyber Protection Agent Failure Due to Wrong Kernel Version (CentOS 7)
For Cloud Backup
Cyber Protection Agent supports Linux with kernel versions 2.6.9 through 5.1 and glibc 2.3.4, as well as a number of x86 and x86_64 distributions. These are listed in the following article:
https://dl.managed-protection.com/u/baas/help/20.08/user/en-US/index.html#33496.html
Ensure that your server has a kernel installed that is supported by the Cyber Protection Agent.
If the installed kernel version is not supported, you will see the following error message:
Failed to install the required package 'RPM' by using APT. │
│ Please install it manually.
root@localhost:~# yum install rpm
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package rpm
If this is the case, first check the installed kernel version, and if necessary, update the kernel.
Attention
Always perform a backup before performing a kernel update. You can use a program such as WinSCP, for example, to do this. You can find out how to save a backup to another server in the following article:
Backing Up Data to a Backup Server (Linux)Always check the release notes before updating the kernel
Most distributions support parallel installation of new and existing kernels. Do not delete the existing kernel until you have finished testing the new kernel.
To install the latest kernel version, enter the following commands:
yum install kernel
yum install kernel-develTo reboot, enter the following command:
[root@localhost ~]# rebootTo check which kernel version is used at boot time, enter the following command:
[root@localhost ~]# $ uname -r
Setting the Kernel Version as Default
To set the kernel version as default in CentOS 7, do the following:
Open the /etc/default/grub file with the vi editor. Enter the following command:
[root@localhost ~]# vi /etc/default/grubReplace the value at the entry GRUB_DEFAULT= with 0:
GRUB_TIMEOUT=1
GRUB_DEFAULT=0
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="no_timer_check console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 elevator=noop crashkernel=auto"
GRUB_DISABLE_RECOVERY="true"Rebuild the grub configuration file. To do this, enter the following command:
[root@localhost ~]# sudo grub2-mkconfig -o /boot/grub2/grub.cfg