Troubleshoot the R1soft CDP Enterprise Agent issue on CentOS 7

You can see the following error messages during installation of r1soft agent on CentOS 7. It happens when you try to get module installed.

When you try to install server backup device driver by using yum command it might fail. The CDP agent has been installed successfully but hcpdriver module that is required to run backups is missing. Agent cannot run without hcpdriver.

The command serverbackup-setup --get-module or r1soft-setup --get-module fails when you attempt to install the kernel module.

You can see the error message displayed below.

# serverbackup-setup --get-module
Building header archive ...
Failed to get suitable module for this system: Failed to connect to remote server.

Get module failed.
Falling back to old get-module ...
Checking if module needs updated
Checking for binary module
Waiting /
No binary module found
Gathering kernel information
Gathering kernel information complete.
Creating kernel headers package
Checking '/lib/modules/3.10.0-514.el7.x86_64/source/' for kernel headers
Found headers in '/lib/modules/3.10.0-514.el7.x86_64/source/'
Compressing...
Starting module build...
Building / kernel module installer failed. (0):
Internal error encountered. Please contact support
Request ID: (332093e8-d7ca-4d05-9887-08ca579a47c6)
http://www.r1soft.com/distros/index.php?uuid=332093e8-d7ca-4d05-9887-08ca579a47c6


Now please follow the steps to get the hcpdriver works on CentOS 7 64 bits system.

  1. Make sure kernel headers and kernel devel are matched with kernel.
  2. #uname -r
  3. #rpm -qa |grep kernel
  4. To install correct kernel headers and kernel devel, use the following command.
  5. #yum install kernel-headers-$(uname -r)
  6. #yum install kernel-devel-$(uname -r)
  7. Go to the directory by using command cd -> #cd /lib/modules/r1soft
  8. Once above is done go to r1soft repository http://repo.r1soft.com/modules/Centos_7_x64/
  9. Download the correct module that matches the correct server kernel version. See previous steps.
  10. #wget http://repo.r1soft.com/modules/Centos_7_x64/hcpdriver-cki-3.10.0-514.el7.x86_64.ko
  11. restart the agent to load the driver.
  12. #/etc/init.d/cdp-agent restart or service cdp-agent restart

If you are still having the issue please let us know. An extra fee will be applied.
Was this answer helpful? 133 Users Found This Useful (156 Votes)