How to install Virt-manager unable to connect to Libvirt using VMware virtual machine

Source: Internet
Author: User
Tags nameserver

RHEL7.0 start the LIBVIRTD service process after the installation is complete Virt-manager

[[email protected] desktop]# Systemctl enable Libvirtd[[email protected] desktop]# systemctl start LIBVIRTD

When you start the virtual machine management software by using the Virt-manager command, prompt Unable to connect to Libvirt

Unable to connect to libvirt.no connection driver available for Qemu:///systemlibvirt URI is:qemu:///systemtraceback (MOS T recent call last): File "/usr/share/virt-manager/virtmanager/connection.py", line 969, in _open_thread self._backend . Open (Self._do_creds_password) File "/usr/share/virt-manager/virtinst/connection.py", line 157, in open open_flags) F Ile "/usr/lib64/python2.7/site-packages/libvirt.py", line, Openauth if RET is none:raise libvirterror (' VirConnec Topenauth () failed ') Libvirterror:no connection driver available for Qemu:///system

View the status of LIBVIRTD

[[email protected] desktop]# systemctl status libvirtdlibvirtd.service -  virtualization daemon   loaded: loaded  (/usr/lib/systemd/system/libvirtd.service ;  enabled)    Active: active  (running)  since Mon 2015-08-31  21:27:48 CST; 4MIN 47S AGO     DOCS: MAN:LIBVIRTD (8)             http://libvirt.org main pid: 9837   (LIBVIRTD)    CGroup: /system.slice/libvirtd.service            └─9837 /usr/sbin/libvirtdAug 31 21:27:48  demo.example.com libvirtd[9837]: libvirt version: 1.2.8, package: 16.el7_1.3   (centos buildsystem 

There may be a problem with the driver installation, update the Device-mapper package

[email protected] desktop]# Yum update device-mapper

Restart LIBVIRTD Service

[[email protected] desktop]# systemctl restart libvirtd[[email protected]  Desktop]# systemctl status libvirtdlibvirtd.service - virtualization daemon    Loaded: loaded  (/usr/lib/systemd/system/libvirtd.service; enabled)     Active: active  (running)  since Mon 2015-08-31 21:34:23 CST;  7S AGO     DOCS: MAN:LIBVIRTD (8)             http://libvirt.org Main PID: 10082  (LIBVIRTD)     CGroup: /system.slice/libvirtd.service            ├─10082 /usr/sbin/libvirtd           ├─10185  /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --dhcp-script=/usr/libexec/ libvirt_leaseshelper           └─10186 /sbin/dnsmasq --conf-file=/var/lib/ Libvirt/dnsmasq/default.conf --dhcp-script=/usr/libexec/libvirt_leaseshelperaug 31 21:34:23  demo.example.com systemd[1]: started virtualization daemon. aug 31 21:34:26 demo.example.com dnsmasq[10185]: started, version 2.66  cachesize 150aug 31 21:34:26 demo.example.com dnsmasq[10185]: compile  time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6  No-lua tftp no ... et authaug 31 21:34:26 demo.example.com dnsmasq-dhcp[10185]: dhcp, ip  Range 192.168.122.2 -- 192.168.122.254, lease time 1haug 31 21:34:26  demo.example.com dnsmasq[10185]: reading /etc/resolv.confAug 31 21:34:26  Demo.example.com dnsmasq[10185]: using nameserver 202.103.44.150#53aug 31 21:34:26 demo.example.com  dnsmasq[10185]: using nameserver 202.103.24.68#53Aug 31 21:34:26  demo.example.com dnsmasq[10185]: read /etc/hosts - 4 addressesaug 31  21:34:26 demo.example.com dnsmasq[10185]: read /var/lib/libvirt/dnsmasq/default.addnhosts  - 0 addressesAug 31 21:34:26 demo.example.com dnsmasq-dhcp[10185]:  Read /var/lib/libvirt/dnsmasq/default.hostsfilehint: some lines were ellipsized,  use -l to show in full.

At this time LIBVIRTD service display as normal, no error occurred, run Virt-manager again, can connect normally

How to install Virt-manager unable to connect to Libvirt using VMware virtual machine

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.