Public bug reported:

When trying to create a new virtual machine using the virt-manager or
the command line with Ubuntu 10.04 on a Dell 6400 Inspiron laptop I get
the following error message:

Unable to complete install '<class 'libvirt.libvirtError'> internal
error unable to start guest: libvir: error : cannot execute binary
/usr/bin/qemu-kvm: Permission denied

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/create.py", line 1436, in do_install
    dom = guest.start_install(False, meter = meter)
  File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 660, in 
start_install
    return self._do_install(consolecb, meter, removeOld, wait)
  File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 758, in 
_do_install
    self.domain = self.conn.createLinux(install_xml, 0)
  File "/usr/lib/python2.6/dist-packages/libvirt.py", line 1097, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', 
conn=self)
libvirtError: internal error unable to start guest: libvir: error : cannot 
execute binary /usr/bin/qemu-kvm: Permission denied

Package details:
||/ Name                                Version                             
Description
+++-===================================-===================================-======================================================================================
ii  libvirt-bin                         0.7.5-5ubuntu27                     the 
programs for the libvirt library

It makes no difference if run as root, and this problem existed on 9.10
on this machine as well. The problem only appears when using the kvm
setting. If you use qemu it works, though very slowly.

I have enabled the CPU virtualization extensions in the BIOS and
Virtualbox & VMware on the same machine use those without an issue.

The file mentioned has the following permissions in the /usr/bin
directory.

-rwxrwxrwx 1 root root 28 2010-03-23 15:08 /usr/bin/qemu-kvm

I have also checked the the kvm kernel modules are loaded.

lsmod | grep kvm

kvm_intel              39384  0
kvm                   245405  1 kvm_intel

If any further information is required then please just post

Regards

Nick

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: libvirt-bin 0.7.5-5ubuntu27
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic-pae 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic-pae i686
NonfreeKernelModules: ksplice_5jnw74mo_vmlinux_new ksplice_5jnw74mo
Architecture: i386
Date: Tue May  4 14:20:38 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: libvirt

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 kvm libvirt lucid qemu-kvm

-- 
libvirt executing /usr/bin/qemu-kvm fails with Permission denied
https://bugs.launchpad.net/bugs/575162
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to