This error indicates that the CDP Agent kernel driver is not installed for the running kernel on the agent's Operating System. This can happen when the agent OS is rebooted into a new kernel after running an upgrade (usually apt or yum). Or this can occur if you have not installed a CDP Agent kernel driver after the initial install of the CDP Agent.
Resolution
Each time a new kernel is installed on a Linux CDP Agent or upon the first time installing the CDP Agent, you must ensure that you have a CDP Agent kernel driver for your current running kernel. You can install a kernel module for the agent by using the r1soft-setup utility, after verifying that you have the kernel-devel or kernel-headers in the Linux OS that match your current running kernel.
Note Please refer to your Linux distribution documentation for more information about kernel devel and kernel headers http://wiki.r1soft.com/display/CDP3/r1soft-setup |
You can install a kernel module for your running agent by using the 'r1soft-setup' utility, after ensuring that you have the kernel-devel (Redhat/CentOS) or kernel-headers (Debian/Ubuntu) package installed for your current running kernel. There are 3 common types of Redhat based kernel-devel packages that contain the kernel header and source files needed. (kernel-devel, kernel-xen-devel, kernel-PAE-devel) You must match the proper package to your running kernel type.
To find the current running kernel run:
To find what kernel and kernel-devel packages you have installed on a Redhat based system you can use an RPM query like this: (note: the kernel and kernel-devel package versions must match exactly in order to build the correct CDP Linux Agent kernel driver module)
To force a custom build using your kernel headers and source files (the '--no-binary' option tells the kernel build server to build a custom kernel driver and not search for a pre-built kernel driver):
After you have successfully acquired a CDP Agent kernel driver you will need to restart the agent to load the module:
Then you can check that the module is loaded properly with the lsmod command in Linux. http://linux.die.net/man/8/lsmod
Additional information about the kernel module is located at directory listed below.
Note Note that the hcpdriver.o file has a symbolic link to the real kernel driver file. This symbolic link allows CDP to call the file without needing to know the name of the real kernel driver file as it will change each time the kernel is upgraded and a new CDP Linux Agent kernel driver is built. +Example:+ls -l /lib/modules/r1soft total 112 1 root root 114618 2011-09-26 12:58 hcpdriver-cki-2.6.38-11-server.ko 1 root root 53 2011-10-10 10:32 hcpdriver.o -> /lib/modules/r1soft/hcpdriver-cki-2.6.38-11-server.ko |
You can obtain additional information about the kernel modules such as the version that the module is built for by using the modinfo command in Linux.
http://linux.die.net/man/8/modinfo
Related Articles
Page: Linux Agent - Error - Replication Driver Missing (Knowledge Base) Labels: replication, driver, kernel, kernel-devel, kernel-xen-devel, kernel-pae-devel, header |
Page: Building a replication driver for openSUSE (Knowledge Base) Labels: kernel, kernel-devel, dirver, header, replication, driver, kernel-pae-devel, kernel-xen-devel |
Page: How to change the location of the backing file in a replication policy. (Linux Agents) (Knowledge Base) Labels: backup, replication, performance, configuration, cdp_agent, backing, file |
Page: Linux Agent - Error - Replication Driver Missing (Knowledge Base) Labels: replication, driver, kernel, kernel-devel, kernel-xen-devel, kernel-pae-devel, header |
Page: Building a replication driver for openSUSE (Knowledge Base) Labels: kernel, kernel-devel, dirver, header, replication, driver, kernel-pae-devel, kernel-xen-devel |
Page: Linux Agent - Error - Replication Driver Missing (Knowledge Base) Labels: replication, driver, kernel, kernel-devel, kernel-xen-devel, kernel-pae-devel, header |
Page: Building a replication driver for openSUSE (Knowledge Base) Labels: kernel, kernel-devel, dirver, header, replication, driver, kernel-pae-devel, kernel-xen-devel |
Page: Finding Old kernel-devel Packages For CentOS (Knowledge Base) Labels: kernel |
Page: Installing Virtuozzo Kernel Headers (Knowledge Base) Labels: kernel |
Page: Linux Agent - Error - Replication Driver Missing (Knowledge Base) Labels: replication, driver, kernel, kernel-devel, kernel-xen-devel, kernel-pae-devel, header |
Page: Building a replication driver for openSUSE (Knowledge Base) Labels: kernel, kernel-devel, dirver, header, replication, driver, kernel-pae-devel, kernel-xen-devel |
Page: Linux Agent - Error - Replication Driver Missing (Knowledge Base) Labels: replication, driver, kernel, kernel-devel, kernel-xen-devel, kernel-pae-devel, header |
Page: Building a replication driver for openSUSE (Knowledge Base) Labels: kernel, kernel-devel, dirver, header, replication, driver, kernel-pae-devel, kernel-xen-devel |
Page: Linux Agent - Error - Replication Driver Missing (Knowledge Base) Labels: replication, driver, kernel, kernel-devel, kernel-xen-devel, kernel-pae-devel, header |
Page: Building a replication driver for openSUSE (Knowledge Base) Labels: kernel, kernel-devel, dirver, header, replication, driver, kernel-pae-devel, kernel-xen-devel |
Page: Linux Agent - Error - Replication Driver Missing (Knowledge Base) Labels: replication, driver, kernel, kernel-devel, kernel-xen-devel, kernel-pae-devel, header |
Page: Building a replication driver for openSUSE (Knowledge Base) Labels: kernel, kernel-devel, dirver, header, replication, driver, kernel-pae-devel, kernel-xen-devel |