Find the answer to your Linux question:
Results 1 to 2 of 2
A CENTOS 6 64-bit Virtual Machine Manager is unable to complete the installation of a new VM due to insufficient permissions. We have already taken the following steps in order ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2011
    Posts
    2

    Solved: VM Permission Denied


    A CENTOS 6 64-bit Virtual Machine Manager is unable to complete the installation of a new VM due to insufficient permissions.

    We have already taken the following steps in order to resolve the Virtual Machine Manager's error message pursuant to recommendations in other Linux forums.

    A. Set SELinux at Permissive.

    B. Disable SELinux.

    C. Provide qemu user (root) with 777 priviledges.

    D. Change ACL permissions.

    E. Reboot Machine.

    These approaches have not resolved the question, and we now request support from the Linux Forums community.

    Ongoing Discussions:

    (FedoraForum: Fedoraforum.org/forum/showthread.php?t=256578 ) (CENTOS Forum: Centos.org/modules/newbb/viewtopic.php?topic_id=33422&start=0#forumpost1475 79 )

    ERROR MESSAGE:

    CENTOS_6_64-bit

    Unable to complete install '<class 'libvirt.libvirtError'> internal error Process exited while reading console log output: char device redirected to /dev/pts/2
    qemu: could not open disk image /var/lib/libvirt/images/server1.example.com.img:

    Permission denied

    Traceback (most recent call last):
    File "/usr/share/virt-manager/virtManager/create.py", line 1561, in do_install
    dom = guest.start_install(False, meter = meter)
    File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 973, in start_install
    return self._do_install(consolecb, meter, removeOld, wait)
    File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1038, in _do_install
    "install")
    File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1009, in _create_guest
    dom = self.conn.createLinux(start_xml, 0)
    File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1270, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
    libvirtError: internal error Process exited while reading console log output: char device redirected to /dev/pts/2

    qemu: could not open disk image /var/lib/libvirt/images/server1.example.com.img:

    Permission denied

  2. #2
    Just Joined!
    Join Date
    Nov 2011
    Posts
    2

    Solution

    Solution:

    Provide "Other" with execute permissions to the /home/username and /var/etc/libvirt/ directories.

    Source: libvirt.org/drvqemu.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •