Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Não consigo subir o Vagrant no cmder

Olá, boa noite!

Não estou conseguindo subir o Vagrant no cmder, baixei o arquivo contido na aula e executei o comando vagrant up dentro de seu diretório porém retorna o erro abaixo:

C:\Alura\curso-grafana
λ dir
 O volume na unidade C não tem nome.
 O Número de Série do Volume é 109A-5117

 Pasta de C:\Alura\curso-grafana

26/04/2022  19:12    <DIR>          .
26/04/2022  10:03    <DIR>          ..
26/04/2022  13:47             3.011 Vagrantfile
               1 arquivo(s)          3.011 bytes
               2 pasta(s)   190.764.638.208 bytes disponíveis

C:\Alura\curso-grafana
λ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'ubuntu/bionic64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'ubuntu/bionic64' version '20220424.0.0' is up to date...
==> default: Setting the name of the VM: curso-grafana_default_1651011180306_2945
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
    default: Adapter 3: bridged
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> 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
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'unknown' state. Please verify everything is configured
properly and try again.

If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run `vagrant up` while the
VirtualBox GUI is open.

The primary issue for this error is that the provider you're using
is not properly configured. This is very rarely a Vagrant issue.

Por favor, alguém poderia me ajudar?

1 resposta
solução!

Consegui resolver, abri o VirtualBox e vi que tinha diversas máquinas criadas (das tentativas anteriores), exclui todas e acompanhei o boot e o Vagrant subiu normalmente.

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software