When trying to start VM pv guest - Error: 2, Invalid Kernel, Xc_dom_parse_elf_kernel: Elf Image Has No Shstrtab

(Doc ID 757453.1)

Last updated on APRIL 29, 2009

Applies to:

Oracle VM - Version: 2.1 to 2.1.2
Information in this document applies to any platform.


When trying to start Oracle VM paravirt guest this error is seen:
# xm create vm.cfg
Using config file "./vm.cfg".
Error: (2, 'Invalid kernel', 'xc_dom_parse_elf_kernel: ELF image has no shstrtab\n')

On Oracle VM Server 2.1.2 you will see this error:
# xm create vm.cfg
Using config file "./vm.cfg".
Error: ('fc0c6f92-185a-4a0d-9e08-c3ec485d36d6', 'VM_metrics')

Real error is in xend-debug.log on Oracle VM Server:
# tail -f /var/log/xen/xend.log /var/log/xen/xend-debug.log
==> /var/log/xen/xend.log <==
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1808, in destroy
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2007, in _cleanupVm
File "/usr/lib/python2.4/site-packages/xen/xend/XendBase.py", line 94, in destroy
XendAPIStore.deregister(self.get_uuid(), self.getClass())
File "/usr/lib/python2.4/site-packages/xen/xend/XendAPIStore.py", line 36, in deregister
del __classes[(uuid, type)]
KeyError: ('fc0c6f92-185a-4a0d-9e08-c3ec485d36d6', 'VM_metrics')

==> /var/log/xen/xend-debug.log <==
Got a VNC password read from XenStore
Registered password
22/12/2008 11:48:58 Autoprobing TCP port
22/12/2008 11:48:58 Autoprobing selected port 5901
ERROR Invalid kernel: xc_dom_parse_elf_kernel: ELF image has no shstrtab


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms