vagrant upがタイムアウトしてできない

このQ&Aのポイント
  • Windows 10とVirtualBox 5.0.16、Vagrant 1.8.1を使用してvagrant upしようとするとタイムアウトして進まない問題が発生します。
  • vb.guiをtrueに設定すると起動が完了し、ログイン画面まで進みますが、config.vm.boot_timeoutの値を増やしても解決しません。
  • BIOS画面で「Intel Virtualization Technology」の項目がないため、おそらくそれが原因と考えられます。また、ゲストOSには32-bit版を選択しています。他に問題の可能性はありますか?
回答を見る
  • ベストアンサー

vagrant up がタイムアウトしてできない

Windows 10 と VirtualBox 5.0.16、Vagrant 1.8.1 の組み合わせで、「 bento/centos-6.7-i386」の box を使用して vagrant up しようとしていますが、いつまでたっても ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key のまま進みません。 しばらく経つと次のエラーメッセージが表示されます。 Timed out while waiting for the machine to boot. This means that Vagrant was unable to communicate with the guest machine within the configured ("config.vm.boot_timeout" value) time period. vb.gui = true にして確認すると起動が完了してログイン画面まで進んでいます。 config.vm.boot_timeout の数字を増やしてみても変わりません。 Vagrantfile はほぼ初期状態です。 BIOS画面で「Intel Virtualization Technology」の項目はなかったのでおそらく対応していません。そのためゲストOSには 32-bit 版のものを選択しています。 他に何の問題が考えられますか?

質問者が選んだベストアンサー

  • ベストアンサー
  • yoikanet
  • ベストアンサー率100% (1/1)
回答No.1

似た症状になり、Hyper-Vを解除したら解決しました。仮想化の構築がバッティングするみたいですね。以下のサイトが参考になりました。 Windows 10 で Hyper-V と Oracle VirtualBox v5.0.0 は両立できない !? http://app-review.poox.xyz/archives/1449#Hyper-V

django13
質問者

お礼

回答ありがとうございます。Hyper-Vの解除で解決できました。同様の問題が起きていたようです。

