KVM failed to start after ODA upgrade from 18.8 to 19.6
Recent we had patched our ODA X7-2M (Baremetal) machine from 18.8 to 19.6 click here to read more about same both OS and Server patch was successful, But after ODA Server patched when tired to start KVM machine encounter below errors:
error: Failed to start domain vm_adhoc
error: Cannot check QEMU binary /usr/libexec/qemu-kvm: No such file or directory
Follow the below solution to fix the issue of KVM failed to start after the ODA upgrade from 18.8 to 19.6.
PROBLEM:
[root@xxx-xxxxx oak]# virsh list –all
Id Name State
——————————
– vm_adhoc shut off
– vm_ucastest shut off
[root@oda-xxx-xxxxx oak]# virsh start vm_adhoc
error: Failed to start domain vm_adhoc
error: Cannot check QEMU binary /usr/libexec/qemu-kvm: No such file or directory,
SOLUTION:
1) Use virsh edit <vm-name> to edit KVM config xml file and replace below mention values for machine and emulator
old:
<os>
<type arch=’x86_64′ machine=’rhel6.6.’>hvm</type>
<boot dev=’hd’/>
</os>
new:
<os>
<type arch=’x86_64′ machine=’pc-i440fx-3.1′>hvm</type>
<boot dev=’hd’/>
</os>
————————————————————————————
old:
<emulator>/usr/libexec/qemu-kvm</emulator>
new:
<emulator>/usr/bin/qemu-system-x86_64</emulator>
NOTE: Do not try to edit kvm config xml file (/etc/libvirt/qemu) directly using vi command, use only virsh edit command. If you changed required values using vi command changes will not reflect new values after restart of KVM machine, it will take old values only.
A big Thanks to Jamsher click here to know about him, to work with Oracle support and fixed this issue. Click here for reference solution of it.
This document is only for learning purpose and always validate in the LAB environment first before applying in the LIVE environment.
Hope so you like this article!
Please share your valuable feedback/comments/subscribe and follow us below and don’t forget to click on the bell icon to get the latest update. Click here to know more about our pursuit.
Related Articles
- Oracle Database Appliance Odacli & Odaadmcli Command reference
- Solution for Oracle Appliance Manager Console Access Issue in ODA
- Configure Oracle database Network connection with SSL/TLS in ODA Machine
- Step By Step Upgrade from 18.8 to 19.6 (Patch Apply) in ODA X7-2M
- KVM failed to start after ODA upgrade from 18.8 to 19.6