| 
         
xen-users
Re: [Xen-users] xend does not start
 
Hello
 
 2010/10/28 Sriram Murali  <msriram@xxxxxxxxxx>
 first of all make sure that you are choosing option from the boot menu.  
  
 Second, find the file site_customize.py. You can look for it using the command 'find / -name "sitecustomize.py" ' as root.(I do not have access to my machine right now, sorry!) It is somewhere in under the /etc/python... path. In that path the add the two import site lines as shown below: 
  # install the apport exception handler if available import site site.addsitedir("/usr/lib/python2.6/dist-packages")
 
import site site.addsitedir("/usr/lib/python2.6/site-packages") 
try: import apport_python_hook except ImportError: pass else: apport_python_hook.install()
  Now xend should work. This is just a hack, maybe some one else has a better solution... 
  
 
 
 I've added these lines into /etc/python2.6/sitecustomize.py and tried to restart xend. Nothing changed. I am trying to recompile dom0 (pvops) with the 4.0.0 version (xen/master branch). Maybe I have some version mismatch between hypervisor and dom0.  
 
 Thank you !  
 
   
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of David Cemin 
Sent: October-28-10 7:57 AM To: xen-users@xxxxxxxxxxxxxxxxxxx Subject: [Xen-users] xend does not start 
  Hello,  I've downloaded the xen 4.0.1 version as it is explained here: So, I've made a clone from repository, with the following command: 
And finally I've built xen, tools and stubdom. I was looking for a paravirtualized domain, and so I follow the instructions from here: 
So, I am able to boot dom0 successfully, but apparently xend its not starting. A few things that I have noticed:  
1) lsmod does not list evtchn and neither gntdev, and they are not compiled as a Module. I have tried also to insert them with lsmod, and of course, I dont have them. 
2) The nodes appear in both /proc/misc and /dev/xen, and the numbers are correct crw-rw---- 1 root root 10, 60 2010-10-27 17:32 evtchn crw-rw---- 1 root root 10, 59 2010-10-27 17:32 gntdev 
3) I am really running dom) % cat /proc/xen/capabilities    4) /var/log/xen shows the following errors: [2010-10-27 17:32:31 1307] INFO (SrvDaemon:331) Xend Daemon started [2010-10-27 17:32:31 1307] INFO (SrvDaemon:335) Xend changeset: Wed Aug 25 09:22:42 2010 +0100 21324:b536ebfba183. 
[2010-10-27 17:32:31 1307] ERROR (SrvDaemon:347) Exception starting xend ((13, 'Permission denied')) Traceback (most recent call last): 
  File "/usr/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py", line 339, in run      servers = SrvServer.create() 
  File "/usr/lib/python2.6/dist-packages/xen/xend/server/SrvServer.py", line 251, in create     root.putChild('xend', SrvRoot())   File "/usr/lib/python2.6/dist-packages/xen/xend/server/SrvRoot.py", line 40, in __init__ 
  File "/usr/lib/python2.6/dist-packages/xen/web/SrvDir.py", line 82, in get   File "/usr/lib/python2.6/dist-packages/xen/web/SrvDir.py", line 52, in getobj   File "/usr/lib/python2.6/dist-packages/xen/xend/server/SrvNode.py", line 30, in __init__ 
    self.xn = XendNode.instance()   File "/usr/lib/python2.6/dist-packages/xen/xend/XendNode.py", line 752, in instance   File "/usr/lib/python2.6/dist-packages/xen/xend/XendNode.py", line 87, in __init__     self.other_config["xen_pagesize"] = self.xeninfo_dict()["xen_pagesize"] 
  File "/usr/lib/python2.6/dist-packages/xen/xend/XendNode.py", line 741, in xeninfo_dict     return dict(self.xeninfo()) 
  File "/usr/lib/python2.6/dist-packages/xen/xend/XendNode.py", line 685, in xeninfo     info['xen_scheduler'] = self.xenschedinfo() 
  File "/usr/lib/python2.6/dist-packages/xen/xend/XendNode.py", line 675, in xenschedinfo     sched_id = self.xc.sched_id_get() Error: (13, 'Permission denied') 
Xend started at Wed Oct 27 17:32:31 2010. 
domctl operation failed -- need to rebuild the user-space tool set? sysctl operation failed -- need to rebuild the user-space tool set? 
Exception starting xend: (13, 'Permission denied') Exception in thread Thread-2: Traceback (most recent call last): 
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner   File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", line 230, in run 
    for domid, cputimes in self._get_cpu_stats().items():   File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", line 208, in _get_cpu_stats 
    for domain in self.xc.domain_getinfo(): Error: (13, 'Permission denied') Does anyone have any Idea of how can I start xend correctly ? 
   
 
 
  --  David Cemin mobile: +55 51 93523097 home:   +55 51 32763785 email: davidcemin@xxxxxxxxx 
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users 
 |   
 
 | 
    |