这是“systemctl status vmware”命令的错误输出:
● vmware.service - LSB: This service starts and stops VMware services
Loaded: loaded (/etc/init.d/vmware; generated)
Active: failed (Result: exit-code) since Sun 2019-03-31 15:35:54 WITA; 15min ago
Docs: man:systemd-sysv-generator(8)
Process: 12791 ExecStart=/etc/init.d/vmware start (code=exited, status=1/FAILURE)
Tasks: 4 (limit: 4915)
CGroup: /system.slice/vmware.service
├─11081 /usr/lib/vmware/bin/vmware-vmblock-fuse -o subtype=vmware-vmblock,default_permissions,allow_other /var/run/vmblock-fuse
└─11105 /usr/sbin/vmware-authdlauncher
Mar 31 15:35:54 <username> vmware[12791]: Starting VMware services:
Mar 31 15:35:54 <username> vmware[12791]: [37B blob data]
Mar 31 15:35:54 <username> vmware[12791]: [52B blob data]
Mar 31 15:35:54 <username> vmware[12791]: [53B blob data]
Mar 31 15:35:54 <username> vmware[12791]: [33B blob data]
Mar 31 15:35:54 <username> vmware[12791]: [30B blob data]
Mar 31 15:35:54 <username> vmware[12791]: [41B blob data]
Mar 31 15:35:54 <username> systemd[1]: vmware.service: Control process exited, code=exited status=1
Mar 31 15:35:54 <username> systemd[1]: vmware.service: Failed with result 'exit-code'.
Mar 31 15:35:54 <username> systemd[1]: Failed to start LSB: This service starts and stops VMware services.
答案1
sudo apt update && apt upgrade
重新启动并确保在 grub 菜单中选择了最新的内核(应该是默认的)
sudo reboot
重新安装 VMware Workstation 内核模块
vmware-modconfig --console --install-all
再次重新启动以确保模块加载
sudo reboot
这对我有用。