kvm, virt-manager; can't install new vm [Solved]

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

kvm, virt-manager; can't install new vm [Solved]

Postby senorsmile » Mon Oct 22, 2012 22:05

I have recently switched over from Arch Linux. Honestly, too many upgrades kept breaking my machine.

I use KVM via virt-manager to install and run virtual machines. However, when I try to set up a new virtual machine, I get the following error:

Code: Select all
Unable to complete install: 'internal error Process exited while reading console log output: bind(unix:/var/lib/libvirt/qemu/ubuntu1210.monitor): Permission denied
chardev: opening backend "socket" failed
'


ubuntu1210 is the name of the VM I'm attempting to set up.


Edit: 2011/10/24 5:04PM PST

I tried launching a vm directly from the commandline and got the following:

# qemu-kvm -hda xp2011-tridium-clone.qcow2 -net user -m 1024 -vga std
qemu-system-x86_64: -hda xp2011-tridium-clone.qcow2: could not open disk image xp2011-tridium-clone.qcow2: No such file or directory
Last edited by senorsmile on Thu Oct 25, 2012 1:40, edited 1 time in total.
senorsmile
Baby Hen
 
Posts: 16
Joined: Fri Dec 23, 2011 18:36

Re: kvm, virt-manager; can't install new vm

Postby senorsmile » Thu Oct 25, 2012 1:40

I found a post that suggested editing /etc/libvirt/qemu.conf. Find or add lines saying:

Code: Select all
user = "root"
group = "root"


Restart libvirtd with

Code: Select all
/etc/init.d/libvirtd restart


And voila! Virt-manager is now working.
senorsmile
Baby Hen
 
Posts: 16
Joined: Fri Dec 23, 2011 18:36


Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 1 guest