分页: 1 / 1

命令行启动虚拟机报错

发表于 : 2024年 5月 23日 星期四 10:44 am
lauchinghz
/Volume1/@apps/virtualbox/bin/vboxheadless --startvm openwrt --vrde off
Oracle VM VirtualBox Headless Interface 6.1.46
(C) 2008-2023 Oracle Corporation
All rights reserved.

VBoxHeadless: ERROR: failed to create the VirtualBoxClient object!
VBoxHeadless: error: Code NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154) - Class not registered (extended info not available)
Most likely, the VirtualBox COM server is not running or failed to start.
请问什么缘故造成的,打算通过命令行启动虚拟机达到开机自动启动的目的,目前报错

Re: 命令行启动虚拟机报错

发表于 : 2024年 5月 23日 星期四 6:25 pm
TMnight
看报错信息可能是VirtualBox 应用服务没有启动,可以试试先在应用中心启用VirtualBox

Re: 命令行启动虚拟机报错

发表于 : 2024年 5月 23日 星期四 10:02 pm
lauchinghz
TMnight 写了: 2024年 5月 23日 星期四 6:25 pm 看报错信息可能是VirtualBox 应用服务没有启动,可以试试先在应用中心启用VirtualBox
vbox服务是正常运行的 已经有虚拟机正在运行 只是单纯的使用命令行无法正常启动虚拟机 vboxmanage命令也是如此