virtualbox - "vagrant up" failing: Vagrant VM failed to remain in the running state -


the command vagrant up failing , don't know why.

$ egrep -v '^ *(#|$)' vagrantfile vagrantfile_api_version = "2" vagrant.configure(vagrantfile_api_version) |config|   config.vm.box = "precise32" end $ vagrant bringing machine 'default' 'virtualbox' provider... [default] importing base box 'precise32'... [default] matching mac address nat networking... [default] setting name of vm... [default] clearing set forwarded ports... [default] creating shared folders metadata... [default] clearing set network interfaces... [default] preparing network interfaces based on configuration... [default] forwarding ports... [default] -- 22 => 2222 (adapter 1) [default] booting vm... [default] waiting vm boot. can take few minutes. vm failed remain in "running" state while attempting boot. caused misconfiguration or host system incompatibilities. please open virtualbox gui , attempt boot virtual machine manually more informative error message. $ vagrant status current machine states:  default                   poweroff (virtualbox)  vm powered off. restart vm, run `vagrant up` $ vboxmanage list runningvms $ 

here messages in virtualbox log file, vboxsvc.log:

$ cat ~/.virtualbox/vboxsvc.log virtualbox xpcom server 4.2.16 r86992 linux.amd64 (jul  4 2013 16:29:59) release log 00:00:00.000499 main     log opened 2013-08-13t18:40:45.907580000z 00:00:00.000508 main     os product: linux 00:00:00.000509 main     os release: 3.6.11-4.fc16.x86_64 00:00:00.000510 main     os version: #1 smp tue jan 8 20:57:42 utc 2013 00:00:00.000537 main     dmi product name: x8da3 00:00:00.000547 main     dmi product version: 1234567890 00:00:00.000647 main     host ram: 24103mb total, 17127mb available 00:00:00.000654 main     executable: /usr/local/virtualbox/vboxsvc 00:00:00.000655 main     process id: 9417 00:00:00.000656 main     package type: linux_64bits_generic 00:00:00.110125 nspr-2   loading settings file "/opt/tomcat/.virtualbox/virtualbox.xml"     version "1.12-linux" 00:00:00.110817 nspr-2   failed retrive disk info: getdiskname(/dev/md126p1) --> md126p1 00:00:00.264367 nspr-2   vdinit finished 00:00:00.275173 nspr-2   loading settings file "/opt/tomcat/virtualbox vms/vagrant_getting_started_default_1376419129/vagrant_getting_started_default_1376419129.vbox" version "1.12-linux" 00:00:05.288923 main     error [com]: arc=vbox_e_object_in_use (0x80bb000c) aiid={29989373-b111-4654-8493-2e1176cba890} acomponent={medium} atext={medium '/opt/tomcat/virtualbox vms/vagrant_getting_started_default_1376419129/box-disk1.vmdk' cannot closed because still attached 1 virtual machines}, preserve=false 00:00:05.290229 watcher  error [com]: arc=e_accessdenied (0x80070005) aiid={3b2f08eb-b810-4715-bee0-bb06b9880ad2} acomponent={virtualbox} atext={the object not ready}, preserve=false $  

any advice appreciated.

had same error on osx. restarting virtualbox fixed :s

sudo /library/startupitems/virtualbox/virtualbox restart 

also see: https://forums.virtualbox.org/viewtopic.php?t=5489


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -