VPS Will Not Reboot

I am getting this boot message when rebooting a Xen instance. Please advise how to correct this.

PTY PID: 22811 Using config file "/xen/cwtvoip.cfg". Error: VM name 'cwtvoip' already in use by domain 32

Status: 
Closed (fixed)

Comments

Try SSHing into the host system as root and running :

xm list

if you see a VM named cwtvoip or Zombie-cwtvoip already running, kill it manually with the command :

xm destroy cwtvoip

or

xm destroy Zombie-cwtvoip

xm list returns a message of "bash: xm: command not found"

However, xm shows up twice on the process list.

Try using /usr/sbin/xm instead

That did the trick. Thanks.

Cool .. I will improve Virtualmin's detection of those zombie Xen instances in future.

My server needed rebooted and now the Xen VPS instances are not running. I tried running the xm list command, but it says that xend is not running. I tried to restart it with /etc/init.d/xend start or restart, but it did not restart. Please advise.

Is the xend process actually running? If not, does /etc/init.d/xend start start it?

xend is not a running process and running the start or restart command just comes back to the command line without an error, but the process does not start.

Are you sure it wasn't rebooted into a non-Xen kernel? Run uname -a and make sure you see xen in the output.

If so, check /boot/grub/menu.lst and make sure the default kernel is the one with Xen.

That was the problem. It was booting a non-xen kernel.

Thanks.