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.
- Make sure kernel headers and kernel devel are matched with kernel.
- #uname -r
- #rpm -qa |grep kernel
- To install correct kernel headers and kernel devel, use the following command.
- #yum install kernel-headers-$(uname -r)
- #yum install kernel-devel-$(uname -r)
- Go to the directory by using command cd -> #cd /lib/modules/r1soft
- Once above is done go to r1soft repository http://repo.r1soft.com/modules/Centos_7_x64/
- Download the correct module that matches the correct server kernel version. See previous steps.
- #wget http://repo.r1soft.com/modules/Centos_7_x64/hcpdriver-cki-3.10.0-514.el7.x86_64.ko
- restart the agent to load the driver.
- #/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.