KVM error: Failed to connect socket to ‘/var/run/libvirt/libvirt-sock‘
[root@localhost ~]# virsh list
error: failed to connect to the hypervisor
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
[root@localhost ~]# systemctl status libvirtd
● libvirtd.service - Virtualization daemon
Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:libvirtd(8)
https://libvirt.org
[root@localhost ~]# systemctl start libvirtd
[root@localhost ~]# systemctl status libvirtd
● libvirtd.service - Virtualization daemon
Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2018-12-27 23:39:09 EST; 1s ago
Docs: man:libvirtd(8)
https://libvirt.org
Main PID: 2319 (libvirtd)
Tasks: 19 (limit: 32768)
CGroup: /system.slice/libvirtd.service
├─2319 /usr/sbin/libvirtd
├─2425 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq...
└─2428 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq...
Dec 27 23:39:09 localhost.localdomain systemd[1]: Started Virtualization...
Dec 27 23:39:10 localhost.localdomain dnsmasq[2425]: started, version 2....
Dec 27 23:39:10 localhost.localdomain dnsmasq[2425]: compile time option...
Dec 27 23:39:10 localhost.localdomain dnsmasq-dhcp[2425]: DHCP, IP range...
Dec 27 23:39:10 localhost.localdomain dnsmasq-dhcp[2425]: DHCP, sockets ...
Dec 27 23:39:10 localhost.localdomain dnsmasq[2425]: reading /etc/resolv...
Dec 27 23:39:10 localhost.localdomain dnsmasq[2425]: using nameserver 11...
Dec 27 23:39:10 localhost.localdomain dnsmasq[2425]: read /etc/hosts - 2...
Dec 27 23:39:10 localhost.localdomain dnsmasq[2425]: read /var/lib/libvi...
Dec 27 23:39:10 localhost.localdomain dnsmasq-dhcp[2425]: read /var/lib/...
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost ~]# virsh list --all
Id Name State
----------------------------------------------------
[root@localhost ~]#
相关文章
- Error Message – The index ” is dependent on column ”.ALTER TABLE ALTER COLUMN ” failed because one or more objects access this column.
- pip install fails with “connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:598)”
- docker启动报错:Job for docker. service failed because the control process exited with error code
- 【node-sass】 Module build failed: Error: ENOENT: no such file or directory, scandir 'C:UserslizhaohongDesktoptestwebpacknode_modules.4.7.2@node-sassvendor'
- 编译内核时报错./include/net/sch_generic.h:535:28: error: inlining failed in call to always_inline 'qdisc_pkt_len': indirect function call with a yet undetermined callee static inline unsigned int qdisc_pkt_
- 端口号被占用【Error】严重: Failed to initialize end point associated with ProtocolHandler ["http-bio-8080"]
- Android 安卓真机调试 出现Installation error: INSTALL_FAILED_UPDATE_INCOMPATIBLE....
- 使用vue-cli3创建项目的时候出错,ERROR command failed: npm install --loglevel error --registry
- Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'event read from binlog did not pass crc check; the first event
- kubelet: error: failed to run Kubelet: cannot create certificate signing request: Unauthorized
- Solution of Publishing failed with multiple errors Error copying file static
- 错误ERROR datanode.DataNode (DataXceiver.java:run(278)) - hadoop07:50010DataXceiver error processing unknown operation src:127.0.0.136479 dst:127.0.0.150010
- PySe-016-Requests 访问 HTTPS 网站报错解决方法:SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)
- InnoDB: Error: io_setup() failed with EAGAIN after 5 attempts
- phpstorm failed to create jvm:error code -6 解决办法 解决方法
- 【Linux学习笔记】解决:error: command ‘gcc‘ failed with exit status 1
- Yarn Register DNS失败报A fatal error has been detected by the Java Runtime Environment或 Failed to write
- HandleServiceCommands: system error caught. error code=1072, message = CreateService failed: unknow
- Mongodb报错:ERROR: child process failed, exited with error number 1
- error: rpmdb: BDB0113 Thread/process 20702/139826260486208 failed: BDB1507 Thread died in Berkeley D