I am trying to install VMware on my linux centOS server, but in final step i been asked to install headers of the kernel I have installed it using this command: # yum install kernel-devel but then i got this error from VMware installation: The directory of kernel headers (version 2.6.18-164.2.1.e15) does not match with running kernel (version 2.6.18-128.1.10.e15). --- Do i need to install the headers of my current kernel version? if yes how? Or i need to update my kernel itself? to match the kernel headers that i already installed? i tried to update it but i got this message: No Package marked for update Thanks!
Is this running under Xen or another Hypervisor? If you would, please post the results of a "uname -a", which will show if you're using a custom-compiled kernel.
First check whether the kernel headers are matching with your current kernel. # uname -r (this will give you the running kernel) # rpm -q kernel-devel (this will query the kernel headers availbale) if these thing does not match, # yum -y upgrade kernel kernel-devel Reboot and you should be okay. Cheers!
Yeah, looks like the kernel was already updated, but i forget to reboot the server in order to see the change So anuradham was the right person...........horayyyyyyyyyyy