Uncategorized

After install r1soft-agent, please read this!

If you see an error on the r1soft central backup :

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. ).

In order to get the r1soft agent properly. You will need to ensure that hcpdriver module has been loaded. Below is the step :

# serverbackup-setup --get-module
Failed to find headers at `/lib/modules/3.10.0-1062.9.1.el7.x86_64/build`.
Get module failed.
Falling back to old get-module ...
exit status 1

If you got above error, this mean you havent install kernel-devel, run this command ( i assueme the server is using Centos )

# yum install kernel-devel

then go to /lib/modules/3.10.0-1062.9.1.el7.x86_64/build

# ls -al /lib/modules/3.10.0-1062.9.1.el7.x86_64/build

You will see that the build symlink is missing, so you have to unlink the symlink

# unlink build

Go check to /lib/modules/ ( the kernel folder should be there )

# ln -s /usr/src/kernels/3.10.0-1062.9.1.el7.x86_64 build

After that run again, the command

# serverbackup-setup --get-module
Building header archive ...
outfile = /tmp/headers897043695
headers = /usr/src/kernels/3.10.0-1062.9.1.el7.x86_64
Session ID: 771594284
Waiting to upload...
Uploading file...
Waiting in build queue...
Building...
Downloading module...

restart the cdp-agent

# service cdp-agent restart

then verify the hcpdriver by run this :

# lsmod | grep hcpdriver
hcpdriver 85110 4

Leave a Reply

Your email address will not be published. Required fields are marked *