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)