You are not logged in.
'/var/run/libvirt/libvirt-sock' faild
use qemu also can't go
output check libvirtd weather start
but i can use virsh command
Offline
[root@localhost Desktop]# libvirtd
2014-12-09 00:34:44.382+0000: 1989: info : libvirt version: 1.2.10
2014-12-09 00:34:44.382+0000: 1989: error : virRegisterStorageDriver:592 : driver in virRegisterStorageDriver must not be NULL
2014-12-09 00:34:44.382+0000: 1989: error : virDriverLoadModule:99 : Failed module registration vboxStorageRegister
2014-12-09 00:34:44.401+0000: 2000: error : dnsmasqCapsRefreshInternal:726 : Cannot check dnsmasq binary /sbin/dnsmasq: No such file or directory
2014-12-09 00:34:45.159+0000: 2000: error : virFirewallValidateBackend:156 : direct firewall backend requested, but /sbin/ebtables is not available: No such file or directory
2014-12-09 00:34:45.161+0000: 2000: error : virSysinfoRead:837 : internal error: Failed to find path for dmidecode binary
2014-12-09 00:34:45.231+0000: 2000: error : virSysinfoRead:837 : internal error: Failed to find path for dmidecode binary
2014-12-09 00:34:45.292+0000: 2000: error : virNetDevBridgeCreate:242 : Unable to create bridge virbr0: File exists
Offline
[root@localhost Desktop]# xl list
Name ID Mem VCPUs State Time(s)
Domain-0 0 2048 4 r----- 515.0
[root@localhost Desktop]# virsh list
error: failed to connect to the hypervisor
error: no valid connection
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
Offline
excute the libvirtd -d
and then virsh list can running ,virt-manager also can use qemu connect
but still can't connect xen
Offline
can't connect to libvirt。
no connection driver available for xen:///
check:
load -A Xen host kernel
startd xen
Libvirt URI is: xen:///
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/connection.py", line 968, 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/site-packages/libvirt.py", line 105, in openAuth
if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: no connection driver available for xen:///
Offline
There is an edit button, please learn to use it and stop bumping the thread...
In fact, please read the entire Etiquette https://wiki.archlinux.org/index.php/Forum_Etiquette
Offline
[root@localhost ~]# libvirtd
2014-12-09 03:38:31.282+0000: 753: info : libvirt version: 1.2.10
2014-12-09 03:38:31.282+0000: 753: error : virRegisterStorageDriver:592 : driver in virRegisterStorageDriver must not be NULL
2014-12-09 03:38:31.283+0000: 753: error : virDriverLoadModule:99 : Failed module registration vboxStorageRegister
2014-12-09 03:38:31.292+0000: 764: error : dnsmasqCapsRefreshInternal:726 : Cannot check dnsmasq binary /sbin/dnsmasq: No such file or directory
2014-12-09 03:38:32.062+0000: 764: error : virFirewallValidateBackend:156 : direct firewall backend requested, but /sbin/ebtables is not available: No such file or directory
2014-12-09 03:38:32.064+0000: 764: error : virSysinfoRead:837 : internal error: Failed to find path for dmidecode binary
2014-12-09 03:38:32.158+0000: 764: error : virSysinfoRead:837 : internal error: Failed to find path for dmidecode binary
2014-12-09 03:38:32.214+0000: 764: error : virNetDevBridgeCreate:242 : Unable to create bridge virbr0: File exists
2014-12-09 03:38:36.917+0000: 762: error : virStoragePoolSourceFindDuplicate:2216 : operation failed: Storage source conflict with pool: 'images'
2014-12-09 03:38:36.990+0000: 754: error : virStoragePoolSourceFindDuplicate:2216 : operation failed: Storage source conflict with pool: 'images'
2014-12-09 03:38:43.088+0000: 755: error : do_open:1165 : no connection driver available for xen:///
2014-12-09 03:38:43.116+0000: 753: error : virNetSocketReadWire:1571 : End of file while reading data: Input/output error
2014-12-09 03:38:58.028+0000: 758: error : do_open:1165 : no connection driver available for xen:///
2014-12-09 03:38:58.040+0000: 753: error : virNetSocketReadWire:1571 : End of file while reading data: Input/output error
Offline
[root@localhost ~]# libvirtd &
[1] 1573
[root@localhost ~]# 2014-12-10 04:44:55.699+0000: 1573: info : libvirt version: 1.2.10
2014-12-10 04:44:55.699+0000: 1573: error : virRegisterStorageDriver:592 : driver in virRegisterStorageDriver must not be NULL
2014-12-10 04:44:55.699+0000: 1573: error : virDriverLoadModule:99 : Failed module registration vboxStorageRegister
2014-12-10 04:44:56.488+0000: 1584: error : virFirewallValidateBackend:156 : direct firewall backend requested, but /sbin/ebtables is not available: No such file or directory
2014-12-10 04:44:56.490+0000: 1584: error : virSysinfoRead:837 : internal error: Failed to find path for dmidecode binary
2014-12-10 04:44:56.575+0000: 1584: error : virSysinfoRead:837 : internal error: Failed to find path for dmidecode binary
2014-12-10 04:44:56.634+0000: 1584: error : virNetDevBridgeCreate:242 : Unable to create bridge virbr0: File exists
[root@localhost ~]# 2014-12-10 04:45:19.904+0000: 1576: error : do_open:1165 : no connection driver available for xen:///
2014-12-10 04:45:19.916+0000: 1573: error : virNetSocketReadWire:1571 : End of file while reading data: Input/output error
Offline
Unable to connect to libvirt.
no connection driver available for xen:///
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 968, 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/site-packages/libvirt.py", line 105, in openAuth
if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: no connection driver available for xen:///
Offline
[root@localhost ~]# xl list
Name ID Mem VCPUs State Time(s)
Domain-0 0 2048 4 r----- 406.4
[root@localhost ~]# xm list
WARNING: xend/xm is deprecated.
Name ID Mem VCPUs State Time(s)
Domain-0 0 2048 4 r----- 406.7
[root@localhost ~]# cat /proc/xen/capabilities
control_d
[root@localhost ~]#
Offline
https://wiki.archlinux.org/index.php/Libvirt
[Libvirt]
Warning: Xen support is available but not by default. You need to use the ABS to modify libvirt's PKGBUILD and build it without the --without-xen option.
Offline
This happened also on my KVM / qemu today after the upgrade. Rebooting or restarting doesn't do a thing.
However on my case libvirirtd loaded without issues.
Fixet after downgrade:
pacman -U libvirt-1.2.21-1-x86_64.pkg.tar.xz
loading packages...
warning: downgrading package libvirt (1.3.0-1 => 1.2.21-1)
resolving dependencies...
looking for conflicting packages...
and
pacman -U qemu-2.4.1-1-x86_64.pkg.tar.xz
loading packages...
warning: downgrading package qemu (2.4.1-2 => 2.4.1-1)
resolving dependencies...
looking for conflicting packages...
Packages (1) qemu-2.4.1-1
Pretty bug.
Last edited by r0b0t (2015-12-11 14:22:09)
Offline