How to Fix Vagrant: Error while connecting to libvirt

When you setup a box with vagrant and virtualbox and got this error message:

Error while connecting to libvirt: Error making a connection to libvirt URI qemu:///system?no_verify=1&keyfile=/home/username/.ssh/id_rsa:
Call to virConnectOpen failed: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory

the reason you can’t run the vagrant box is because your Virtualbox is not recognized by Vagrant Script. You can fix this by run vagrant use virtualbox as  the provider.

[sourcecode]vagrant up –provider virtualbox[/sourcecode]

if you lucky, the box will start and booting. but, if you got this error: (more…)

Continue ReadingHow to Fix Vagrant: Error while connecting to libvirt

How to Solve Vagrant box could not be found or could not be accessed Error in Mac OS

Vagrant have a litte issue this week in MacOS. Many vagrant user reporting they can’t found and access vagrant box from their Atlas Repository. A serious issue when you can’t download and run any new box.

To solve this issue: (more…)

Continue ReadingHow to Solve Vagrant box could not be found or could not be accessed Error in Mac OS