質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Vagrant

Vagrantは、VirtualBox上の仮想マシンを コマンドラインから作成してくれるソフトウェアです。 ビルド環境など容易に構築が可能です。

Q&A

解決済

1回答

3391閲覧

vagrant up で謎のエラー

shirout

総合スコア36

Vagrant

Vagrantは、VirtualBox上の仮想マシンを コマンドラインから作成してくれるソフトウェアです。 ビルド環境など容易に構築が可能です。

0グッド

0クリップ

投稿2020/06/19 13:19

編集2020/06/19 13:42
$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Checking if box 'bento/centos-6.8' version '2.3.4' is up to date... Your VM has become "inaccessible." Unfortunately, this is a critical error with VirtualBox that Vagrant can not cleanly recover from. Please open VirtualBox and clear out your inaccessible virtual machines or find a way to fix them.

さっきまで起動できていた仮想サーバが放置していたら接続が切れた上に繋がらなくなりました

調べたところファイル名を変えたり削除してみたりしたのですが無理でした

お願いいたします

<以下追記>
対象のVMとやらがわからずいろいろいじったらエラーが変わりました。

$ vagrant up Traceback (most recent call last): 2: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/bin/vagrant:87:in `<main>' 1: from /opt/vagrant/embedded/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' /opt/vagrant/embedded/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- log4r (LoadError) 13: from /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/bin/vagrant:87:in `<main>' 12: from /opt/vagrant/embedded/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:34:in `require' 11: from /opt/vagrant/embedded/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:123:in `rescue in require' 10: from /opt/vagrant/embedded/lib/ruby/2.6.0/rubygems.rb:212:in `try_activate' 9: from /opt/vagrant/embedded/lib/ruby/2.6.0/rubygems/specification.rb:1041:in `find_by_path' 8: from /opt/vagrant/embedded/lib/ruby/2.6.0/rubygems/specification.rb:1041:in `find' 7: from /opt/vagrant/embedded/lib/ruby/2.6.0/rubygems/specification.rb:1041:in `each' 6: from /opt/vagrant/embedded/lib/ruby/2.6.0/rubygems/specification.rb:1042:in `block in find_by_path' 5: from /opt/vagrant/embedded/lib/ruby/2.6.0/rubygems/bundler_version_finder.rb:39:in `compatible?' 4: from /opt/vagrant/embedded/lib/ruby/2.6.0/rubygems/bundler_version_finder.rb:7:in `bundler_version' 3: from /opt/vagrant/embedded/lib/ruby/2.6.0/rubygems/bundler_version_finder.rb:22:in `bundler_version_with_reason' 2: from /opt/vagrant/embedded/lib/ruby/2.6.0/rubygems/bundler_version_finder.rb:68:in `lockfile_version' 1: from /opt/vagrant/embedded/lib/ruby/2.6.0/rubygems/bundler_version_finder.rb:80:in `lockfile_contents' /opt/vagrant/embedded/lib/ruby/2.6.0/rubygems/bundler_version_finder.rb:80:in `pwd': Operation not permitted - getcwd (Errno::EPERM)

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

ベストアンサー

書いてる通り、VirtualBoxを立ち上げて、対象のVMを除去して再度vagrant upをすれば行けるかと。

投稿2020/06/19 13:30

Mashiro

総合スコア654

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問