![升级到 ubuntu 16.04 后,vmware 无法启动服务错误](https://linux22.com/image/995400/%E5%8D%87%E7%BA%A7%E5%88%B0%20ubuntu%2016.04%20%E5%90%8E%EF%BC%8Cvmware%20%E6%97%A0%E6%B3%95%E5%90%AF%E5%8A%A8%E6%9C%8D%E5%8A%A1%E9%94%99%E8%AF%AF.png)
我刚刚升级到 ubuntu 16.04,并且开始遇到 vmware 10.0.6-2700073.x86 的问题。
[无法启动服务。有关详细信息,请参阅日志文件 /tmp/vmware-root/vmware-modconfig-16014.log。]
2016-11-10T09:41:06.301Z| vthread-3| I120: Log for VMware Workstation pid=16014 version=10.0.6 build=build-2700073 option=Release
2016-11-10T09:41:06.301Z| vthread-3| I120: The process is 64-bit.
2016-11-10T09:41:06.301Z| vthread-3| I120: Host codepage=UTF-8 encoding=UTF-8
2016-11-10T09:41:06.301Z| vthread-3| I120: Host is Linux 4.4.0-45-generic Ubuntu 16.04.1 LTS
2016-11-10T09:41:06.301Z| vthread-3| I120: Msg_Reset:
2016-11-10T09:41:06.301Z| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2016-11-10T09:41:06.301Z| vthread-3| I120: ----------------------------------------
2016-11-10T09:41:06.301Z| vthread-3| I120: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2016-11-10T09:41:06.301Z| vthread-3| I120: Msg_Reset:
2016-11-10T09:41:06.301Z| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/config": No such file or directory.
2016-11-10T09:41:06.301Z| vthread-3| I120: ----------------------------------------
2016-11-10T09:41:06.301Z| vthread-3| I120: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
2016-11-10T09:41:06.301Z| vthread-3| I120: PREF Unable to check permissions for preferences file.
2016-11-10T09:41:06.301Z| vthread-3| I120: Msg_Reset:
2016-11-10T09:41:06.301Z| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/preferences": No such file or directory.
2016-11-10T09:41:06.301Z| vthread-3| I120: ----------------------------------------
2016-11-10T09:41:06.301Z| vthread-3| I120: PREF Failed to load user preferences.
2016-11-10T09:41:06.301Z| vthread-3| W110: Logging to /tmp/vmware-root/vmware-modconfig-16014.log
2016-11-10T09:41:06.307Z| vthread-3| I120: Obtaining info using the running kernel.
2016-11-10T09:41:06.307Z| vthread-3| I120: Created new pathsHash.
2016-11-10T09:41:06.307Z| vthread-3| I120: Setting header path for 4.4.0-45-generic to "/lib/modules/4.4.0-45-generic/build/include".
2016-11-10T09:41:06.307Z| vthread-3| I120: Validating path "/lib/modules/4.4.0-45-generic/build/include" for kernel release "4.4.0-45-generic".
2016-11-10T09:41:06.307Z| vthread-3| I120: Failed to find /lib/modules/4.4.0-45-generic/build/include/linux/version.h
2016-11-10T09:41:06.307Z| vthread-3| I120: /lib/modules/4.4.0-45-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2016-11-10T09:41:06.307Z| vthread-3| I120: using /usr/bin/gcc for preprocess check
2016-11-10T09:41:06.312Z| vthread-3| I120: Preprocessed UTS_RELEASE, got value "4.4.0-45-generic".
2016-11-10T09:41:06.312Z| vthread-3| I120: The header path "/lib/modules/4.4.0-45-generic/build/include" for the kernel "4.4.0-45-generic" is valid. Whoohoo!
2016-11-10T09:41:06.427Z| vthread-3| I120: found symbol version file /lib/modules/4.4.0-45-generic/build/Module.symvers
2016-11-10T09:41:06.427Z| vthread-3| I120: Reading symbol versions from /lib/modules/4.4.0-45-generic/build/Module.symvers.
2016-11-10T09:41:06.442Z| vthread-3| I120: Read 18806 symbol versions
2016-11-10T09:41:06.442Z| vthread-3| I120: Reading in info for the vmmon module.
2016-11-10T09:41:06.442Z| vthread-3| I120: Reading in info for the vmnet module.
2016-11-10T09:41:06.442Z| vthread-3| I120: Reading in info for the vmblock module.
2016-11-10T09:41:06.442Z| vthread-3| I120: Reading in info for the vmci module.
2016-11-10T09:41:06.442Z| vthread-3| I120: Reading in info for the vsock module.
2016-11-10T09:41:06.442Z| vthread-3| I120: Setting vsock to depend on vmci.
2016-11-10T09:41:06.442Z| vthread-3| I120: Invoking modinfo on "vmmon".
2016-11-10T09:41:06.444Z| vthread-3| I120: "/sbin/modinfo" exited with status 256.
2016-11-10T09:41:06.444Z| vthread-3| I120: Invoking modinfo on "vmnet".
2016-11-10T09:41:06.445Z| vthread-3| I120: "/sbin/modinfo" exited with status 256.
2016-11-10T09:41:06.445Z| vthread-3| I120: Invoking modinfo on "vmblock".
2016-11-10T09:41:06.446Z| vthread-3| I120: "/sbin/modinfo" exited with status 256.
2016-11-10T09:41:06.446Z| vthread-3| I120: Invoking modinfo on "vmci".
2016-11-10T09:41:06.447Z| vthread-3| I120: "/sbin/modinfo" exited with status 256.
2016-11-10T09:41:06.447Z| vthread-3| I120: Invoking modinfo on "vsock".
2016-11-10T09:41:06.448Z| vthread-3| I120: "/sbin/modinfo" exited with status 0.
2016-11-10T09:41:06.459Z| vthread-3| I120: to be installed: vmmon status: 0
2016-11-10T09:41:06.459Z| vthread-3| I120: to be installed: vmnet status: 0
2016-11-10T09:41:06.478Z| vthread-3| I120: Obtaining info using the running kernel.
2016-11-10T09:41:06.478Z| vthread-3| I120: Setting header path for 4.4.0-45-generic to "/lib/modules/4.4.0-45-generic/build/include".
2016-11-10T09:41:06.478Z| vthread-3| I120: Validating path "/lib/modules/4.4.0-45-generic/build/include" for kernel release "4.4.0-45-generic".
2016-11-10T09:41:06.478Z| vthread-3| I120: Failed to find /lib/modules/4.4.0-45-generic/build/include/linux/version.h
2016-11-10T09:41:06.478Z| vthread-3| I120: /lib/modules/4.4.0-45-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2016-11-10T09:41:06.478Z| vthread-3| I120: using /usr/bin/gcc for preprocess check
2016-11-10T09:41:06.482Z| vthread-3| I120: Preprocessed UTS_RELEASE, got value "4.4.0-45-generic".
2016-11-10T09:41:06.482Z| vthread-3| I120: The header path "/lib/modules/4.4.0-45-generic/build/include" for the kernel "4.4.0-45-generic" is valid. Whoohoo!
2016-11-10T09:41:06.596Z| vthread-3| I120: found symbol version file /lib/modules/4.4.0-45-generic/build/Module.symvers
2016-11-10T09:41:06.596Z| vthread-3| I120: Reading symbol versions from /lib/modules/4.4.0-45-generic/build/Module.symvers.
2016-11-10T09:41:06.610Z| vthread-3| I120: Read 18806 symbol versions
2016-11-10T09:41:06.610Z| vthread-3| I120: Kernel header path retrieved from FileEntry: /lib/modules/4.4.0-45-generic/build/include
2016-11-10T09:41:06.610Z| vthread-3| I120: Update kernel header path to /lib/modules/4.4.0-45-generic/build/include
2016-11-10T09:41:06.610Z| vthread-3| I120: Validating path "/lib/modules/4.4.0-45-generic/build/include" for kernel release "4.4.0-45-generic".
2016-11-10T09:41:06.610Z| vthread-3| I120: Failed to find /lib/modules/4.4.0-45-generic/build/include/linux/version.h
2016-11-10T09:41:06.610Z| vthread-3| I120: /lib/modules/4.4.0-45-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2016-11-10T09:41:06.610Z| vthread-3| I120: using /usr/bin/gcc for preprocess check
2016-11-10T09:41:06.615Z| vthread-3| I120: Preprocessed UTS_RELEASE, got value "4.4.0-45-generic".
2016-11-10T09:41:06.615Z| vthread-3| I120: The header path "/lib/modules/4.4.0-45-generic/build/include" for the kernel "4.4.0-45-generic" is valid. Whoohoo!
2016-11-10T09:41:06.615Z| vthread-3| I120: Found compiler at "/usr/bin/gcc"
2016-11-10T09:41:06.617Z| vthread-3| I120: Got gcc version "5.4.0".
2016-11-10T09:41:06.617Z| vthread-3| I120: The GCC version matches the kernel GCC minor version like a glove.
2016-11-10T09:41:06.617Z| vthread-3| I120: Using user supplied compiler "/usr/bin/gcc".
2016-11-10T09:41:06.618Z| vthread-3| I120: Got gcc version "5.4.0".
2016-11-10T09:41:06.618Z| vthread-3| I120: The GCC version matches the kernel GCC minor version like a glove.
2016-11-10T09:41:06.621Z| vthread-3| I120: Trying to find a suitable PBM set for kernel "4.4.0-45-generic".
2016-11-10T09:41:06.621Z| vthread-3| I120: No matching PBM set was found for kernel "4.4.0-45-generic".
2016-11-10T09:41:06.621Z| vthread-3| I120: The GCC version matches the kernel GCC minor version like a glove.
2016-11-10T09:41:06.621Z| vthread-3| I120: Validating path "/lib/modules/4.4.0-45-generic/build/include" for kernel release "4.4.0-45-generic".
2016-11-10T09:41:06.621Z| vthread-3| I120: Failed to find /lib/modules/4.4.0-45-generic/build/include/linux/version.h
2016-11-10T09:41:06.621Z| vthread-3| I120: /lib/modules/4.4.0-45-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2016-11-10T09:41:06.621Z| vthread-3| I120: using /usr/bin/gcc for preprocess check
2016-11-10T09:41:06.626Z| vthread-3| I120: Preprocessed UTS_RELEASE, got value "4.4.0-45-generic".
2016-11-10T09:41:06.626Z| vthread-3| I120: The header path "/lib/modules/4.4.0-45-generic/build/include" for the kernel "4.4.0-45-generic" is valid. Whoohoo!
2016-11-10T09:41:06.627Z| vthread-3| I120: The GCC version matches the kernel GCC minor version like a glove.
2016-11-10T09:41:06.627Z| vthread-3| I120: Validating path "/lib/modules/4.4.0-45-generic/build/include" for kernel release "4.4.0-45-generic".
2016-11-10T09:41:06.627Z| vthread-3| I120: Failed to find /lib/modules/4.4.0-45-generic/build/include/linux/version.h
2016-11-10T09:41:06.627Z| vthread-3| I120: /lib/modules/4.4.0-45-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2016-11-10T09:41:06.627Z| vthread-3| I120: using /usr/bin/gcc for preprocess check
2016-11-10T09:41:06.631Z| vthread-3| I120: Preprocessed UTS_RELEASE, got value "4.4.0-45-generic".
2016-11-10T09:41:06.631Z| vthread-3| I120: The header path "/lib/modules/4.4.0-45-generic/build/include" for the kernel "4.4.0-45-generic" is valid. Whoohoo!
2016-11-10T09:41:06.631Z| vthread-3| I120: Using temp dir "/tmp".
2016-11-10T09:41:06.632Z| vthread-3| I120: Obtaining info using the running kernel.
2016-11-10T09:41:06.632Z| vthread-3| I120: Setting header path for 4.4.0-45-generic to "/lib/modules/4.4.0-45-generic/build/include".
2016-11-10T09:41:06.632Z| vthread-3| I120: Validating path "/lib/modules/4.4.0-45-generic/build/include" for kernel release "4.4.0-45-generic".
2016-11-10T09:41:06.632Z| vthread-3| I120: Failed to find /lib/modules/4.4.0-45-generic/build/include/linux/version.h
2016-11-10T09:41:06.632Z| vthread-3| I120: /lib/modules/4.4.0-45-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2016-11-10T09:41:06.632Z| vthread-3| I120: using /usr/bin/gcc for preprocess check
2016-11-10T09:41:06.636Z| vthread-3| I120: Preprocessed UTS_RELEASE, got value "4.4.0-45-generic".
2016-11-10T09:41:06.636Z| vthread-3| I120: The header path "/lib/modules/4.4.0-45-generic/build/include" for the kernel "4.4.0-45-generic" is valid. Whoohoo!
2016-11-10T09:41:06.752Z| vthread-3| I120: found symbol version file /lib/modules/4.4.0-45-generic/build/Module.symvers
2016-11-10T09:41:06.752Z| vthread-3| I120: Reading symbol versions from /lib/modules/4.4.0-45-generic/build/Module.symvers.
2016-11-10T09:41:06.766Z| vthread-3| I120: Read 18806 symbol versions
2016-11-10T09:41:06.766Z| vthread-3| I120: Invoking modinfo on "vmmon".
2016-11-10T09:41:06.768Z| vthread-3| I120: "/sbin/modinfo" exited with status 256.
2016-11-10T09:41:06.768Z| vthread-3| I120: Invoking modinfo on "vmnet".
2016-11-10T09:41:06.769Z| vthread-3| I120: "/sbin/modinfo" exited with status 256.
2016-11-10T09:41:07.170Z| vthread-3| I120: Setting destination path for vmmon to "/lib/modules/4.4.0-45-generic/misc/vmmon.ko".
2016-11-10T09:41:07.170Z| vthread-3| I120: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
2016-11-10T09:41:07.175Z| vthread-3| I120: Successfully extracted the vmmon source.
2016-11-10T09:41:07.175Z| vthread-3| I120: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-wu9efZ/vmmon-only auto-build HEADER_DIR=/lib/modules/4.4.0-45-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2016-11-10T09:41:08.134Z| vthread-3| W110: Failed to build vmmon. Failed to execute the build command.
2016-11-10T09:41:08.136Z| vthread-3| I120: Setting destination path for vmnet to "/lib/modules/4.4.0-45-generic/misc/vmnet.ko".
2016-11-10T09:41:08.136Z| vthread-3| I120: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2016-11-10T09:41:08.140Z| vthread-3| I120: Successfully extracted the vmnet source.
2016-11-10T09:41:08.140Z| vthread-3| I120: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-wu9efZ/vmnet-only auto-build HEADER_DIR=/lib/modules/4.4.0-45-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2016-11-10T09:41:11.840Z| vthread-3| W110: Failed to build vmnet. Failed to execute the build command
/etc/init.d/vmware start
Starting VMware services:
Virtual machine monitor failed
Virtual machine communication interface done
VM communication interface socket family done
Blocking file system done
Virtual ethernet failed
VMware Authentication Daemon done
有谁能解决这个问题吗?
答案1
我的经验是,这个问题没有解决办法。我遇到了这个问题,到目前为止,vmware 的官方回答是,这个问题的出现是因为启动 vmware 工作站 10 和 11 所需的驱动程序是未签名的驱动程序(vmmon 和 vmnet);而 Ubuntu 16 不允许未签名的驱动程序在操作系统上自动运行。此外,vmware 工作站本身不提供这些驱动程序,必须在运行服务时编译和安装它们。因此,他们建议的解决方法是创建一个公钥/私钥对,在安装时对驱动程序进行签名,以便 Ubuntu UEFI 可以接受它们。另一个建议的解决方法是关闭 UEFI bios。
嗯,我的经验是,上述“修复”实际上并不适用于所有系统。对我来说,修复方法是花钱购买 vmware Workstation 12 Pro。它会自动加载 vmmon 和 vmnet 驱动程序,并查看我的所有虚拟机并加载它们。
如果这不是生产系统,您可以尝试下载 12 Pro 试用版并亲自查看。