0x00 問題 安裝完 KVM 之後,啟動管理工具報錯: 於是查看 libvirtd 服務狀態,查看到以下內容: 過濾出關鍵信息為: 0x01 解決 安裝 openssl 重啟 libvirtd ...
0x00 問題
安裝完 KVM 之後,啟動管理工具報錯:內部錯誤:無法找到適合 x86_64 的模擬器
於是查看 libvirtd 服務狀態,查看到以下內容:
6月 14 10:18:53 localhost.localdomain libvirtd[21222]: 2019-06-14 02:18:53.498+0000: 21223: error : virQEMUCapsLoadCache:3471 : 內部錯誤:missing microcode version in QEMU capabilities cache
6月 14 10:18:53 localhost.localdomain libvirtd[21222]: 2019-06-14 02:18:53.498+0000: 21223: warning : virFileCacheLoad:161 : Failed to load cached data from '/var/cache/libvirt/qemu/capabilities/3c76bc41d59c0c7314b1ae8e63f4f765d2cf16abaeea081b3ca1f5d8732f7bb1.xml' for '/usr/libexec/qemu-kvm': 內部錯誤:missing microcode version in QEMU capabilities cache
6月 14 10:18:53 localhost.localdomain libvirtd[21222]: 2019-06-14 02:18:53.526+0000: 21223: error : virQEMUCapsNewForBinaryInternal:4589 : 內部錯誤:Failed to probe QEMU binary with QMP: /usr/libexec/qemu-kvm: relocation error: /lib64/libspice-server.so.1: symbol SSL_CONF_CTX_set_ssl_ctx, version libssl.so.10 not defined in file libssl.so.10 with link time reference
6月 14 10:18:53 localhost.localdomain libvirtd[21222]: 2019-06-14 02:18:53.526+0000: 21223: warning : virQEMUCapsLogProbeFailure:4536 : 為 /usr/libexec/qemu-kvm 探測功能失敗:內部錯誤:Failed to probe QEMU binary with QMP: /usr/libexec/qemu-kvm: relocation error: /lib64/libspice-server.so.1: symbol SSL_CONF_CTX_set_ssl_ctx, version libssl.so.10 not defined in file libssl.so.10 with link time reference
6月 14 10:18:53 localhost.localdomain libvirtd[21222]: 2019-06-14 02:18:53.527+0000: 21223: error : virQEMUCapsLoadCache:3471 : 內部錯誤:missing microcode version in QEMU capabilities cache
6月 14 10:18:53 localhost.localdomain libvirtd[21222]: 2019-06-14 02:18:53.528+0000: 21223: warning : virFileCacheLoad:161 : Failed to load cached data from '/var/cache/libvirt/qemu/capabilities/3c76bc41d59c0c7314b1ae8e63f4f765d2cf16abaeea081b3ca1f5d8732f7bb1.xml' for '/usr/libexec/qemu-kvm': 內部錯誤:missing microcode version in QEMU capabilities cache
6月 14 10:18:53 localhost.localdomain libvirtd[21222]: 2019-06-14 02:18:53.555+0000: 21223: error : virQEMUCapsNewForBinaryInternal:4589 : 內部錯誤:Failed to probe QEMU binary with QMP: /usr/libexec/qemu-kvm: relocation error: /lib64/libspice-server.so.1: symbol SSL_CONF_CTX_set_ssl_ctx, version libssl.so.10 not defined in file libssl.so.10 with link time reference
6月 14 10:18:53 localhost.localdomain libvirtd[21222]: 2019-06-14 02:18:53.555+0000: 21223: warning : virQEMUCapsLogProbeFailure:4536 : 為 /usr/libexec/qemu-kvm 探測功能失敗:內部錯誤:Failed to probe QEMU binary with QMP: /usr/libexec/qemu-kvm: relocation error: /lib64/libspice-server.so.1: symbol SSL_CONF_CTX_set_ssl_ctx, version libssl.so.10 not defined in file libssl.so.10 with link time reference
6月 14 10:18:53 localhost.localdomain libvirtd[21222]: 2019-06-14 02:18:53.555+0000: 21223: error : virCapabilitiesDomainDataLookupInternal:736 : 無效參數:could not find capabilities for arch=x86_64 domaintype=qemu
6月 14 10:18:53 localhost.localdomain libvirtd[21222]: 2019-06-14 02:18:53.555+0000: 21223: error : virQEMUCapsGetDefaultVersion:1494 : 內部錯誤:無法找到適合 x86_64 的模擬器
過濾出關鍵信息為:symbol SSL_CONF_CTX_set_ssl_ctx, version libssl.so.10 not defined in file libssl.so.10 with link time reference
0x01 解決
安裝 openssl
[root@localhost ~]# yum -y install openssl
重啟 libvirtd
[root@localhost ~]# systemctl restart libvirtd.service