System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

error while starting XEN vm guest in centos 5.3

iinfi1
Super Advisor

error while starting XEN vm guest in centos 5.3

i installed centos 5.3 with the intention of clustering two virtual machine guests.
even before i could get started i started facing issues.
I installed two instances of CentOS on the machine. installation goes off fine and everything works fine till i shutdown the guest.
with no change in the configuration whatsoever when i try to start the guest again i get this error

[code]
Error starting domain: virDomainCreate() failed POST operation failed: (xend.err "Error creating domain: (2, 'Invalid kernel', 'xc_dom_parse_elf_kernel: ELF image has no shstrtab\\n')")

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/engine.py", line 514, in run_domain
vm.startup()
File "/usr/share/virt-manager/virtManager/domain.py", line 379, in startup
self.vm.create()
File "/usr/lib/python2.4/site-packages/libvirt.py", line 228, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: virDomainCreate() failed POST operation failed: (xend.err "Error creating domain: (2, 'Invalid kernel', 'xc_dom_parse_elf_kernel: ELF image has no shstrtab\\n')")
[/code]

i was using the kernel CentOS (2.6.18-128.el5xen) earlier.

thinking it might be a bug i updated the virtualization packages and installed
CentOS (2.6.18-164.el5xen)

i tried to start the guest, still the issue persists.
any leads which might lead to a solution highly appreciated.

thanks
2 REPLIES
Steven E. Protter
Exalted Contributor

Re: error while starting XEN vm guest in centos 5.3

Shalom,

I agree with your analysis since it was working on CentOS 5 update 2.

I'd either wait for update 4, update the systems and see if its resolved, yum the systems and see if this was patched during update 3, or back off to update 2.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
iinfi1
Super Advisor

Re: error while starting XEN vm guest in centos 5.3

thank you Steven ...
our company does not have servers with fencing device which is why i was trying to use VM and manual fencing for installing Parallels Virtuozzo containers in a RH cluster.
it was silly of me to try virtualization inside a virtualization product. i didnt have an option n i didnt want to make h/w limitation a barrier to learn smething new.
i noticed it is parallels installation which is causing this issue.
thanks for your help.