Could not open /dev/vmmon: xxx.Please make sure that the kernel module `vmmon‘ is loade

当Linux VMware运行时提示缺少vmmon内核模块,且无法找到本地文件时,可以通过从官方网站重新下载并安装VMware来解决。安装过程包括变更文件权限、执行安装脚本等步骤,最终成功安装后,问题得以解决。

开启linux vmware虚拟机时报错
Linux vmware报错

显示缺少 vmmon 内核模块,但是本地搜索没有相关文件,也不能直接加载此模块。

解决办法:

从官网重新下载 vmware并安装 【链接:Download VMware Workstation Pro】,即可解决上述问题。

uos:/home/wd/Downloads# ls
VMware-Workstation-Full-16.2.3-19376536.x86_64.bundle

uos:/home/wudan/Downloads# chmod +x ./VMware-Workstation-Full-16.2.3-19376536.x86_64.bundle 
uos:/home/wudan/Downloads# ./VMware-Workstation-Full-16.2.3-19376536.x86_64.bundle 
Extracting VMware Installer...done.
The following virtual machines and VMware applications
are running.  Please suspend or close them, and then press
'Enter' key to continue. Or directly press 'Enter' key to
do this automatically. You can also press any other key,
and then press 'Enter' key to cancel the installation.

> VMware Workstation
: 

Installing VMware Workstation 16.2.3
    Configuring...
[######################################################################] 100%
Installation was successful.

nest.js. [Nest] 84585 - 03/18/2025, 7:56:29 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (2)... TypeError: Cannot convert undefined or null to object at Function.entries (<anonymous>) at validEnumValues (/Users/zhangshiyou/Desktop/study/nest-microservices/node_modules/.pnpm/class-validator@0.14.1/node_modules/src/decorator/typechecker/IsEnum.ts:18:17) at IsEnum (/Users/zhangshiyou/Desktop/study/nest-microservices/node_modules/.pnpm/class-validator@0.14.1/node_modules/src/decorator/typechecker/IsEnum.ts:30:29) at Object.<anonymous> (/Users/zhangshiyou/Desktop/study/nest-microservices/apps/service-base/src/modules/message/dto/index.ts:52:10) at Module._compile (node:internal/modules/cjs/loader:1562:14) at Object..js (node:internal/modules/cjs/loader:1699:10) at Module.load (node:internal/modules/cjs/loader:1313:32) at Function._load (node:internal/modules/cjs/loader:1123:12) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:217:24) [Nest] 84585 - 03/18/2025, 7:56:33 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (3)... TypeError: Cannot convert undefined or null to object at Function.entries (<anonymous>) at validEnumValues (/Users/zhangshiyou/Desktop/study/nest-microservices/node_modules/.pnpm/class-validator@0.14.1/node_modules/src/decorator/typechecker/IsEnum.ts:18:17) at IsEnum (/Users/zhangshiyou/Desktop/study/nest-microservices/node_modules/.pnpm/class-validator@0.14.1/node_modules/src/decorator/typechecker/IsEnum.ts:30:29) at Object.<anonymous> (/Users/zhangshiyou/Desktop/study/nest-microservices/apps/service-base/src/modules/message/dto/index.ts:52:10) at Module._compile (node:internal/modules/cjs/loader:1562:14) at Object..js (node:internal/modules/cjs/loader:1699:10) at Module.load (node:internal/modules/cjs/loader:1313:32) at Function._load (node:internal/modules/cjs/loade
最新发布
03-19
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值