KVM failed to start after ODA upgrade from 18.8 to 19.6

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
e
rror: 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 issueClick 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

ODA | ORA-ERRORS | ORACLE | PATCHING | UNIX:LINUX | UPGRADE



 70 Total Views,  2 Views Today

How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Spread the Knowledge!

Leave a Reply

Your email address will not be published. Required fields are marked *

10 − nine =

Open chat
1
Contact Us:
Hi,

Greetings of the day! How can we help you?

Thanks.
Team DBsGuru
Direct Call:+91-9310167776
Email: info@dbsguru.com

Share Learn Grow!


Click on the below technical group to join us to share expertise in PostgreSQL and MySQL on WhatsApp group. The purpose of this group is only help to the DBA community.

PostgreSQL Technical Group.

MySQL technical Group.

Technical Links Powered by DBsGuru.

Thanks.
Team DBsGuru.