Ubuntu 14.04でvirtmanagerを使用してXENドメインに接続しようとすると、次のエラーが発生します。
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 1027, in
_open_thread
self.vmm = self._try_open() File "/usr/share/virt-manager/virtManager/connection.py", line 1009, in
_try_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
承認された回答:
んん。同じバグが私を襲い、私自身の提案はうまくいきませんでした。私はすでに最新バージョンを持っていました。
これを試してください:
-
ターミナルのルートとしてNautilusを起動します:
sudo -H nautilus
-
ファイル
/etc/xen/xend-config.sxp
を見つけてコピーします/etc/xen/xend-config.sxp.backup
へ :sudo cp /etc/xen/xend-config.sxp /etc/xen/xend-config.sxp.backup
-
ファイル
/etc/xen/xend-config.sxp
を開きますgedit
を使用 またはnano
:sudo -H gedit /etc/xen/xend-config.sxp
-
次の行を見つけてコメントを外します:
-
xend-unix-server no
、xend-unix-server yes
に変更します -
xend-unix-path /var/lib/xend/xend-socket
、xend-unix-path /var/lib/xend/xend-socket
に変更します
-
-
編集したファイルを保存して、geditまたはnanoを終了します。
-
libvirt-bin
を再起動します 、xen
およびxendomains
サービス:sudo service libvirt-bin restart sudo service xen restart sudo service xendomains restart
私は同じことをし、virt-managerを接続しました。
上記の手順は、主にUbuntuのソフトウェアセンターのvirt-managerに関するGizmoChickenによるレビューに基づいています。
この問題はここに表示されます:
http://lists.xen.org/archives/html/xen-devel/2012-12/msg01867.html
そして、おそらくここの問題に関連しています:
https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/915954