geerlingguy / geerlingguy/ansible-for-devops

VirtualBox error: The machine is already locked by a session

Open
#581 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
9.9k
Forks
3.8k
PR merge metrics
No merged PRs in 30d

Description

$ vagrant up scriptbox
Bringing machine 'scriptbox' up with 'virtualbox' provider...
==> scriptbox: Checking if box 'geerlingguy/centos7' version '1.2.27' is up to date...
==> scriptbox: Clearing any previously set forwarded ports...
==> scriptbox: Clearing any previously set network interfaces...
==> scriptbox: Preparing network interfaces based on configuration...
scriptbox: Adapter 1: nat
scriptbox: Adapter 2: hostonly
==> scriptbox: Forwarding ports...
scriptbox: 22 (guest) => 2222 (host) (adapter 1)
==> scriptbox: Running 'pre-boot' VM customizations...
==> scriptbox: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "5b3fa4f2-c6ec-4b11-bc27-972959a39875", "--type", "headless"]

Stderr: VBoxManage.exe: error: The machine 'BashScripts_scriptbox_1711194524335_50351' is already locked by a session (or being locked or unlocked)
VBoxManage.exe: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MachineWrap, interface IMachine, callee IUnknown
VBoxManage.exe: error: Context: "LaunchVMProcess(a->session, sessionType.raw(), ComSafeArrayAsInParam(aBstrEnv), progress.asOutParam())" at line 881 of file VBoxManageMisc.cpp

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.