When vmware7 is installed, the following error occurs: Searching for a valid kernel header path... The path "" is not

Source: Internet
Author: User

After a shared directory is installed with the host machine in VMware work station 7.1.0, the shared directory cannot be found in/mnt/hgfs of the centos system, A problem occurred in the title when you reinstall vmtools! It took a lot of time to solve this problem and it was very bad!

Finally, get some inspiration in this article: http://www.linuxidc.com/Linux/2011-05/36337.htm

1. First confirm that the local GCC, kernel, and kernel-devel have been installed. Run the rpm-q gcc command to view the file (view other files, and replace GCC after rpm-Q with others ). If not, use Yum install to install

2. Verify that the kernel and kernel-devel versions are consistent. Upgrade version: Yum-y upgrade kernel-devel

I don't know if I have re-installed anything. Before upgrading kernel and kernel-devel, I found that the version number directory under the/lib/modules/directory is 2.6.32-71. el6.x86 _ 64, but in the/usr/src/kernel/directory
The version directory is 2.6.32-279.19.1.el6.x86 _ 64 (the version displayed when the uname-R command is executed is inconsistent with the version number in/usr/src/kernel. This is the cause)

3. After the above two steps are completed, reboot (uname-R is also displayed as the old kernel version before reboot, And the reboot is updated to the upgraded version)

4. then execute the vmware-install.pl, the above error should be able to pass (I ended up executing only the/usr/local/vmware-tools-distrib/bin/vmware-config-tools.pl, because many of the previous run vmware-install.pl has been installed
Success)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.