LoginSignup
16
14

More than 5 years have passed since last update.

VirtualBoxで仮想マシンが瞑想中(システムエラー)になったら

Posted at

VirtualBoxで仮想マシンが瞑想中(システムエラー)になったら

Windows 7のVirtualBox 4.3.12で仮想マシンが瞑想中(システムエラー)となった。原因はメモリ不足と思われる。この状態からvagrant upできず、VirtualBoxのGUIから仮想マシンを停止することもできなかった。

C:\Users\ADMIN\MyVagrant\bpm857>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'bento/centos-6.7' is up to date...
==> default: Clearing any previously set forwarded ports...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["modifyvm", "2bfc1a24-ce63-4996-9bf9-92dac90a7086", "--natpf1", "delete", "ssh"]

Stderr: VBoxManage.exe: error: The machine 'bpm857_default_1463030780543_14826' is already locked for a session (or being unlocked)
VBoxManage.exe: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component Machine, interface IMachine, callee IUnknown
VBoxManage.exe: error: Context: "LockMachine(a->session, LockType_Write)" at line 462 of file VBoxManageModifyVM.cpp

C:\Users\ADMIN\MyVagrant\bpm857>

以下コマンドで仮想マシンを停止することができた。

C:\Program Files\Oracle\VirtualBox>VBoxManage.exe controlvm <マシン名> poweroff
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

C:\Program Files\Oracle\VirtualBox>

参考リンク

VirtualBox で仮想マシンが「瞑想中(システムエラー)」となってにっちもさっちも行かないとき

16
14
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16
14