仮想マシンを立ち上げているのですが、vagrant upを行ったところdefault: Booting VM...で止まってしまいます
色々調べて
config.vm.provider "virtualbox" do |vb| vb.gui = true end
OSはwindows10です
などの挿入をしたのですがうまくいきません
これはバージョンの相互関係の問題なのでしょうか?
virtualboxバージョンは6.0.4
Vagrantのバージョンは2.2.4
Bringing machine 'default' up with 'virtualbox' provider... ==> default: Checking if box 'bento/centos-6.8' version '2.3.4' is up to date... ==> default: Clearing any previously set forwarded ports... ==> default: Fixed port collision for 22 => 2222. Now on port 2200. ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat default: Adapter 2: hostonly ==> default: Forwarding ports... default: 22 (guest) => 2200 (host) (adapter 1) ==> default: Booting VM...
ここまででタイムアウトしてしまいます
vagrant up --debugで実行したところ
Command: ["modifyvm", "d3a505c1-69ab-45a6-8f01-c56faf63d249", "--natpf1", "delete", "ssh"] Stderr: VBoxManage.exe: error: The machine 'MyCentOS_default_1551703620106_95604' is already locked for a session (or be ing unlocked) VBoxManage.exe: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MachineWrap, interface IMachine , callee IUnknown VBoxManage.exe: error: Context: "LockMachine(a->session, LockType_Write)" at line 527 of file VBoxManageModifyVM.cpp There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. Command: ["modifyvm", "d3a505c1-69ab-45a6-8f01-c56faf63d249", "--natpf1", "delete", "ssh"] Stderr: VBoxManage.exe: error: The machine 'MyCentOS_default_1551703620106_95604' is already locked for a session (or be ing unlocked) VBoxManage.exe: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MachineWrap, interface IMachine , callee IUnknown VBoxManage.exe: error: Context: "LockMachine(a->session, LockType_Write)" at line 527 of file VBoxManageModifyVM.cpp INFO interface: Machine: error-exit ["Vagrant::Errors::VBoxManageError", "There was an error while executing `VBoxManag e`, a CLI used by Vagrant\nfor controlling VirtualBox. The command and stderr is shown below.\n\nCommand: [\"modifyvm\", \"d3a505c1-69ab-45a6-8f01-c56faf63d249\", \"--natpf1\", \"delete\", \"ssh\"]\n\nStderr: VBoxManage.exe: error: The mach ine 'MyCentOS_default_1551703620106_95604' is already locked for a session (or being unlocked)\r\nVBoxManage.exe: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MachineWrap, interface IMachine, callee IUnknown\r\nV BoxManage.exe: error: Context: \"LockMachine(a->session, LockType_Write)\" at line 527 of file VBoxManageModifyVM.cpp\r\ n"]
のようなエラーが出ます