为什么VirtualBox找不到名为Windows_7的注册机器?
发布时间:2020-12-13 21:03:20 所属栏目:Windows 来源:网络整理
导读:我正在尝试使用VBoxManage setextradata更改虚拟机的TCP / UDP。 每当我输入命令: sudo VBoxManage setextradata Windows_7 "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestEmule_TCP/Protocol" TCP 我收到以下错误: VirtualBox Command Line Managemen
我正在尝试使用VBoxManage setextradata更改虚拟机的TCP / UDP。
每当我输入命令: sudo VBoxManage setextradata Windows_7 "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestEmule_TCP/Protocol" TCP 我收到以下错误: VirtualBox Command Line Management Interface Version 2.1.4 (C) 2005-2009 Sun Microsystems,Inc. All rights reserved. [!] FAILED calling a->virtualBox->FindMachine(Bstr(a->argv[0]),machine.asOutParam()) at line 3688! [!] Primary RC = VBOX_E_OBJECT_NOT_FOUND (0x80BB0001) - Object corresponding to the supplied arguments does not exist [!] Full error info present: true,basic error info present: true [!] Result Code = VBOX_E_OBJECT_NOT_FOUND (0x80BB0001) - Object corresponding to the supplied arguments does not exist [!] Text = Could not find a registered machine named 'Windows_7' [!] Component = VirtualBox,Interface: IVirtualBox,{339abca2-f47a-4302-87f5-7bc324e6bbde} [!] Callee = IVirtualBox,{339abca2-f47a-4302-87f5-7bc324e6bbde} 虚拟机已使用GUI创建。任何想法? $ cd /Users/marco/Library/VirtualBox/Machines/Windows_7 $ ls Logs Windows_7.xml Windows 7.xml.1.5-macosx.bak $ sudo vboxmanage registervm Windows_7.xml VirtualBox Command Line Management Interface Version 2.1.4 (C) 2005-2009 Sun Microsystems,Inc. All rights reserved. [!] FAILED calling a->virtualBox->OpenMachine(Bstr(a->argv[0]),machine.asOutParam()) at line 762! [!] Primary RC = NS_ERROR_FAILURE (0x80004005) - Operation failed [!] Full error info present: true,basic error info present: true [!] Result Code = NS_ERROR_FAILURE (0x80004005) - Operation failed [!] Text = Could not lock the settings file '/var/root/Library/VirtualBox/Windows_7.xml' (VERR_FILE_NOT_FOUND) [!] Component = Machine,Interface: IMachine,{ea6fb7ea-1993-4642-b113-f29eb39e0df0} [!] Callee = IVirtualBox,{339abca2-f47a-4302-87f5-7bc324e6bbde}
它因为使用sudo而失败。 VirtualBox被设计为由任何用户(在vboxus组中)运行,而sudo则以作为VirtualBox配置为空的root用户运行该命令。
您可以键入以下内容: sudo VBoxManage -nologo list vms # Should print only a newline VBoxManage -nologo list vms # Detailled information about all your VMs (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- ms-access – 为什么Select * Faster比Microsoft Access DB
- windows-server-2008 – RDP到Windows Server 2008终端服务
- windows-7 – 以编程方式限制Windows 7上任何应用程序的CPU
- windows-server-2012 – 从Windows Server 2012 R2中删除Hy
- windows – 使用IE9嵌入WebBrowser控件时覆盖IE设置
- 启动AutoCAD时自动加载.NET开发的DLL
- windows-server-2008 – Windows 2008 Server上的死网关检测
- 你如何记录Windows服务器配置?
- 黑-客***用的最短代码大揭秘,颠覆你的世界观!
- reactjs – window.scrollTo()在反应组件中?
推荐文章
站长推荐
- ms-access – 从Microsoft Access计算字符串的MD
- windows – makecert错误:无法访问主题的键
- active-directory – 如何在断开连接的笔记本电脑
- windows – 无法将sessionID 0连接到psexec的ses
- Minimum Window Substring 最小窗口子串问题
- 在Win10 VMWare中运行WinPhone模拟器
- windows-phone-7.1 – 将免费的Windows手机应用程
- Win10下无法安装SVN客户端解决办法(2503/2502)
- windows-phone-7 – 应用程序可以访问的是否有唯
- 如何在Windows应用程序中对加扰的数据包进行逆向
热点阅读