vagrant upやreloadを行うと下記のようなエラーが出てしまい、失敗してしまいます。
誤って、vagrant upを同時に複数おこなってしまったことがあり、その際に必要ないvirchal boxのmachineが作られてしまいました。
その後、不必要なvirchal boxのmachineを削除し、
chmod 777 /vagrant/home
chmod 755 /vagrant/home
などのコマンドを打ったところ、現在の状態になっています。
vagrant sshの際にもパスワードを求められますが、こちらは接続できます。
vagarant upに必要な解決策をご教示ください。
$ vagrant reload ==> default: Attempting graceful shutdown of VM... default: Guest communication could not be established! This is usually because default: SSH is not running, the authentication information was changed, default: or some other networking issue. Vagrant will force halt, if default: capable. ==> default: Forcing shutdown of VM... ==> default: Checking if box 'chef/centos-7.0' is up to date... ==> default: There was a problem while downloading the metadata for your box ==> default: to check for updates. This is not an error, since it is usually due ==> default: to temporary network problems. This is just a warning. The problem ==> default: encountered was: ==> default: ==> default: The requested URL returned error: 404 Not Found ==> default: ==> default: If you want to check for box updates, verify your network connection ==> default: is valid and try again. ==> default: Clearing any previously set forwarded ports... ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat default: Adapter 2: hostonly ==> default: Forwarding ports... default: 8000 => 12345 (adapter 1) default: 22 => 2222 (adapter 1) ==> default: Booting VM... ==> 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 default: Warning: Connection timeout. Retrying... default: Warning: Remote connection disconnect. Retrying... default: Warning: Authentication failure. Retrying... default: Warning: Authentication failure. Retrying...
vagrantはバージョンによって挙動に大きく違いがあるので、バージョンを追記していただけますか?
あなたの回答
tips
プレビュー