【问题标题】:VirtualBox Headless Frontend process wont stop even after Vagrant halt/reload command即使在 Vagrant 停止/重新加载命令之后,VirtualBox Headless Frontend 进程也不会停止
【发布时间】:2021-10-08 00:51:36
【问题描述】:

以前从 Vagrant 运行的进程在运行 Vagrant 停止/重新加载后没有停止/终止,这反过来又给了我这个错误。

Command: ["startvm", "c76a8bec-7a40-47c9-b01f-1c8b2b0a7def", "--type", "headless"]

Stderr: VBoxManage.exe: error: The VM session was closed before any attempt to power it on VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component SessionMachine, interface ISession

我很确定这是因为进程正在运行,因为当我通过任务管理器终止进程并重新运行命令时,它可以正常工作。似乎是什么导致进程未被删除?还是 Vagrant 停止/重新加载实际上并没有阻止它们?

将 Windows 10 与 Virtualbox 6.1 和 Vagrant 2.2 结合使用

【问题讨论】:

    标签: windows vagrant virtualbox


    【解决方案1】:

    我在两台不同的 Windows 10 机器上看到了这种行为。即使不使用 Vagrant 也会发生这种情况;有时无头 VM 进程根本不会退出。在 VirtualBox 6.1 之前我从未见过它,我怀疑这只是 VirtualBox 中的一个错误。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-10-16
    • 1970-01-01
    • 1970-01-01
    • 2015-10-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-06-03
    相关资源
    最近更新 更多