Stuck with R1soft the “Replication Driver Missing” error? We can help you.
Usually, this error occurs when the agent OS is rebooted into a new kernel after running an apt or yum upgrade.
Here at Bobcares, we handle requests from our customers to fix similar issues as a part of our Server Management Services. Today we will see how our Support Engineers fix this for our customers.
How to fix R1soft the Replication Driver Missing error
A typical error looks like the one given below:
An exception occurred during the request. Replication driver missing; Unable to open driver at '/dev/hcp'; No such device or address.
Error infers that the CDP Agent kernel driver is not installed for the running kernel on the agent’s Operating System. This error can also occur when we do not install a CDP Agent kernel driver after installing CDP Agent.
Steps to fix this error
We can install a kernel module for the agent by using the r1soft-setup utility, after verifying that the kernel-devel or kernel-headers in the Linux OS matches the current running kernel.
1. Firstly we need can check the current running kernel using the following command:
Output similar to the following one can be seen:
[[email protected]]# uname -r 2.6.32-379.1.1.lve220.127.116.11.el6.x86_64
2. After that, to find which kernel and kernel-devel packages we have installed we can use the following command:
rpm -qa | grep kernel
In the following output, the kernel and kernel-devel are the exact same version.
[[email protected] ~]# rpm -qa | grep kernel kernel-2.6.32-320.4.1.lve1.1.4.el6.x86_64 kernel-2.6.32-379.1.1.lve18.104.22.168.el6.x86_64 dracut-kernel-004-284.el6_3.noarch kernel-firmware-2.6.32-379.1.1.lve22.214.171.124.el6.noarch kernel-2.6.32-231.17.1.lve0.9.16.x86_64 kernel-devel-2.6.32-320.4.1.lve1.1.4.el6.x86_64 kernel-devel-2.6.32-379.1.1.lve126.96.36.199.el6.x86_64
3. To force a custom build using the kernel headers and source files we can use the following:
r1soft-setup --get-module --no-binary
4. We must restart the agent to load the module after acquiring the CDP Agent kernel driver.
This can be done with the following:
5. After that, we can check the module with the following command:
lsmod | grep hcpdriver
6. We can find additional information about the kernel in the following directory.
Furthermore, for getting more information about the kernel modules we can use the following modinfo command:
[email protected]# modinfo hcpdriver-cki-2.6.38-11-server.ko
[Need assistance? We can help you]
In short, we saw how our Support Techs fix R1soft the Replication Driver Missing for our customers.