我的虚拟机啊!
Tofloor
poster avatar
wei15653124686
deepin
2020-04-11 04:50
Author
我的KVM虚拟机出现了无法连接到libvirt。有大神知道的吗?如有知道的,麻烦回复一下,谢谢。真的求求你们了!
图片:

错误代码:
无法连接到 libvirt。

确定 ‘libvirtd’ 守护进程正在运行。

Libvirt URI is: qemu:///system

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 904, in _do_open
    self._backend.open(self._do_creds_password)
  File "/usr/share/virt-manager/virtinst/connection.py", line 148, in open
    open_flags)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 105, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: Failed to connect socket to '/var/run/libvirt/libvirt-sock': 没有那个文件或目录

Reply Favorite View the author
All Replies
avatar
liwl
deepin
2020-04-11 05:00
#1
服务没起?
Reply View the author
avatar
wei15653124686
deepin
2020-04-11 05:11
#2

您好,我是第一次遇到这种情况,不知道服务怎么重新启动,请问怎么启动,谢谢!
Reply View the author
avatar
stone
deepin
2020-04-11 05:19
#3
先查一下服务状态
  1. systemctl libvirtd status
Copy the Code


或者直接 重启服务
  1. systemctl libvirtd restart
Copy the Code
Reply View the author
avatar
wei15653124686
deepin
2020-04-11 05:24
#4
https://bbs.deepin.org/post/191266
先查一下服务状态

您好,还是不行,感谢您的提供。
Reply View the author
avatar
stone
deepin
2020-04-12 07:22
#5
https://bbs.deepin.org/post/191266
您好,还是不行,感谢您的提供。
  1. systemctl libvirtd status
Copy the Code

状态贴出来
Reply View the author
avatar
stone
deepin
2020-04-12 07:23
#6
https://bbs.deepin.org/post/191266
您好,还是不行,感谢您的提供。
  1. systemctl libvirtd status
Copy the Code

把状态贴出来看看
Reply View the author
avatar
stone
deepin
2020-04-12 07:23
#7
https://bbs.deepin.org/post/191266
您好,还是不行,感谢您的提供。

把状态贴出来看看
Reply View the author
avatar
stone
deepin
2020-04-12 07:25
#8
。。。。 论坛抽了,一直提示内容错误,一下发了这么多。。。。
Reply View the author