6
respostas

Erro vagrant up windows 10

Boa tarde, será que alguém consegue me ajudar?

$ vagrant up Bringing machine 'web' up with 'virtualbox' provider... ==> web: Importing base box 'hashicorp/precise64'... ==> web: Matching MAC address for NAT networking... ==> web: Checking if box 'hashicorp/precise64' is up to date... ==> web: There was a problem while downloading the metadata for your box ==> web: to check for updates. This is not an error, since it is usually due ==> web: to temporary network problems. This is just a warning. The problem ==> web: encountered was: ==> web: ==> web: Could not resolve proxy: proxyname ==> web: ==> web: If you want to check for box updates, verify your network connection ==> web: is valid and try again. ==> web: Setting the name of the VM: Projeto_web_1529173416941_83910 ==> web: Clearing any previously set network interfaces... ==> web: Preparing network interfaces based on configuration... web: Adapter 1: nat ==> web: Forwarding ports... web: 22 (guest) => 2222 (host) (adapter 1) ==> web: Booting VM... There was an error while executing VBoxManage, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "dceb040a-d26e-4379-a4ae-0e24b365ea2c", "--type", "headless"]

Stderr: VBoxManage.exe: error: The virtual machine 'Projeto_web_1529173416941_83910' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users\dalton.soares\VirtualBox VMs\Projeto_web_1529173416941_83910\Logs\VBoxHardening.log' VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine

6 respostas

Poste o código do seu vagrantfile, não esqueça de usar o botão "inserir código" para que o código fique formatado.

Vagrant.configure("2") do |config| config.vm.box = "hashicorp/precise32" config.vm.define :web do |web_config| end end

insira seu código aqui

O código ainda não está muito formatado, mas pode ser o mesmo erro que eu tive com o "hashicorp/precise32".

Troque o "hashicorp/precise32" por "ubuntu/trusty32". É uma máquina parecida.

Teste o vagrant up e veja o que acontece.

Achei que já tinha respondido. Continou a mesma coisa, olha só.

vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> 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: Forwarding ports... default: 22 (guest) => 2222 (host) (adapter 1) ==> default: Booting VM... There was an error while executing VBoxManage, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "50bbf277-a5e7-4168-a825-1934eefaecf2", "--type", "headless"]

Stderr: VBoxManage.exe: error: The virtual machine 'Projeto_default_1529369476028_69831' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users\dalton.soares\VirtualBox VMs\Projeto_default_1529369476028_69831\Logs\VBoxHardening.log' VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine

Eu tive alguns problemas com o VirtualBox, precisei desinstalar ele e reinstalar.

Tenta desinstalar o VirtualBox e instalar a versão mais atual.

Baixe ele aqui

Rapaz fiz tudo isso já inúmeras vezes e nada.

Vou fazer o curso de docker e depois volto nisso.

Obrigado pela ajuda!