r1soft backup error : kernel header missing

r1soft CDP Backup Agent error

r1soft backup error : kernel header missing

Last day I’ve updated the kernel for the server to patch one of the major vulnerability and it causing the backup failure ( r1soft CDP backup ), in the detailed check, it is because of the kernel module for the r1soft cdp backup is missing. Inorder to make it work, we need to reinstall the CDP agent. And while trying to install the r1soft backup agent and we are getting the following error;

# serverbackup-setup --get-module
 Checking if module needs updated
 Checking for binary module
 Waiting /
 No binary module found
 Gathering kernel information
 Gathering kernel information complete.
 Creating kernel headers package
 Checking '/lib/modules/2.6.18-416.el5.centos.plus/source/' for kernel headers
 Checking '/usr/src/kernels/2.6.18-416.el5.centos.plus-i686/' for kernel headers
 Checking '/lib/modules/2.6.18-416.el5.centos.plus/build/' for kernel headers
 Unable to find a valid source directory.
 Please install the kernel headers for your operating system.

Mostly the error is due to missing of kernel devel. We can install the package kernel-devel using the following command

yum install kernel-devel

Once the kernel-devel is installed, please try the following command again

# serverbackup-setup --get-module
About Suhesh KS 24 Articles
Mr. Suhesh KS is Linux System Administrator by profession with 11 Years of work experience in Linux system administration in web hosting, data center and data warehousing industry and have worked with reputed support companies. He has wide range of skills include team management, system administration ( Linux ), programming ( bash, perl, php, java ), web hosting, data center support, seo analysis.