teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

11

誤字訂正

2017/04/13 23:51

投稿

himashirou
himashirou

スコア12

title CHANGED
File without changes
body CHANGED
@@ -59,7 +59,7 @@
59
59
  で試されていることを行いました。
60
60
  sudo ln -sf /dev/null /etc/udev/rules.d/70-persistent-net.rules
61
61
  を行ってみましたが
62
- 最初のsudeでvagrantからそんなコマンドはないと怒られました。
62
+ 最初のsudoでvagrantからそんなコマンドはないと怒られました。
63
63
 
64
64
  現況、vagrant sshではつながるけど
65
65
  vagrantfileに記載したIPではつながらないです。

10

修正

2017/04/13 23:51

投稿

himashirou
himashirou

スコア12

title CHANGED
File without changes
body CHANGED
@@ -81,16 +81,4 @@
81
81
 
82
82
  ※ただ、VagrantFileの内容は、前の1.9.3の時のファイルです。
83
83
 
84
- ---*---*---*---*---*---*---
84
+ ---*---*---*---*---*---*---
85
- できました!
86
-
87
- バージョンを落としたところ
88
- 何もなかったかのように
89
- すんなりとpingもputtyでの接続もできました。
90
-
91
- ご教示くださった方々、
92
- お騒がしてすみませんでした。
93
-
94
- ひとまず1.8.6のバージョンでは
95
- スムーズに勉強を進められそうです。
96
- ありがとうございました。

9

解決

2017/04/13 16:07

投稿

himashirou
himashirou

スコア12

title CHANGED
File without changes
body CHANGED
@@ -79,4 +79,18 @@
79
79
  config.vm.network "private_network", ip: "192.168.33.10"
80
80
  end
81
81
 
82
- ※ただ、VagrantFileの内容は、前の1.9.3の時のファイルです。
82
+ ※ただ、VagrantFileの内容は、前の1.9.3の時のファイルです。
83
+
84
+ ---*---*---*---*---*---*---
85
+ できました!
86
+
87
+ バージョンを落としたところ
88
+ 何もなかったかのように
89
+ すんなりとpingもputtyでの接続もできました。
90
+
91
+ ご教示くださった方々、
92
+ お騒がしてすみませんでした。
93
+
94
+ ひとまず1.8.6のバージョンでは
95
+ スムーズに勉強を進められそうです。
96
+ ありがとうございました。

8

追記修正

2017/04/13 16:05

投稿

himashirou
himashirou

スコア12

title CHANGED
File without changes
body CHANGED
@@ -38,7 +38,7 @@
38
38
 
39
39
  よろしくご教示をお願いします。
40
40
 
41
- ***
41
+ ---*---*---*---*---*---*---
42
42
  その後、設定を一からやり直し
43
43
  一度強制終了してから再度Vagrant upを行ったところ
44
44
  default running (virtualbox)
@@ -52,6 +52,7 @@
52
52
  PUTTYから192.168.33.10へつなごうとしても
53
53
  タイムアップでつながりませんでした。
54
54
 
55
+ ---*---*---*---*---*---*---
55
56
  その後、
56
57
  同じようなトラブルに遭われた方のサイト
