Rails5.1.3でWebアプリケーション制作の勉強をしています。
以前は正常にvagrant upに成功して作業できていたのですが、errorが発生しvagrant upに失敗するようになってしまい
解決できず困っています。
サイトで調べたところ、Virtual Boxをアンインストールし最新のバージョンを再インストールすると解消できます。とあったので
再インストールをしましたが、状況は変わりませんでした。
Vagrantも最新のバージョンに再インストールしましたがそれでも解消されません。
再インストールしたバージョンは以下になります。
Virtual Box 5.2.12
Vagrant 2.1.1
エラーの内容は以下になります。
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 PS C:\Users\owner\MyProjects\Chibi> $
どなたか解決方法を教えていただけないでしょうか?宜しくお願いします。
追記
大量のコードだったためerrorと記載のあった部分だけ追記しました。
3704.36e4: Error -104 in supR3HardenedWinReSpawn! (enmWhat=5) 3704.36e4: Error relaunching VirtualBox VM process: 5 Command line: '60eaff78-4bdd-042d-2e72-669728efd737-suplib-3rdchild --comment Chibi_default_1501913169943_66327 --startvm a766e5e0-135f-4105-b4a4-3982d4e603d7 --vrde config "--sup-hardening-log=C:\Users\owner\VirtualBox VMs\Chibi_default_1501913169943_66327\Logs\VBoxHardening.log"' 36f4.36ec: supR3HardNtChildWaitFor[1]: Quitting: ExitCode=0x1 (rcNtWait=0x0, rcNt1=0x0, rcNt2=0x103, rcNt3=0x103, 121 ms, the end);
追記2
VirtualBoxのGUIを立ち上げて「設定」をクリックすると「無効な設定がみつかりました。」と表示されます。
内容は
システム:マザーボードページ
ホストコンピューターの実メモリ(3.93GB)の80%を超えるメモリーが、仮想マシンに対して割り当てられています。
ホストOSが十分なメモリーを使用できません。割り当てメモリを減らしてください。
という内容でした。
この内容に対しどう対応すればいいのかわかりませんが、これが原因なのでしょうか?
また、どのように対処すればいいのでしょうか?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/06/14 01:45
2018/06/14 02:20