Results 1 to 2 of 2

Thread: Unable to connect to libvirt.

  1. #1
    Join Date
    Mar 2016
    Beans
    8

    Unable to connect to libvirt.

    I installed xen 4.5 from Repository and virt-manager and it was working fine but when i removed xen 4.5 and compiled and installed xen 4.6 the virtual machine manager is unable to connect to xen it shows the following error...

    Code:
     Unable to connect to libvirt.
    
    internal error: libxenlight state driver is not active
    
    Verify that:
     - A Xen host kernel was booted
     - The Xen service has been started
    
    Libvirt URI is: xen:///
    
    Traceback (most recent call last):
      File "/usr/share/virt-manager/virtManager/connection.py", line 1050, in _open_thread
        self._backend.open(self._do_creds_password)
      File "/usr/share/virt-manager/virtinst/connection.py", line 158, in open
        open_flags)
      File "/usr/lib/python2.7/dist-packages/libvirt.py", line 105, in openAuth
        if ret is None:raise libvirtError('virConnectOpenAuth() failed')
    libvirtError: internal error: libxenlight state driver is not active
    Last edited by ajgreeny; March 10th, 2016 at 01:32 PM. Reason: Formatting normalised

  2. #2
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Unable to connect to libvirt.

    ssh into your Xen server's IP. (if you cannot connect, go to it physically and confirm system and networking settings...)
    Code:
    sudo dmidecode -s system-product-name
    sudo dmesg | grep -i Xen
    sudo cat /sys/hypervisor/uuid
    The first command would query the system for a product code. If it is running a hypervisor, it will show the hypervisor as the machine code, instead of the physical machine's id code.

    The second command will look foe Xen in the system log and tell you if it is running or had any problems.

    If using Xen and running, the thrid commonad will look at the hypervisor UUID. You are looking for all zeros, which would indicate that it is running as Dom0. If not all zero's, then running as DomU. If not there, then not running Xen.
    Last edited by MAFoElffen; March 10th, 2016 at 03:17 PM.
    Concurrent coexistance of Windows, Linux and Unix...
    Ubuntu user # 33563, Linux user # 533637
    Sticky: [all variants] Graphics Resolution- Upgrade /Blank Screen after reboot

Tags for this Thread

Bookmarks

Posting Permissions

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