IT数码 购物 网址 头条 软件 日历 阅读 图书馆
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
图片批量下载器
↓批量下载图片,美女图库↓
图片自动播放器
↓图片自动播放器↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁
 
   -> 系统运维 -> Ubuntu升级内核后vmware启动失败 -> 正文阅读

[系统运维]Ubuntu升级内核后vmware启动失败

2022-10-13T03:33:00.888Z In(05) host-43224 DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": 没有那个文件或目录.
2022-10-13T03:33:00.888Z In(05) host-43224 [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": 没有那个文件或目录.
2022-10-13T03:33:00.888Z In(05) host-43224 PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2022-10-13T03:33:00.888Z In(05) host-43224 DictionaryLoad: Cannot open file "/home/kylin/.vmware/config": 没有那个文件或目录.
2022-10-13T03:33:00.888Z In(05) host-43224 [msg.dictionary.load.openFailed] Cannot open file "/home/kylin/.vmware/config": 没有那个文件或目录.
2022-10-13T03:33:00.888Z In(05) host-43224 PREF Optional preferences file not found at /home/kylin/.vmware/config. Using default values.
2022-10-13T03:33:00.957Z Wa(03) host-43224 Logging to /tmp/vmware-kylin/vmware-43224.log
2022-10-13T03:33:00.965Z In(05) host-43224 Obtaining info using the running kernel.
2022-10-13T03:33:00.965Z In(05) host-43224 Created new pathsHash.
2022-10-13T03:33:00.965Z In(05) host-43224 Setting header path for 5.15.0-50-generic to "/lib/modules/5.15.0-50-generic/build/include".
2022-10-13T03:33:00.965Z In(05) host-43224 Validating path "/lib/modules/5.15.0-50-generic/build/include" for kernel release "5.15.0-50-generic".
2022-10-13T03:33:00.965Z In(05) host-43224 Failed to find /lib/modules/5.15.0-50-generic/build/include/linux/version.h
2022-10-13T03:33:00.965Z In(05) host-43224 /lib/modules/5.15.0-50-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2022-10-13T03:33:00.965Z In(05) host-43224 using /usr/bin/gcc-9 for preprocess check
2022-10-13T03:33:00.968Z In(05) host-43224 Preprocessed UTS_RELEASE, got value "5.15.0-50-generic".
2022-10-13T03:33:00.968Z In(05) host-43224 The header path "/lib/modules/5.15.0-50-generic/build/include" for the kernel "5.15.0-50-generic" is valid. ?Whoohoo!
2022-10-13T03:33:01.096Z In(05) host-43224 found symbol version file /lib/modules/5.15.0-50-generic/build/Module.symvers
2022-10-13T03:33:01.096Z In(05) host-43224 Reading symbol versions from /lib/modules/5.15.0-50-generic/build/Module.symvers.
2022-10-13T03:33:01.110Z In(05) host-43224 Read 26281 symbol versions
2022-10-13T03:33:01.110Z In(05) host-43224 Reading in info for the vmmon module.
2022-10-13T03:33:01.110Z In(05) host-43224 Reading in info for the vmnet module.
2022-10-13T03:33:01.110Z In(05) host-43224 Invoking modinfo on "vmmon".
2022-10-13T03:33:01.113Z In(05) host-43224 "/sbin/modinfo" exited with status 256.
2022-10-13T03:33:01.113Z In(05) host-43224 Invoking modinfo on "vmnet".
2022-10-13T03:33:01.115Z In(05) host-43224 "/sbin/modinfo" exited with status 256.
2022-10-13T03:33:01.125Z In(05) host-43224 to be installed: vmmon status: 0
2022-10-13T03:33:01.125Z In(05) host-43224 to be installed: vmnet status: 0
2022-10-13T03:33:01.136Z In(05) host-43224 Obtaining info using the running kernel.
2022-10-13T03:33:01.137Z In(05) host-43224 Setting header path for 5.15.0-50-generic to "/lib/modules/5.15.0-50-generic/build/include".
2022-10-13T03:33:01.137Z In(05) host-43224 Validating path "/lib/modules/5.15.0-50-generic/build/include" for kernel release "5.15.0-50-generic".
2022-10-13T03:33:01.137Z In(05) host-43224 Failed to find /lib/modules/5.15.0-50-generic/build/include/linux/version.h
2022-10-13T03:33:01.137Z In(05) host-43224 /lib/modules/5.15.0-50-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2022-10-13T03:33:01.137Z In(05) host-43224 using /usr/bin/gcc-9 for preprocess check
2022-10-13T03:33:01.140Z In(05) host-43224 Preprocessed UTS_RELEASE, got value "5.15.0-50-generic".
2022-10-13T03:33:01.140Z In(05) host-43224 The header path "/lib/modules/5.15.0-50-generic/build/include" for the kernel "5.15.0-50-generic" is valid. ?Whoohoo!
2022-10-13T03:33:01.273Z In(05) host-43224 found symbol version file /lib/modules/5.15.0-50-generic/build/Module.symvers
2022-10-13T03:33:01.273Z In(05) host-43224 Reading symbol versions from /lib/modules/5.15.0-50-generic/build/Module.symvers.
2022-10-13T03:33:01.287Z In(05) host-43224 Read 26281 symbol versions
2022-10-13T03:33:01.297Z In(05) host-43224 Kernel header path retrieved from FileEntry: /lib/modules/5.15.0-50-generic/build/include
2022-10-13T03:33:01.297Z In(05) host-43224 Update kernel header path to /lib/modules/5.15.0-50-generic/build/include
2022-10-13T03:33:01.297Z In(05) host-43224 Validating path "/lib/modules/5.15.0-50-generic/build/include" for kernel release "5.15.0-50-generic".
2022-10-13T03:33:01.297Z In(05) host-43224 Failed to find /lib/modules/5.15.0-50-generic/build/include/linux/version.h
2022-10-13T03:33:01.297Z In(05) host-43224 /lib/modules/5.15.0-50-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2022-10-13T03:33:01.297Z In(05) host-43224 using /usr/bin/gcc-9 for preprocess check
2022-10-13T03:33:01.300Z In(05) host-43224 Preprocessed UTS_RELEASE, got value "5.15.0-50-generic".
2022-10-13T03:33:11.571Z In(05) host-43224 make[2]: *** [scripts/Makefile.build:297:/tmp/modconfig-w1XHK0/vmmon-only/common/task.o] 错误 1
2022-10-13T03:33:11.571Z In(05) host-43224 make[2]: *** 正在等待未完成的任务....
2022-10-13T03:33:11.571Z In(05) host-43224 make[1]: *** [Makefile:1900:/tmp/modconfig-w1XHK0/vmmon-only] 错误 2
2022-10-13T03:33:11.571Z In(05) host-43224 make: *** [Makefile:117:vmmon.ko] 错误 2
2022-10-13T03:33:11.571Z In(05) host-43224 Using kernel build system.
2022-10-13T03:33:11.571Z In(05) host-43224 In file included from ./include/linux/pci.h:43,
2022-10-13T03:33:11.571Z In(05) host-43224 ? ? ? ? ? ? ? ? ?from /tmp/modconfig-w1XHK0/vmnet-only/compat_netdevice.h:27,
2022-10-13T03:33:11.571Z In(05) host-43224 ? ? ? ? ? ? ? ? ?from /tmp/modconfig-w1XHK0/vmnet-only/netif.c:44:
2022-10-13T03:33:11.571Z In(05) host-43224 ./include/linux/pci_ids.h:2272: warning: "PCI_VENDOR_ID_VMWARE" redefined
2022-10-13T03:33:11.571Z In(05) host-43224 ?2272 | #define PCI_VENDOR_ID_VMWARE ?0x15ad
2022-10-13T03:33:11.571Z In(05) host-43224 ? ? ? |
2022-10-13T03:33:11.571Z In(05) host-43224 In file included from /tmp/modconfig-w1XHK0/vmnet-only/net.h:38,
2022-10-13T03:33:11.571Z In(05) host-43224 ? ? ? ? ? ? ? ? ?from /tmp/modconfig-w1XHK0/vmnet-only/vnetInt.h:26,
2022-10-13T03:33:11.571Z In(05) host-43224 ? ? ? ? ? ? ? ? ?from /tmp/modconfig-w1XHK0/vmnet-only/netif.c:43:
2022-10-13T03:33:11.571Z In(05) host-43224 /tmp/modconfig-w1XHK0/vmnet-only/vm_device_version.h:57: note: this is the location of the previous definition
2022-10-13T03:33:11.571Z In(05) host-43224 ? ?57 | #define PCI_VENDOR_ID_VMWARE ? ? ? ? ? ? ? ? ? ?0x15AD
2022-10-13T03:33:11.571Z In(05) host-43224 ? ? ? |
2022-10-13T03:33:11.572Z In(05) host-43224 In file included from ./include/linux/pci.h:43,
2022-10-13T03:33:11.572Z In(05) host-43224 ? ? ? ? ? ? ? ? ?from /tmp/modconfig-w1XHK0/vmnet-only/compat_netdevice.h:27,
2022-10-13T03:33:11.572Z In(05) host-43224 ? ? ? ? ? ? ? ? ?from /tmp/modconfig-w1XHK0/vmnet-only/netif.c:44:
2022-10-13T03:33:11.572Z In(05) host-43224 ./include/linux/pci_ids.h:2273: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
2022-10-13T03:33:11.572Z In(05) host-43224 ?2273 | #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
2022-10-13T03:33:11.572Z In(05) host-43224 ? ? ? |
?

安装缺失模块

需要手动去编译缺失的vmmonvmnet模块

依赖一个git开源仓库,获取仓库

#git clone https://github.com/mkubecek/vmware-host-modules

# cd vmware-host-modules

#git? branch -a

#remotes/origin/master
? remotes/origin/player
? remotes/origin/player-12.5.2
? remotes/origin/player-12.5.5
? remotes/origin/player-12.5.6
查看本机的vmware

vmware --version
VMware Workstation 16.2.1 build-18811642

执行

git checkout workstation-16.2.1

开始编译安装后

sudo? make?

sudo make? install

最后重新加载所有vmware模块服务

sudo /etc/init.d/vmware start

最后点开vmware可以正常启动

  系统运维 最新文章
配置小型公司网络WLAN基本业务(AC通过三层
如何在交付运维过程中建立风险底线意识,提
快速传输大文件,怎么通过网络传大文件给对
从游戏服务端角度分析移动同步(状态同步)
MySQL使用MyCat实现分库分表
如何用DWDM射频光纤技术实现200公里外的站点
国内顺畅下载k8s.gcr.io的镜像
自动化测试appium
ctfshow ssrf
Linux操作系统学习之实用指令(Centos7/8均
上一篇文章      下一篇文章      查看所有文章
加:2022-10-17 13:11:55  更:2022-10-17 13:14:30 
 
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁

360图书馆 购物 三丰科技 阅读网 日历 万年历 2024年11日历 -2024/11/15 6:36:32-

图片自动播放器
↓图片自动播放器↓
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
图片批量下载器
↓批量下载图片,美女图库↓
  网站联系: qq:121756557 email:121756557@qq.com  IT数码