57
58
  [http://to-developer.com/blog/?p=1827](http://to-developer.com/blog/?p=1827)
@@ -63,7 +64,7 @@
63
64
  現況、vagrant sshではつながるけど
64
65
  vagrantfileに記載したIPではつながらないです。
65
66
 
66
-
67
+ ---*---*---*---*---*---*---
67
68
  Vagrantのバージョン:
68
69
  先ほどまで最新版1.9.3でした。
69
70
  ネットを調べていると新しいバージョンだと不具合が出ているようなので

7

追記

2017/04/13 15:12

投稿

himashirou
himashirou

スコア12

title CHANGED
File without changes
body CHANGED
@@ -61,4 +61,21 @@
61
61
  最初のsudeでvagrantからそんなコマンドはないと怒られました。
62
62
 
63
63
  現況、vagrant sshではつながるけど
64
- vagrantfileに記載したIPではつながらないです。
64
+ vagrantfileに記載したIPではつながらないです。
65
+
66
+
67
+ Vagrantのバージョン:
68
+ 先ほどまで最新版1.9.3でした。
69
+ ネットを調べていると新しいバージョンだと不具合が出ているようなので
70
+ 今、どっとインストールと同じ1.8.6を落として試そうとしています。
71
+
72
+ VirtualBoxのバージョン:
73
+ 5.1.18です。
74
+
75
+ VagrantFileの内容:
76
+ Vagrant.configure("2") do |config|
77
+ config.vm.box = "bento/centos-6.8"
78
+ config.vm.network "private_network", ip: "192.168.33.10"
79
+ end
80
+
81
+ ※ただ、VagrantFileの内容は、前の1.9.3の時のファイルです。

6

リンク張り

2017/04/13 15:11

投稿

himashirou
himashirou

スコア12

title CHANGED
File without changes
body CHANGED
@@ -54,7 +54,7 @@
54
54
 
55
55
  その後、
56
56
  同じようなトラブルに遭われた方のサイト
57
- http://to-developer.com/blog/?p=1827
57
+ [http://to-developer.com/blog/?p=1827](http://to-developer.com/blog/?p=1827)
58
58
  で試されていることを行いました。
59
59
  sudo ln -sf /dev/null /etc/udev/rules.d/70-persistent-net.rules
60
60
  を行ってみましたが

5

追記

2017/04/13 10:41

投稿

himashirou
himashirou

スコア12

title CHANGED
File without changes
body CHANGED
@@ -50,4 +50,15 @@
50
50
 
51
51
  となりましたが、やはりその続きで
52
52
  PUTTYから192.168.33.10へつなごうとしても
53
- タイムアップでつながりませんでした。
53
+ タイムアップでつながりませんでした。
54
+
55
+ その後、
56
+ 同じようなトラブルに遭われた方のサイト
57
+ http://to-developer.com/blog/?p=1827
58
+ で試されていることを行いました。
59
+ sudo ln -sf /dev/null /etc/udev/rules.d/70-persistent-net.rules
60
+ を行ってみましたが
61
+ 最初のsudeでvagrantからそんなコマンドはないと怒られました。
62
+
63
+ 現況、vagrant sshではつながるけど
64
+ vagrantfileに記載したIPではつながらないです。

4

追記

2017/04/13 10:40

投稿

himashirou
himashirou

スコア12

title CHANGED
File without changes
body CHANGED
@@ -39,28 +39,7 @@
39
39
  よろしくご教示をお願いします。
40
40
 
41
41
  ***
42
- その後、設定を一からやり直してみたところ
42
+ その後、設定を一からやり直し
43
- 途中から
44
- 「 default: Warning: Remote connection disconnect. Retrying...
45
- default: Warning: Remote connection disconnect. Retrying...
46
- default:
47
- default: Vagrant insecure key detected. Vagrant will automatically replace
48
- default: this with a newly generated keypair for better security.
49
- The guest machine entered an invalid state while waiting for it
50
- to boot. Valid states are 'starting, running'. The machine is in the
51
- 'unknown' state. Please verify everything is configured
52
- properly and try again.
53
-
54
- If the provider you're using has a GUI that comes with it,
55
- it is often helpful to open that and watch the machine, since the
56
- GUI often has more helpful error messages than Vagrant can retrieve.
57
- For example, if you're using VirtualBox, run `vagrant up` while the
58
- VirtualBox GUI is open.
59
-
60
- The primary issue for this error is that the provider you're using
61
- is not properly configured. This is very rarely a Vagrant issue.」
62
- とありました。
63
-
64
43
  一度強制終了してから再度Vagrant upを行ったところ
65
44
  default running (virtualbox)
66
45
 

3

追記

2017/04/12 16:22

投稿

himashirou
himashirou

スコア12

title CHANGED
File without changes
body CHANGED
@@ -60,4 +60,15 @@
60
60
  The primary issue for this error is that the provider you're using
61
61
  is not properly configured. This is very rarely a Vagrant issue.」
62
62
  とありました。
63
+
64
+ 一度強制終了してから再度Vagrant upを行ったところ
63
- 動いていなさそうというのはわかるのですが、どこを調べればよいものなのでしょうか?
65
+ default running (virtualbox)
66
+
67
+ The VM is running. To stop this VM, you can run `vagrant halt` to
68
+ shut it down forcefully, or you can run `vagrant suspend` to simply
69
+ suspend the virtual machine. In either case, to restart it again,
70
+ simply run `vagrant up`
71
+
72
+ となりましたが、やはりその続きで
73
+ PUTTYから192.168.33.10へつなごうとしても
74
+ タイムアップでつながりませんでした。

2

追記

2017/04/12 16:16

投稿

himashirou
himashirou

スコア12

title CHANGED
File without changes
body CHANGED
@@ -36,4 +36,28 @@
36
36
  設定ファイルに記載した192.168.33.10でつなげるには
37
37
  どうしたらよいのか…です。
38
38
 
39
- よろしくご教示をお願いします。
39
+ よろしくご教示をお願いします。
40
+
41
+ ***
42
+ その後、設定を一からやり直してみたところ
43
+ 途中から
44
+ 「 default: Warning: Remote connection disconnect. Retrying...
45
+ default: Warning: Remote connection disconnect. Retrying...
46
+ default:
47
+ default: Vagrant insecure key detected. Vagrant will automatically replace
48
+ default: this with a newly generated keypair for better security.
49
+ The guest machine entered an invalid state while waiting for it
50
+ to boot. Valid states are 'starting, running'. The machine is in the
51
+ 'unknown' state. Please verify everything is configured
52
+ properly and try again.
53
+
54
+ If the provider you're using has a GUI that comes with it,
55
+ it is often helpful to open that and watch the machine, since the
56
+ GUI often has more helpful error messages than Vagrant can retrieve.
57
+ For example, if you're using VirtualBox, run `vagrant up` while the
58
+ VirtualBox GUI is open.
59
+
60
+ The primary issue for this error is that the provider you're using
61
+ is not properly configured. This is very rarely a Vagrant issue.」
62
+ とありました。
63
+ 動いていなさそうというのはわかるのですが、どこを調べればよいものなのでしょうか?

1

文字書式変更

2017/04/12 16:07

投稿

himashirou
himashirou

スコア12

title CHANGED
File without changes
body CHANGED
@@ -25,7 +25,7 @@
25
25
  ログインIDとパスワードを聞かれ
26
26
  vagrantを入力すると
27
27
  つながっているように思えます。
28
- #まだこの先をしていないのでよくわかりませんが…
28
+ まだこの先をしていないのでよくわかりませんが…
29
29
 
30
30
  質問は二点
31
31
  192.168.33.10と設定ファイルを変えたのに