zoukankan      html  css  js  c++  java
  • centos6.5 vmware报错 (could open /dev/vmmon)

    在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。

  • 相关阅读:
    nginx接收tcp请求转发server
    eclipse 配置github 提交代码
    eclipse安装JDK11
    java内存管理
    进程 线程 纤程 中断
    DCL单例为什么要加volatile
    如何清理history
    后置引用
    nc 工具使用
    ip_local_port_range 和 ip_local_reserved_ports
  • 原文地址:https://www.cnblogs.com/dch0/p/11821715.html
Copyright © 2011-2022 走看看