Boa tarde, pessoal!
Estou com problemas para poder executar o Vagrant up na minha máquina (Ubuntu 20.04). Estou recebendo o seguinte erro ao executar vagrant up:
Bringing machine 'wordpress' up with 'libvirt' provider...
Error while connecting to libvirt: Error making a connection to libvirt URI qemu:///system?no_verify=1&keyfile=/home/arthur/.ssh/id_rsa:
Call to virConnectOpen failed: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
Já realizei vários procedimentos e nenhum funcionou.
- Tentei executar com a flag --provider virtualbox e recebo o erro:
The provider 'virtualbox' that was requested to back the machine
'wordpress' is reporting that it isn't usable on this system. The
reason is shown below:
VirtualBox is complaining that the installation is incomplete. Please
run `VBoxManage --version` to see the error message which should contain
instructions on how to fix this error.
e quando rodo o comando VBoxManage --version recebo:
WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-dkms package and the appropriate
headers, most likely linux-headers-generic.
You will not be able to start VMs until this problem is fixed.
6.1.10_Ubuntur138449
Tentei reinstalar, recofingurar e tudo mais com o sudo apt-get install virtualbox-dkms e nada...
Já adicionei meu usuario no /etc/group tbm e nada aconteceu..
Já tentei executar /etc/init.d/vboxdrv setup e nada tambem...
Já tentei instalar a versão 5.2 do virtualbox e nada tambem. Estou usando a 6.1 q é a atual.
Já executei o sudo dpkg-reconfigure virtualbox-dkms e recebo algunserros no terminal como:
jan 02 16:37:39 maquina-do-mau systemd[1]: Starting LSB: VirtualBox Linux kernel module...
jan 02 16:37:39 maquina-do-mau virtualbox[9278]: * Loading VirtualBox kernel modules...
jan 02 16:37:39 maquina-do-mau virtualbox[9278]: * modprobe vboxdrv failed. Please use 'dmesg' to find out why
jan 02 16:37:39 maquina-do-mau virtualbox[9278]: ...fail!
jan 02 16:37:39 maquina-do-mau systemd[1]: virtualbox.service: Control process exited, code=exited, status=1/FAILURE
jan 02 16:37:39 maquina-do-mau systemd[1]: virtualbox.service: Failed with result 'exit-code'.
jan 02 16:37:39 maquina-do-mau systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.
Alguma pista do q posso fazer? Já estou sem criatividade...