Make sure the traditional way is not working first:
yum install -y kernel-headers kernel-devel
yum install -y serverbackup-enterprise-agent --enablerepo=r1soft
r1soft-setup --get-module;/etc/init.d/cdp-agent restart
If this fails anyhow, you need to install the beta hcp driver. I was using CloudLinux 8.10 so the route for downloading was the following:
https://beta.r1soft.com/modules/CloudLinux_8.10_x64/
You can get your current CloudLinux version by running this command:
cat /etc/os-release |grep VERSION_ID
#result: VERSION_ID="8.10"
Run this command as well to get your current installed Kernel version:
uname -r
In my case I got:
4.18.0-553.8.1.lve.el8.x86_64
So my CloudLinux version is 8.10 and my Kernel version is 4.18.0-553.8.1.lve.el8.x86_64
Feel free to navigate on https://beta.r1soft.com/modules/ until you find the correct OS/Kernel version. Copy the link of the correct kernel file.
Go into the server and run the following, where wget will pull the copied link of the previous step (make sure to replace the URL with the correct one!):
cd /lib/modules/r1soft
wget https://beta.r1soft.com/modules/CloudLinux_8.10_x64/hcpdriver-cki-4.18.0-553.8.1.lve.el8.x86_64.338.ko
/etc/init.d/cdp-agent restart
After this, you should be able to confirm that the hcp driver has been installed by running this command:
lsmod|grep hcp
If you get as a result “hcpdriver” means the procedure was successful.
