Closed lbiazao closed 11 years ago
@lbiazao , please try the following:
vagrant destroy
# yes
vagrant up;
Sometimes we got this errors, then I just redo the VM again and works!
I have tested the this commands but the same problem keeps happening. I have removed the box lucid32 and started downloading all over again to test. I hope it helps.
http://docs-v1.vagrantup.com/v1/docs/getting-started/ Reading at Vagrant Website I have found that we need first to use the commands:
vagrant init lucid32; vagrant up;
Here is the result...
$ vagrant init lucid32 A
Vagrantfile
has been placed in this directory. You are now ready tovagrant up
your first virtual environment! Please read the comments in the Vagrantfile as well as documentation onvagrantup.com
for more information on using Vagrant.claw@CLAW-VAIO ~/app/VagrantChefHubot/cookbooks (master) $ vagrant up Bringing machine 'default' up with 'virtualbox' provider... [default] Importing base box 'lucid32'... ←[0K[default] Matching MAC address for NAT networking... [default] Setting the name of the VM... [default] Clearing any previously set forwarded ports... [default] Creating shared folders metadata... [default] Clearing any previously set network interfaces... [default] Preparing network interfaces based on configuration... [default] Forwarding ports... [default] -- 22 => 2222 (adapter 1) [default] Booting VM... [default] Waiting for VM to boot. This can take a few minutes. [default] VM booted and ready for use! [default] Mounting shared folders... [default] -- /vagrant
It is odd :) , in fact when you run vagrant up it suppose to download automatically the vm(lucid32) , lets make a google hangout and figure out the problem.
@lbiazao let me know when it best for you.
I have noticed that the problem happen sometimes without any reason after the recommended:
vagrant destroy and vagrat up The problem didn't repeat.
claw@CLAW-VAIO ~/app/VagrantChefHubot/cookbooks (master) $ cookbooks-update.sh Cloning into 'nodejs'... remote: Counting objects: 105, done. remote: Compressing objects: 100% (51/51), done. rRemote: Total 105 (delta 49), reused 98 (delta 42)eceiving objects: 21% (23/10 Receiving objects: 30% (32/105) Receiving objects: 100% (105/105), 12.57 KiB | 0 bytes/s, done. Resolving deltas: 100% (49/49), done. Cloning into 'build-essential'... remote: Counting objects: 290, done. remote: Compressing objects: 100% (173/173), done. rRemote: Total 290 (delta 139), reused 227 (delta 85)eceiving objects: 16% (47/
Receiving objects: 100% (290/290), 41.44 KiB | 0 bytes/s, done. Resolving deltas: 100% (139/139), done. Cloning into 'git'... remote: Counting objects: 496, done. remote: Compressing objects: 100% (277/277), done. rReceiving objects: 92emote: Total 496 (delta 233), reused 441 (delta 186) Receiving objects: 94% (467/496), 60.00 KiB | 111.00 KiB/s Receiving objects: 100% (496/496), 72.52 KiB | 111.00 KiB/s, done. Resolving deltas: 100% (233/233), done. Cloning into 'apt'... remote: Counting objects: 1068, done. remote: Compressing objects: 100% (584/584), done. rRemote: Total 1068 (delta 478), reused 953 (delta 373)eceiving objects: 96% (1
Receiving objects: 100% (1068/1068), 163.70 KiB | 138.00 KiB/s, done. Resolving deltas: 100% (478/478), done.
claw@CLAW-VAIO ~/app/VagrantChefHubot/cookbooks (master) $ vagrant up; Bringing machine 'default' up with 'virtualbox' provider... [default] Box 'lucid32' was not found. Fetching box from specified URL for the provider 'virtualbox'. Note that if the URL does not have a box for this provider, you should interrupt Vagrant now and add the box yourself. Otherwise Vagrant will attempt to download the full box prior to discovering this error. Downloading or copying the box... ←[0KExtracting box...ate: 247k/s, Estimated time remaining: --:--:--) Successfully added box 'lucid32' with provider 'virtualbox'! [default] Importing base box 'lucid32'... ←[0K[default] Matching MAC address for NAT networking... [default] Setting the name of the VM... [default] Clearing any previously set forwarded ports... [default] Creating shared folders metadata... [default] Clearing any previously set network interfaces... [default] Preparing network interfaces based on configuration... [default] Forwarding ports... [default] -- 22 => 2222 (adapter 1) [default] Booting VM... [default] Waiting for VM to boot. This can take a few minutes. [default] Forcing shutdown of VM... [default] Destroying VM and associated drives... c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib/vagrant/util /retryable.rb:19:in
rescue in retryable': undefined method
-' for "50000":Stri ng (NoMethodError) from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/util/retryable.rb:16:inretryable' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/plu gins/communicators/ssh/communicator.rb:199:in
connect' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/plu gins/communicators/ssh/communicator.rb:38:inready?' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/plu gins/providers/virtualbox/action/boot.rb:26:in
block in wait_for_boot' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/plu gins/providers/virtualbox/action/boot.rb:25:intimes' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/plu gins/providers/virtualbox/action/boot.rb:25:in
wait_for_boot' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/plu gins/providers/virtualbox/action/boot.rb:17:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/plu gins/providers/virtualbox/action/customize.rb:38:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/plu gins/providers/virtualbox/action/sane_defaults.rb:49:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/builtin/set_hostname.rb:16:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/plu gins/providers/virtualbox/action/forward_ports.rb:31:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/plu gins/providers/virtualbox/action/network.rb:105:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/plu gins/providers/virtualbox/action/clear_network_interfaces.rb:26:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/plu gins/providers/virtualbox/action/share_folders.rb:25:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/plu gins/providers/virtualbox/action/clear_shared_folders.rb:12:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/plu gins/providers/virtualbox/action/prepare_nfs_settings.rb:11:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/builtin/nfs.rb:30:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/plu gins/providers/virtualbox/action/prune_nfs_exports.rb:15:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/builtin/handle_forwarded_port_collisions.rb:118:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/plu gins/providers/virtualbox/action/prepare_forwarded_port_collision_params.rb:30:i ncall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/builtin/env_set.rb:19:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/builtin/provision.rb:45:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/plu gins/providers/virtualbox/action/clear_forwarded_ports.rb:13:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/plu gins/providers/virtualbox/action/set_name.rb:35:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/plu gins/providers/virtualbox/action/clean_machine_folder.rb:17:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/plu gins/providers/virtualbox/action/check_accessible.rb:18:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/runner.rb:61:inblock in run' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/util/busy.rb:19:in
busy' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/runner.rb:61:inrun' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/builtin/call.rb:51:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/runner.rb:61:in
block in run' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/util/busy.rb:19:inbusy' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/runner.rb:61:in
run' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/builtin/call.rb:51:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/runner.rb:61:inblock in run' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/util/busy.rb:19:in
busy' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/runner.rb:61:inrun' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/builtin/call.rb:51:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/builtin/config_validate.rb:25:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/plu gins/providers/virtualbox/action/check_virtualbox.rb:17:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/builtin/call.rb:57:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/builtin/config_validate.rb:25:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/builtin/call.rb:57:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/plu gins/providers/virtualbox/action/check_virtualbox.rb:17:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/warden.rb:34:incall' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/builder.rb:116:in
call' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/runner.rb:61:inblock in run' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/util/busy.rb:19:in
busy' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/action/runner.rb:61:inrun' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/machine.rb:147:in
action' from c:/Program Files (x86)/vagrant/embedded/gems/gems/vagrant-1.2.7/lib /vagrant/batch_action.rb:63:in `block (2 levels) in run'