一聚教程网:一个值得你收藏的教程网站

热门教程

启动libvirtd报错解决办法:libvirtd: relocation error: libvirtd

时间:2022-06-30 20:47:58 编辑:袖梨 来源:一聚教程网

今天从公司一个闲置电脑上装几个kvm耍耍docker,不料安装没有那么顺利,启动libvirtd有如下报错:

[root@kvmmaster lib64]# service libvirtd restart
正在关闭 libvirtd 守护进程:                               [失败]
启动 libvirtd 守护进程:libvirtd: relocation error: libvirtd: symbol dm_task_get_info_with_deferred_remove, version Base not defined in file libdevmapper.so.1.02 with link time reference
                                                           [失败]
 
百度是真解决不了问题,翻墙一下就找到了,网友提供的解决方案如下:

yum -y  upgrade device-mapper-libs

瞬间解决了。
 

[root@kvmmaster lib64]# service libvirtd restart
正在关闭 libvirtd 守护进程:                               [失败]
启动 libvirtd 守护进程:2016-06-20 06:50:48.009+0000: 2184: info : libvirt version: 0.10.2, package: 60.el6 (CentOS BuildSystem <http://bugs.centos.org>, 2016-05-11-04:19:11, worker1.bsys.centos.org)
2016-06-20 06:50:48.009+0000: 2184: warning : virGetHostname:2279 : getaddrinfo failed for 'kvmmaster': 未知的名称或服务
                                                           [确定]
 

热门栏目