How to troubleshoot "cannot find QEMU binary" error while creating virtual machine using RHEL 5.3?

Hello All,

I am trying out virtualization with RHEL 5.3. Till disk creation everthing looks fine but right after disk creation it gives an error as follows:

Unable to complete install 'libvirt.libvirtError virDomainCreateLinux() failed Cannot find QEMU binary /usr/bin/qemu: No such file or directory
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 627, in do_install
dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 822, in start_install
return self._do_install(consolecb, meter, wait)
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 843, in _do_install
self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib/python2.4/site-packages/libvirt.py", line 573, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: virDomainCreateLinux() failed Cannot find QEMU binary /usr/bin/qemu: No such file or directory'

I was trying to create this VM using VMM available in RHEL 5.3. I am very new to world of LINUX. Also, it would be good if anyone of you can recommend some reading material or tutorial about LINUX and VM using RHEL 5.3.

Please help!! Thanks in advance.

----Niri
chelpoolunitedAsked:
Who is Participating?
 
woolmilkporcCommented:
Hi,

I think  you are missing the  qemu  package.

Find it here (or use up2date) -

http://rpm.pbone.net/index.php3/stat/4/idpl/12082189/com/qemu-0.9.1-1.el5.rf.x86_64.rpm.html


wmp








0
 
woolmilkporcCommented:
0
 
woolmilkporcCommented:
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
ai_ja_naiCommented:
0 points tip: don't use graphical utilities before you mastered command line version of the same utility, or you'll be stuck without knowing what to do
0
 
chelpoolunitedAuthor Commented:
Hello ai_ja_nai...
As I have already said, I am very new to this LINUX world, I am not really well with all the commands apart from the very basic ones. So please recommend readings or tutorials for mastering these commands.

Thanks a lot !
0
 
ai_ja_naiCommented:
This is a fancy start guide, found googling "linux qemu howto": http://lumumba.uhasselt.be/takis/howto/qemu.html

About the error, did you check "hardware acceleration" option and forget to install the KVM module? It may be that you are trying to use hardware accel without the proper module. Have you installed qemu and qemu-kvm packages?
Also, can you confirm whether 'service libvirtd status' shows any PID(s) running? If so, for each one, do an 'lsof -p <pid>' and paste the output.
0
 
chelpoolunitedAuthor Commented:
Thanks woolmilkporc,

After Qemu installation the virtual machine creation went one step ahead but it has started giving new error during creation of domain. The error says:

Unable to complete install 'libvirt.libvirtError virDomainCreateLinux() failed Timed out while reading monitor startup output Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/create.py", line 627, in do_install
    dom = guest.start_install(False, meter = meter)
  File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 822, in start_install
    return self._do_install(consolecb, meter, wait)
  File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 843, in _do_install
    self.domain = self.conn.createLinux(install_xml, 0)
  File "/usr/lib/python2.4/site-packages/libvirt.py", line 573, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: virDomainCreateLinux() failed Timed out while reading monitor startup output '

But if I cancel and repeat the process it works...Also I am unable to install Windows server as guest with error that says: Cannot find CD or Media to copy from. This is happening after the reboot that is required during windows setup after copying of required files. From the guest hardware configuration I understood that the CD ROM is not attached to guest. I tried adding but to no avail. Please help....


Thanks in advance.....
0
 
chelpoolunitedAuthor Commented:
Hello All,

Its working fine. Red HAT virtualization guide helped a lot about understanding the things. But I do not see any of the config files for my VMs at the location mentioned by RED HAT virtualization guide. Anyways my problem seems to have been solved and I accept your solutions.

Thanks
----Niri
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.