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

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

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

VirtualBoxは、現在米オラクル社が開発している、 x86仮想化ソフトウェア・パッケージの一つです。

Vagrant

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

Q&A

解決済

1回答

1550閲覧

vagrant を使った仮想サーバの起動がうまくいきません。

yusukekita

総合スコア11

VirtualBox

VirtualBoxは、現在米オラクル社が開発している、 x86仮想化ソフトウェア・パッケージの一つです。

Vagrant

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

0グッド

0クリップ

投稿2018/09/03 01:36

ローカル開発環境の構築をしています。

vagrantを使用しローカル開発環境の構築をしています
https://dotinstall.com/lessons/basic_localdev_win_v2/38605
上記のURLの学習サイトと同様の手順で手順で環境の構築を行っているのですが、エラーが発生しました。
実際に仮想サーバが立ち上がっているかを確認する際に入力する

vagrant status
のコマンドを入力した際に

default not created (virtualbox)


表示されていしまいます。

その前に入力する
vagrant up
コマンドを入力して出てくるのは、

発生している問題・エラーメッセージ

Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'bento/centos-6.8'... C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/childprocess-0.6.3/lib/childprocess/windows/process_builder.rb:43:in `join': incompatible character encodings: Windows-31J and UTF-8 (Encoding::CompatibilityError) from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/childprocess-0.6.3/lib/childprocess/windows/process_builder.rb:43:in `create_command_pointer' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/childprocess-0.6.3/lib/childprocess/windows/process_builder.rb:27:in `start' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/childprocess-0.6.3/lib/childprocess/windows/process.rb:70:in `launch_process' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/childprocess-0.6.3/lib/childprocess/abstract_process.rb:82:in `start' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/util/subprocess.rb:153:in `block in execute' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/util/safe_chdir.rb:26:in `block (2 levels) in safe_chdir' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/util/safe_chdir.rb:25:in `chdir' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/util/safe_chdir.rb:25:in `block in safe_chdir' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/util/safe_chdir.rb:24:in `synchronize' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/util/safe_chdir.rb:24:in `safe_chdir' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/util/subprocess.rb:152:in `execute' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/util/subprocess.rb:22:in `execute' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/plugins/providers/virtualbox/driver/base.rb:451:in `block in raw' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/util/busy.rb:19:in `busy' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/plugins/providers/virtualbox/driver/base.rb:450:in `raw' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/plugins/providers/virtualbox/driver/base.rb:388:in `block in execute' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/util/retryable.rb:17:in `retryable' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/plugins/providers/virtualbox/driver/base.rb:383:in `execute' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/plugins/providers/virtualbox/driver/version_5_0.rb:348:in `import' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/plugins/providers/virtualbox/action/import.rb:53:in `import' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/plugins/providers/virtualbox/action/import.rb:13:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/warden.rb:34:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/plugins/providers/virtualbox/action/prepare_clone_snapshot.rb:17:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/warden.rb:34:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/builtin/prepare_clone.rb:15:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/warden.rb:34:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/plugins/providers/virtualbox/action/customize.rb:40:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/warden.rb:34:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/plugins/providers/virtualbox/action/check_accessible.rb:18:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/warden.rb:34:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/warden.rb:95:in `block in finalize_action' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/warden.rb:34:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/builder.rb:116:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/runner.rb:66:in `block in run' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/util/busy.rb:19:in `busy' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/runner.rb:66:in `run' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/builtin/call.rb:53:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/warden.rb:34:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/builtin/config_validate.rb:25:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/warden.rb:34:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/warden.rb:95:in `block in finalize_action' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/warden.rb:34:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/builtin/handle_box.rb:56:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/warden.rb:34:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/warden.rb:95:in `block in finalize_action' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/warden.rb:34:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/builder.rb:116:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/runner.rb:66:in `block in run' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/util/busy.rb:19:in `busy' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/runner.rb:66:in `run' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/builtin/call.rb:53:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/warden.rb:34:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/plugins/providers/virtualbox/action/check_virtualbox.rb:26:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/warden.rb:34:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/builder.rb:116:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/runner.rb:66:in `block in run' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/util/busy.rb:19:in `busy' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/action/runner.rb:66:in `run' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/machine.rb:239:in `action_raw' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/machine.rb:208:in `block in action' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/environment.rb:617:in `lock' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/machine.rb:194:in `call' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/machine.rb:194:in `action' from C:/HashiCorp/Vagrant/embedded/gems/2.1.4/gems/vagrant-2.1.4/lib/vagrant/batch_action.rb:82:in `block (2 levels) in run'

試したこと

いくつかググり同様の事象の事象を調べましたが、検討がつかない状況です。
まだ学習を始めて間もなく、初歩的な質問で申し訳ありませんがもしわかる方がいらっしゃいましたら回答いただけると幸いです。
必要な情報が不足していましたら、すぐに追記します。

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

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

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

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

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

guest

回答1

0

ベストアンサー

https://teratail.com/questions/74291

こちらと類似(というか同じ)と思われますので確認してみて下さい。

投稿2018/09/03 01:42

退会済みユーザー

退会済みユーザー

総合スコア0

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

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

yusukekita

2018/09/05 12:12

助かりました。ユーザ名がカナだと色々がありますね、、、 回答ありがとうございます!
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

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

ただいまの回答率
85.50%

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

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

質問する

関連した質問