vagrant upに失敗します。
環境は以下の通りです。
- macOS Sierra10.12.2
- Vagrant 1.9.1
- VirtualBox 5.3.30
- box bento/centos-7.3 (virtualbox, 2.3.2)
です。$ vagrant up
したときの実行結果は以下のようになります。
lang
1$ vagrant up 2 3Bringing machine 'default' up with 'virtualbox' provider... 4==> default: Checking if box 'bento/centos-7.3' is up to date... 5==> default: Clearing any previously set forwarded ports... 6==> default: Clearing any previously set network interfaces... 7==> default: Preparing network interfaces based on configuration... 8 default: Adapter 1: nat 9 default: Adapter 2: hostonly 10==> default: Forwarding ports... 11 default: 22 (guest) => 2222 (host) (adapter 1) 12==> default: Booting VM... 13==> default: Waiting for machine to boot. This may take a few minutes... 14 default: SSH address: 127.0.0.1:2222 15 default: SSH username: vagrant 16 default: SSH auth method: private key 17 18# ここから処理が進まない 19# 一定時間経過後、以下のエラーメッセージが赤字で表示されます 20Timed out while waiting for the machine to boot. This means that 21Vagrant was unable to communicate with the guest machine within 22the configured ("config.vm.boot_timeout" value) time period. 23 24If you look above, you should be able to see the error(s) that 25Vagrant had when attempting to connect to the machine. These errors 26are usually good hints as to what may be wrong. 27 28If you're using a custom box, make sure that networking is properly 29working and you're able to connect to the machine. It is a common 30problem that networking isn't setup properly in these boxes. 31Verify that authentication configurations are also setup properly, 32as well. 33 34If the box appears to be booting properly, you may want to increase 35the timeout ("config.vm.boot_timeout") value.
Vagrant was unable to communicate with the guest machine
=> Vagrantがゲストマシンと通信できなかった
という部分が原因のようなので、その部分を解決できるようにエラーメッセージなどで県sなくしてみましたが解決に至る情報が得られませんでした。
また、この症状と関連している気がするのですが、ほぼ同時期にXAMPPのApacheがが起動しなくなりました。
$ httpd -v Server version: Apache/2.4.23 (Unix) Server built: Aug 8 2016 18:10:45
Apacheがインストールされていることは上記コマンドにより確認できていますが、何か異常が起きているのかどうかまではわかっていません。
問題は以上です。この問題の解決に対してどのように質問するべきかがわかっていないので、わかりにくい記述となってしまいました。解決のヒントだけでもいただければと思います。よろしくお願いします。
あなたの回答
tips
プレビュー