My Oracle Support Banner

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 MAY 27, 2020

Applies to:

Oracle VM - Version 2.1 to 2.1.2 [Release OVM21 to OVM212]
Oracle Cloud Infrastructure - Version N/A and later
Information in this document applies to any platform.
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/", line 1808, in destroy
File "/usr/lib/python2.4/site-packages/xen/xend/", line 2007, in _cleanupVm
File "/usr/lib/python2.4/site-packages/xen/xend/", line 94, in destroy
XendAPIStore.deregister(self.get_uuid(), self.getClass())
File "/usr/lib/python2.4/site-packages/xen/xend/", 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


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.