黑帽联盟

标题: 启动virt-manager报错:Failed to open "/var/lib/dbus/machine-id" [打印本页]

作者: 定位    时间: 2023-10-20 22:27
标题: 启动virt-manager报错:Failed to open "/var/lib/dbus/machine-id"
[root@hyperStor ~]# virt-manager    //启动KVM虚拟机管理工具报错
process 4619: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
  D-Bus not built with -rdynamic so unable to print a backtrace
Aborted (core dumped)


[root@hyperStor ~]# /etc/init.d/libvirtd  status   // 查看虚拟化守护进程状态
libvirtd (pid  2491) is running...


故障解决:

[root@hyperStor ~]# mkdir -p /var/lib/dbus
[root@hyperStor ~]# dbus-uuidgen  > /var/lib/dbus/machine-id
[root@hyperStor ~]# virt-manager







欢迎光临 黑帽联盟 (https://bbs.cnblackhat.com/) Powered by Discuz! X2.5