Permission denied error when trying to create a Red Hat Enterprise Linux 6 guest

Solution Verified - Updated -

Issue

  • Error when creating Red Hat Enterprise Linux 6 guest using virt-install:

    ERROR    internal error Process exited while reading console log output: bind(unix:/var/lib/libvirt/qemu/<guest_name>.monitor): Permission denied
    chardev: opening backend "socket" failed
    Traceback (most recent call last):
      File "/usr/sbin/virt-install", line 1054, in <module>
        main()
      File "/usr/sbin/virt-install", line 936, in main
        start_time, guest.start_install)
      File "/usr/sbin/virt-install", line 978, in do_install
        dom = install_func(conscb, progresscb, wait=(not wait))
      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: bind(unix:/var/lib/libvirt/qemu/<guest_name>.monitor): Permission denied
    chardev: opening backend "socket" failed
    

Environment

  • Red Hat Enterprise Linux 6
  • libvirt package before 0.8.7-18.el6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In