Rails5.1.3でWebアプリケーション制作の勉強をしています。
vagrant up時のエラーが解決できずに困っております。
エラー内容
PS C:\Users\owner\MyProjects\Chibi> 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: 3000 (guest) => 3000 (host) (adapter 1) default: 22 (guest) => 2222 (host) (adapter 1) ==> default: Running 'pre-boot' VM customizations... ==> 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", "a766e5e0-135f-4105-b4a4-3982d4e603d7", "--type", "headless"] Stderr: VBoxManage.exe: error: The virtual machine 'Chibi_default_1501913169943_66327' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users\owner\VirtualBox VMs\Chibi_default_1501913169943_66327\Logs\VBoxHardening.log' VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine
VirtualBox5.2.12をインストール、再インストールし直しても一向にエラーが表示され続けます。
Vagrantは2.1.1をインストールしています。
VirtualBox5.2.12とVagrantは2.1.1の相性が悪いせいでエラーが出ていると言うことはありますか?
どなたか教えていただけないでしょうか?宜しくお願いします。
追記
vagrantfile Vagrant.configure("2") do |config| config.vm.box = "centos64" config.vm.network "forwarded_port", guest: 3000, host: 3000 config.vm.network "private_network", ip: "192.168.33.11" config.vm.provider "virtualbox" do |vb| vb.memory = "2048" end end
回答2件
あなたの回答
tips
プレビュー