Web Hosting Talk







View Full Version : HyperVM Issue


Exoware
02-27-2009, 12:43 PM
So, we've managed to install HyperVM with Xen virtualization on a server of ours, but whenever we attempt to create a Xen VM, it seems to create all the necessary files, but the VM does not boot at all.
: [(__system__:/usr/local/lxlabs/hypervm/httpdocs) 'xm' 'mem-set' 'testing.vm' '256']
16:15 Feb/27/2009: Error: Domain 'testing.vm' does not exist.
: [(__system__:/usr/local/lxlabs/hypervm/httpdocs) 'xm' 'sched-credit' '-d' 'testing.vm' '-c' '400']
16:15 Feb/27/2009: Error: Domain 'testing.vm' does not exist.
: [(__system__:/usr/local/lxlabs/hypervm/httpdocs) 'xm' 'mem-set' 'testing.vm' '256']
16:15 Feb/27/2009: Error: Domain 'testing.vm' does not exist.
: [(__system__:/usr/local/lxlabs/hypervm/httpdocs) 'xm' 'sched-credit' '-d' 'testing.vm' '-c' '400']
16:15 Feb/27/2009: File descriptor 3 left open
File descriptor 6 left open
One or more specified logical volume(s) not found.
: [(__system__:/usr/local/lxlabs/hypervm/httpdocs) 'lvremove' '-f' '/dev/VolGroup00/testing_vmswap']
16:16 Feb/27/2009: Error: (2, 'Invalid kernel', 'xc_dom_parse_elf_kernel: ELF image has no shstrtab\n')
: [(__system__:/usr/local/lxlabs/hypervm/httpdocs) 'xm' 'create' '/home/xen/testing.vm/testing.vm.cfg']
16:16 Feb/27/2009: Error: (2, 'Invalid kernel', 'xc_dom_parse_elf_kernel: ELF image has no shstrtab\n')
: [(__system__:/usr/local/lxlabs/hypervm/httpdocs) 'xm' 'create' '/home/xen/testing.vm/testing.vm.cfg']
16:20 Feb/27/2009: Error: (2, 'Invalid kernel', 'xc_dom_parse_elf_kernel: ELF image has no shstrtab\n')
: [(__system__:/usr/local/lxlabs/hypervm/httpdocs) 'xm' 'create' '/home/xen/testing.vm/testing.vm.cfg']
Does anybody have any suggestions as to what the problem is?

rghf
02-27-2009, 12:45 PM
What happens if you try to start the Xen VM manually? Are you on the right kernel?

Exoware
02-27-2009, 12:49 PM
Linux vpsnode1.exoware.net 2.6.18-92.1.22.el5xen #1 SMP Tue Dec 16 12:26:32 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
It just says
Information: boot successfully updated for testing.vm

rghf
02-27-2009, 12:56 PM
IF you do something like
xm create /home/xen/testing.vm/testing.vm.cfg -c
Does the console show anything intresting?

Exoware
02-27-2009, 01:01 PM
Yes, it does. I'm not entirely sure how to decipher the meaning behind it though...
Using config file "/home/xen/testing.vm/testing.vm.cfg".
Error: (2, 'Invalid kernel', 'xc_dom_parse_elf_kernel: ELF image has no shstrtab\n')

rghf
02-27-2009, 01:15 PM
Best to google "xc_dom_parse_elf_kernel: ELF image has no shstrtab". Looks like a kernel compatibility issues from my quick look
Rus

Exoware
02-27-2009, 01:45 PM
Thanks, everybody on Google seems to hit this issue, but have hit it coming from different circumstance, it's a little odd. I can't figure out the common factor between them all.

Shikhir A
02-27-2009, 02:07 PM
Try re-installing. A lot of times, the kernel doesn't install with the HyperVM software...:).

Exoware
02-27-2009, 02:27 PM
What do you both consider to be the best distro to run a HyperVM node on?

DigitalLinx
02-27-2009, 02:35 PM
What do you both consider to be the best distro to run a HyperVM node on?
Centos 5.2 64 bit.

quad3datwork
02-27-2009, 03:10 PM
cat /home/xen/testing.vm/testing.vm.cfg
If you don't mind sharing that.....
I assume you also reloaded HyperVM with Xen drivers... http://lxlabs.com/software/hypervm/install-xen/
When you are creating the VMs, at very bottom it'll say what driver HyperVM is using. It should say "Xen".

Shikhir A
02-27-2009, 04:11 PM
What do you both consider to be the best distro to run a HyperVM node on?
+1 to CentOS 5.2 64 bit. Works great, :).

PCS-Chris
02-27-2009, 05:35 PM
I'm sure ive seen this before and was a case of the symlinks used for the VM Kernel not being set correctly.
run /script/fixxenkernel and console into the vps, same error?