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

作者:袖梨 2022-06-30

今天从公司一个闲置电脑上装几个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': 未知的名称或服务
                                                           [确定]
 

相关文章

精彩推荐