One of my Vagrant boxes ended up with an "Aborted" state, apparently I ran out of memory or something, and yeah. Now the box is not booting... properly.
Here is what I got:
$ vagrant up cloud2 Bringing machine 'cloud2' up with 'virtualbox' provider... [cloud2] Clearing any previously set forwarded ports... [cloud2] Fixed port collision for 22 => 2222. Now on port 2200. [cloud2] Clearing any previously set network interfaces... [cloud2] Preparing network interfaces based on configuration... [cloud2] Forwarding ports... [cloud2] -- 22 => 2200 (adapter 1) [cloud2] Booting VM... [cloud2] Waiting for machine to boot. This may take a few minutes... Timed out while waiting for the machine to boot. This means that Vagrant was unable to communicate with the guest machine within the configured ("config.vm.boot_timeout" value) time period. This can mean a number of things. If you're using a custom box, make sure that networking is properly working and you're able to connect to the machine. It is a common problem that networking isn't setup properly in these boxes. Verify that authentication configurations are also setup properly, as well. If the box appears to be booting properly, you may want to increase the timeout ("config.vm.boot_timeout") value. $
It says that it is running but I cannot login, though.
$ vagrant status cloud2 Current machine states: cloud2 running (virtualbox) The VM is running. To stop this VM, you can run `vagrant halt` to shut it down forcefully, or you can run `vagrant suspend` to simply suspend the virtual machine. In either case, to restart it again, simply run `vagrant up`. $ vagrant ssh cloud2 ssh_exchange_identification: read: Connection reset by peer $
This is the Vagrantfile config for the box:
config.vm.define "cloud2" do |cloud2| cloud2.vm.box = "precise32" cloud2.vm.network "public_network", :bridge => 'wlan0' config.vm.boot_timeout = 600 # config.vm.provider :virtualbox do |vb| # vb.customize ["modifyvm", :id, "--memory", "1024"] # vb.customize ["modifyvm", :id, "--cpus", "2"] # end end
I've set the time-out 600 while reading some posts over here, but it did not helped me at all.
SOS! I did a lot of stuff on that VM and I....... do not have a backup :D :P