Fellow slackers,
I'm hoping someone can help me shine light to an issue with libvirt.
After spending several hours of trying to resolve this issue online, I keep running in a circle with this problem: I'm trying to setup a virtual machine to run a sandbox distro. Unfortunately, I'm not sure where I went wrong with the setup.
When I try to run virt-manager it states it is unable to connect libvirt. when I try to run libvirtd -d I get the following error message:
Quote:
root@:~# libvirtd -d
libvirtd: error: Unable to initialize network sockets. Check /var/log/messages or run without --daemon for more info.
|
So when I look into the log for the messages, I get the following:
Quote:
2017-10-05 16:05:08.892+0000: 1885: info : libvirt version: 3.4.0
2017-10-05 16:05:08.892+0000: 1885: info : hostname: Kugelschreiber.kugelschreiber.de
2017-10-05 16:05:08.892+0000: 1885: error : virGetGroupID:1110 : invalid argument: Failed to parse group 'users, root'
|
When I go into /etc/libvirt/libvirtd.conf, the socket access controls is uncommented for users and root.
Just for giggles, when I go into virsch to see if it reads QEMU, I get the same error
Quote:
root@Kugelschreiber:/etc# virsh -c qemu:///system
error: failed to connect to the hypervisor
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
|
I'm presuming either two scenarios, but unsure where to begin:
1.) I screwed up the build order (I can't remember how I built it to be honest, I want to say I did libvirt, then QEMU), and so somewhere there is a miscommunication between the two but not sure how to begin rectifying the problem
2.) I messed up the /etc/config file, hence the users parsing issue, but that wouldn't explain the libvirt-sock issue.
I appreciate any help with this issue.