###前提・実現したいこと
・virtualboxにvagrantでcentosの環境を作成したい。
・vagrant upで以下のエラーメッセージが発生。
###発生している問題・エラーメッセージ
C:\02.CI\vagrant\CentOS67>vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Clearing any previously set forwarded ports... ==> 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) => 2222 (host) (adapter 1) ==> default: 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", "0a9c1a92-b28f-4b45-afab-b9b8f2b8272b", "--type", "headless "] Stderr: VBoxManage.exe: error: The virtual machine 'CentOS67_default_14621743154 22_84565' has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005). More details may be available in 'C:\Users\user\VirtualBox VMs\Ce ntOS67_default_1462174315422_84565\Logs\VBoxHardening.log' VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component Machine, int erface IMachine ■別のボックスでvagrant upを実行 C:\02.CI\vagrant\CentOS67>vagrant box add centos64 https://dl.dropboxusercontent .com/u/3657281/centos64_ja.box ==> box: Box file was not detected as metadata. Adding it directly... ==> box: Adding box 'centos64' (v0) for provider: box: Downloading: https://dl.dropboxusercontent.com/u/3657281/centos64_ja.bo x box: Progress: 100% (Rate: 594k/s, Estimated time remaining: --:--:--) ==> box: Successfully added box 'centos64' (v0) for 'virtualbox'! C:\02.CI\vagrant\CentOS67>cd C:\02.CI\vagrant\centos64 C:\02.CI\vagrant\centos64>vagrant init centos64 C:\02.CI\vagrant\centos64>vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'centos64'... ==> default: Matching MAC address for NAT networking... ==> default: Setting the name of the VM: centos64_default_1462181115765_89659 ==> 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) => 2222 (host) (adapter 1) ==> default: 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", "d8a9a1f0-2c60-401d-9964-5cddd61d4867", "--type", "headless "] Stderr: VBoxManage.exe: error: The virtual machine 'centos64_default_14621811157 65_89659' has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005). More details may be available in 'C:\Users\user\VirtualBox VMs\ce ntos64_default_1462181115765_89659\Logs\VBoxHardening.log' VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component Machine, int erface IMachine
###該当のソースコード
Vagrantfile
Vagrant.configure(2) do |config| config.vm.box = "CentOS67x64" config.vm.network "private_network", ip: "192.168.33.10" end
###試したこと
・biosの仮想化を有効
・virtualboxのバージョンを下げて(4.3.38)vagrant upを実行
・コマンドラインからVirtualBoxを起動。同じエラー(vboxmanage startvm centos64_default_1462181115765_89659 --type=headless)
###補足情報(言語/FW/ツール等のバージョンなど)
os:windows7 64bit
vagrant:1.8.1
virtualbox:5.0.2 / 4.3.38
addしたvagrant box:https://github.com/CommanderK5/packer-centos-template/releases/download/0.6.7/vagrant-centos-6.7.box
別のboxを利用してみても同じエラーが出るのか、試してみて結果を追記していただけますか。
ほかのボックスでも試して見ましたが、同じエラーになりました。
(発生している問題・エラーメッセージにエラーメッセージを追記しております)
インストール済のVirtualBOXに「centos64_default_1462181115765_89659」というマシンが登録されているはずなので、それをGUIでポチポチ切り替えながら立ち上がるか確認してもらっていいですか?私もWindowsでVirtualBOXの仮想マシンが立ち上がらずぐぐるやQiitaでの検索地獄に何度もハマりました
VirtualBoxに「centos64_default_1462181115765_89659」が電源オフで登録されておりましたが、起動できませんでした。
(以下エラーコード)
仮想マシン"centos64_default_1462181115765_89659"のセッションを開けませんでした。
The virtual machine 'centos64_default_1462181115765_89659' has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005). More details may be available in '
C:\Users\user\VirtualBox VMs\centos64_default_1462181115765_89659\Logs\VBoxHardening.log'.
終了コード : E_FAIL (0x80004005)
コンポーネント: Machine
インターフェース: IMachine {480cf695-2d8d-4256-9c7c-cce4184fa048}
回答1件
あなたの回答
tips
プレビュー