If your CDP backups are failing you may see errors like this in the logs:
An exception occurred during the request. The replication driver was not detected (detail: Could not find a suitable hcpdriver module for your system; Please run "r1soft-setup --get-module " on your Agent to install one. )
1) After running the command r1soft-setup --get-module or serverbackup-setup --get-module
You may get the following error
Failed to find headers at
/lib/modules/3.10.0-693.11.6.el7.x86_64/build
.Get module failed.
Falling back to old get-module ...
1.1) You need to check if you have the necessary tools to build the module
yum install kernel-headers-$(uname -r)
yum install kernel-devel-$(uname -r)
Once you install the these tools please run the command again r1soft-setup --get-module or serverbackup-setup --get-module
1.2) If the building of module fails again try running the following command
yum update r1soft-getmodule.x86_64
Then try again
serverbackup-setup --get-module
NOTE: This is deprecated r1soft-setup --get-module so please use serverbackup-setup --get-module
2) You cannot build the module directly on the Linux system
2.1) Verify your kernel version by running
uname -r
2.1.1 )Download the module directly from the R1doft website http://r1soft.mirror.iweb.ca/repo.r1soft.com/modules/
Example my Kernel is 3.10.0-693.11.6.el7.x86_64 and I download the module
2.2.2) Go to the directory
cd /lib/modules/r1soft
2.1.3) Download the module
wget http://r1soft.mirror.iweb.ca/repo.r1soft.com/modules/Centos_7_x64/hcpdriver-cki-3.10.0-693.11.6.el7.x86_64.ko
2.1.4) restart the CDP-agent
/etc/init.d/cdp-agent restart # RedHat 6
systemctil restart sbm-agent.service Redhat 7
2.1.5) Under the directory /lib/modules/r1soft you should see a link created
Example:
lrwxrwxrwx 1 root root 63 Feb 24 18:19 hcpdriver.o -> /lib/modules/r1soft/hcpdriver-cki-3.10.0-693.11.6.el7.x86_64.ko
0 Comments
Please log in to leave a comment.