Skip to end of metadata
Go to start of metadata

Installing Virtuozzo Kernel Headers

Symptom


Could not open '/lib/modules/2.6.9-023stab046.2-enterprise/modules.dep': No such file or directory Checking '/lib/modules/2.6.9-023stab046.2-enterprise/source/' for kernel headers Checking '/lib/modules/2.6.9-023stab046.2-enterprise/build/' for kernel headers Could not find path /lib/modules/2.6.9-023stab046.2-enterprise/build/ Unable to find a valid source directory. Please install the kernel headers for your operating system.

Cause


You have just installed the CDP agent and now you need the kernel headers to build a kernel module for your Linux Agent.

Resolution


[root@shell ~]# PVC=$(awk '{gsub(/-.*$/,"",$NF);print $NF}' /etc/virtuozzo-release) [root@shell ~]# KERNEL=$(uname -r) [root@shell ~]# ARCH=$(uname -m) [root@shell ~]# rpm -ivh http://vzup2date.parallels.com/virtuozzo/linux/${ARCH}/${PVC}/CU-${KERNEL}/vzkernel-devel-${KERNEL}.${ARCH}.rpm

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: Finding Old kernel-devel Packages For CentOS (Knowledge Base) Labels: kernel
Page: Installing Virtuozzo Kernel Headers (Knowledge Base) Labels: kernel
Labels:
kernel kernel Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.