CentOS 7 virt-manager cannot connect to the local hypervisor

Source: Internet
Author: User

CentOS 7 virt-manager cannot connect to the local hypervisor

Linux: CentOS 7 Gnome Desktop

Problem description:

After yum install virt-manager is used in CentOS 7, virt-manager cannot connect to the local hypervisor.

With lsmod, you can see that the kvm-intel module has been added to the kernel.

Use the command line tool virsh

[Root @ localhost qemu] # virsh define CCnode. xml

Error: failed to connect to the hypervisor

Error: no valid connection

Error: no connection driver available for <null>

Error: Failed to reconnect to the hypervisor

Restart the libmongod service to view logs/var/log/messages

Aug 10 11:15:57 localhost implements EMD: Starting implements alization daemon...

Aug 10 11:15:57 localhost journal: libvirt version: 1.2.8, package: 16. el7_1.3 (CentOS BuildSystem

Aug 10 11:15:57 localhost journal: failed to load module/usr/lib64/libvirt/connection-driver/lib1__driver_storage.so/usr/lib64/libvirt/connection-driver/lib1__driver_storage.so: symbol upload, version Base not defined in file libdevmapper. so.1.02 with link time reference

Aug 10 11:15:57 localhost journal: failed to load module/usr/lib64/libvirt/connection-driver/Drivers/usr/lib64/libvirt/connection-driver/lib+_driver_qemu.so: undefined symbol: virStorageFileCreate

Aug 10 11:15:57 localhost journal: Module/usr/lib64/libvirt/connection-driver/lib1__driver_lxc.so not accessible

Aug 10 11:15:57 localhost implements EMD: Started implements alization daemon.

Key Parts of log record errors:

Journal: failed to load module/usr/lib64/libvirt/connection-driver/lib1__driver_storage.so/usr/lib64/libvirt/connection-driver/lib1__driver_storage.so: symbol restart, version Base not defined in file libdevmapper. so.1.02 with link time reference

Aug 10 11:15:57 localhost journal: failed to load module/usr/lib64/libvirt/connection-driver/Drivers/usr/lib64/libvirt/connection-driver/lib+_driver_qemu.so: undefined symbol: virStorageFileCreate

After Google, you only need to update the software package to solve this problem.

View the package version:

Yum info device-mapper-libs

Update Software Package:

Yum update device-mapper-libs

Refer:

  • Https://bugzilla.redhat.com/show_bug.cgi? Id = 1164773
  • Https://bugzilla.redhat.com/show_bug.cgi? Id = 842068

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.