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:
uname -r
Output similar to the following one can be seen:
[root@host]# uname -r 2.6.32-379.1.1.lve1.1.7.6.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.
[root@CloudLinux6 ~]# rpm -qa | grep kernel kernel-2.6.32-320.4.1.lve1.1.4.el6.x86_64 kernel-2.6.32-379.1.1.lve1.1.7.6.el6.x86_64 dracut-kernel-004-284.el6_3.noarch kernel-firmware-2.6.32-379.1.1.lve1.1.7.6.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.lve1.1.7.6.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:
/etc/init.d/cdp-agent restart
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.
/lib/modules/r1soft
Furthermore, for getting more information about the kernel modules we can use the following modinfo command:
root@host# modinfo hcpdriver-cki-2.6.38-11-server.ko
[Need assistance? We can help you]
Conclusion
In short, we saw how our Support Techs fix R1soft the Replication Driver Missing for our customers.
0 Comments