関連するQ&A

  • vagrant ssh でトンネリング

    初めて質問させてもらいます。 開発環境をクラウド化する前提で試しにAWSのEC2をvagrantから起動するように設定中です。 ウチの会社は社外に対して直接SSH接続することを許可しておらず、踏み台サーバ(192.168.100.100)を経由してSSHをする必要があります。 現在固定のEC2インスタンスに対してのSSH接続は.ssh/configには以下のように記述し、[ssh ec2.dev.test]としたときに自動でトンネリングするようにしています。 ``` HOST gateway hostname 192.168.100.100 User test HOST ec2.dev.test hostname ec2-***-***-***-***.ap-northeast-1.compute.amazonaws.com User ec2-user ProxyCommand ssh gateway -W %h:%p IdentityFile '~~~~~~~~~~~' ``` vagrant ssh をしたときに自動でssh/configと同じ動きをしてくれるようにするか、オプションでトンネリングできるようにしたいです。 EC2インスタンスは[vagrant up]したときに生成されるため、IP固定ではないため動的にしたいです。 ググってみても「vagrant内にあるMySQLにアクセスする」系統ばかりが出て有力な情報にたどりつけませんでした。 アドバイスをいただけると助かります。 よろしくお願いいたします。 PS.Vagrantfileには以下のように記述してあります。 ``` VAGRANTFILE_API_VERSION = '2' Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = 'dummy' config.vm.provider :aws do |aws, override| aws.access_key_id = '~~~~~~~' aws.secret_access_key = '~~~~~~~' aws.keypair_name = '~~~~~~~' aws.ami = '~~~~~~~' aws.instance_type = 't2.micro' aws.security_groups = [ 'default' ] aws.region = 'ap-northeast-1' override.ssh.username = 'ec2-user' override.ssh.private_key_path = '~~~~~~~' end end ```

  • vagrantとVirtualBox

    vagrantとVirtualBoxはどちらもインストール済みで、いざ起動しようとvagrant upと打ち込むと恐らく失敗したのであろう英文が出てきてしまいました。僕はいまノートパソコンでやっているのですが、それに原因があるのでしょうか。vagrantfileの訂正点は直したつもりです。confing.vm.box_versionは本に書いてあった通りにすると1のようになってしまい、もともとの状態で行うと2のようになってしまいます。成功しているのかも分かりません。 1 vagrant up No usable default provider could be found for your system. Vagrant relies on interactions with 3rd party systems, known as "providers", to provide Vagrant with resources to run development environments. Examples are VirtualBox, VMware, Hyper-V. The easiest solution to this message is to install VirtualBox, which is available for free on all major platforms. If you believe you already have a provider available, make sure itis properly installed and configured. You can see more details about why a particular provider isn't working by forcing usage with `vagrant up --provider=PROVIDER`, which should give you a more specific error message for that particular provider. 2 vagrant up C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/rubygems/requirement.rb:101:in `parse': Illformed requirement ["ox-version"] (Gem::Requirement::BadRequirementError) from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/rubygems/requirement.rb:131:in `block in initialize' from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/rubygems/requirement.rb:131:in `map!' from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/rubygems/requirement.rb:131:in `initialize' from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/box_collection.rb:277:in `new' from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/box_collection.rb:277:in `block in find' from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/box_collection.rb:276:in `map' from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/box_collection.rb:276:in `find' from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/vagrantfile.rb:201:in `block in machine_config' from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/vagrantfile.rb:237:in `machine_config' from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/environment.rb:958:in `block in find_configured_plugins' from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/environment.rb:956:in `each' from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/environment.rb:956:in `find_configured_plugins' from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/environment.rb:983:in `process_configured_plugins' from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/environment.rb:178:in `initialize' from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/bin/vagrant:145:in `new' from C:/HashiCorp/Vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/bin/vagrant:145:in `<main>'

  • vagrant エラー 初心者

    超初心者です。プロ向けのカテゴリからで恐縮ですが、ご教示ください。 vagrant upと打つと下のエラーが出ます。 Bringing machine "default" up with "virtualbox" provider.... ==> default: Checking if box 'centos/7' is up to date.... "rsync" could not be found on your PATH. Make sure that rsync is properly installed on your system and available o the PATH. windowsのためcygwinをインストールしたのですが、その際SSHとrsyncをインストールし忘れたので、追加しましたが変わりません。 よろしくお願いします。

  • HTTP_Request2のタイムアウトの設定

    PEARのHTTP_Request2の設定項目に「connect_timeout」と「timeout」があるのですが、 この2つの違いを教えていただきたく質問致しました。 http://pear.php.net/manual/en/package.http.http-request2.config.php -connect_timeout Connection timeout in seconds. Exception will be thrown if connecting to remote host takes more than this number of seconds. -timeout Total number of seconds a request can take. Use 0 for no limit, should be greater than connect_timeout if set. Exception will be thrown if execution of HTTP_Request2::send() takes more than this number of seconds. 例えば次のようにした場合、何をするまでが10秒で、何をするまでが20秒なのでしょうか。 $request = new HTTP_Request2('http://www.goo.ne.jp/', HTTP_Request2::METHOD_GET, array('connect_timeout' => 10, 'timeout' => 20)); try { $res = $request->send(); } catche ... よろしくお願い致します。

    • 締切済み
    • PHP
  • Ultra60 CDブートができないんです。

    はじめましてSolaris初心者です。 SUN Ultra60 にSolaris10 をインストールしようとメディアを入れて起動したのですが、 Boot Device; net File and args; Timeout waiting for ARP/RARP packet Timeout waiting for ARP/RARP packet Timeout waiting for ARP/RARP packet と移行繰り返すだけで何も入力できないままになってしまいます。 この時、端末操作をできるようにする方法とかあるのでしょうか? 初心者のため愚問かもしれませんが、ご教授お願いいたします。

  • for ~ing と to verb の違い

    I stareted this blog for comunicating with other country's people と I stareted this blog to communicate with other country's people は、違いがありますか? 教えてください。

  • アメリカ 女性ポップシンガーでしょうか?

    よろしくお願いします。  マライア・キャリーに似た歌声で 女性ポップシンガーと思われます。  サビの始まりから "I'm going to see you tonight ... baby This is the life(かThis is the love), you're waiting for"  のように聞こえます。

  • WindowsXPでVMware Serverをインストールし、VM上

    WindowsXPでVMware Serverをインストールし、VM上でwindows95OSの仮想マシンを動かそうとしています。 ホストOSとゲストOSの接続ができなくて困っています。 それぞれのPINGが通りません。 助けてください。 またVMマシンを起動した際に下記メッセージが出ます。 「The network bridge on device VMnet0 is temporarily down because the bridged Ethernet interface is down. The virtual machine may not be able to communicate with the host or with other machines on your network.] よろしくお願いします。

  • php.iniのMYSQLの部分ですが…どのように設定すればいいでしょうか?

    以下がINIの中身ですが、どのように入れたら動くのでしょうか?(当方の環境は、WIN2000です…)MYSQL4.0.23です。 [MySQL] ; Allow or prevent persistent links. mysql.allow_persistent = On ; Maximum number of persistent links. -1 means no limit. mysql.max_persistent = -1 ; Maximum number of links (persistent + non-persistent). -1 means no limit. mysql.max_links = -1 ; Default port number for mysql_connect(). If unset, mysql_connect() will use ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look ; at MYSQL_PORT. mysql.default_port = ; Default socket name for local MySQL connects. If empty, uses the built-in ; MySQL defaults. mysql.default_socket = ; Default host for mysql_connect() (doesn't apply in safe mode). mysql.default_host = ; Default user for mysql_connect() (doesn't apply in safe mode). mysql.default_user = ; Default password for mysql_connect() (doesn't apply in safe mode). ; Note that this is generally a *bad* idea to store passwords in this file. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password") ; and reveal this password! And of course, any users with read access to this ; file will be able to reveal the password as well. mysql.default_password = ; Maximum time (in seconds) for connect timeout. -1 means no limit mysql.connect_timeout = 60 ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and ; SQL-Errors will be displayed. mysql.trace_mode = Off

    • 締切済み
    • PHP
  • CiscoルータのROMモニターからの回復について

    お世話になります。 Cisco 1720ルータを使用しているのですが、電源をいれてみたらIOSが起動しませんでした。 復旧のため以下コマンドを試してみましたが、うまくいきません。 rommon 1 > boot loadprog: bad file magic number: 0x0 boot: cannot load "flash:" rommon 2 > rommon 2 > dir flash: File size Checksum File name 576 bytes (0x240) 0x905f tftpc rommon 3 > rommon 3 > boot flash:tftpc loadprog: bad file magic number: 0x0 boot: cannot load "flash:tftpc" rommon 4 > rommon 4 > boot flash:c1700-ny-mz.121-6.bin open: file "c1700-ny-mz.121-6.bin" not found open(): Open Error = -1 loadprog: error - on file open boot: cannot load "flash:c1700-ny-mz.121-6.bin" rommon 5 > rommon 5 > xmodem -c tftpc Do not start the sending program yet... File size Checksum File name 576 bytes (0x240) 0x905f tftpc WARNING: All existing data in bootflash will be lost! Invoke this application only for disaster recovery. Do you wish to continue? y/n [n]: y Ready to receive file tftpc ... CCCCCCCCCC Timeout waiting for data - aborting download... 数日前に色々コマンドを試し打ちしていた際 tftpサーバは特に立ち上げていることはなく Router#copy running-config tftp Address or name of remote host []? tftp というようなコマンドを打っていたのを覚えています。 正常に起動できるような復旧方法がありましたら 教えていただきたいと思います。 よろしくお願いします。

専門家に質問してみよう