在centos6.5安装完成后,创建虚拟机的时候报错
could open /dev/vmmon: No such file or directory.
Please make sure that the kernel module `vmmon' is loaded.
执行以下命令:
cd /usr/lib/vmware/modules/source/
tar -xvf vmmon.tar
cd vmmon-only/
make
cp vmmon.ko /lib/modules/2.6.32-504.el6.x86_64/misc/vmmon.ko
modprobe vmmon
然后重新打开VMware即可。
如果执行make的时候报如下错误:
[root@tic34-linux vmmon-only]# make Using standalone build system. In file included from ./autoconf/geninclude.c:20: ./include/compat_autoconf.h:36:31: error: linux/autoconf.h: No such file or directory In file included from .././autoconf/geninclude.c:20: .././include/compat_autoconf.h:36:31: error: linux/autoconf.h: No such file or directory Dependencies for driverLog.c In file included from .././linux/driverLog.c:26: .././include/driver-config.h:43:5: error: #error "No Module support in this kernel. Please configure with CONFIG_MODULES" make[1]: *** [driverLog.d] Error 1 make: *** [deps] Error 2
执行 yum install automake gcc kernel-devel
然后重新make。