XEN not working on XEN LiveCD
-
- Offline
- 4 years 7 months ago
- 2013-08-04
Dear All,
After running the XEN LiveCD and running the commands setup-xen-dom0 and setup-alpine, XEN (xm, xend) is not working:
box:~# xm list
Traceback (most recent call last):
File "/usr/sbin/xm", line 5, in
from xen.xm import main
ImportError: No module named xm
box:~#
box:~#
box:~#
box:~# /etc/init.d/xend restart
* Starting Xen control daemon ...
Traceback (most recent call last):
File "/usr/sbin/xend", line 36, in
from xen.xend.server import SrvDaemon
ImportError: No module named xend.server
Traceback (most recent call last):
File "/usr/sbin/xend", line 36, in
from xen.xend.server import SrvDaemon
ImportError: No module named xend.server
Traceback (most recent call last):
File "/usr/sbin/xend", line 36, in
from xen.xend.server import SrvDaemon
ImportError: No module named xend.server
Traceback (most recent call last):
File "/usr/sbin/xend", line 36, in
from xen.xend.server import SrvDaemon
ImportError: No module named xend.server
^C * xend: caught SIGINT, aborting
box:~#
As far as i can tell, the system is missing the xen .py scripts. I have also installed xen-hypervisor package, but it did not help.
box:~# find / -name "main.py"
/usr/lib/python2.7/lib2to3/main.py
/usr/lib/python2.7/unittest/main.py
box:~#
The system is missing for instance the file /xen/xm/main.py. Any ideas why?
Thank you.
You should use xl. xm is deprecated.
Thank you shafire!
Do you know why the /etc/init.d/xend is not working? Is it also deprecated? xl list show dom0 running and it looks good, i will try to start a domU tomorrow.
As of Xen 4.2, xend is also deprecated. You should use xl by default.