[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Problem on installing Xen 4.0.1 on Ubuntu 10.04 64bit



On Wed, Mar 16, 2011 at 05:14:55PM +0800, ????????? wrote:
> 
>    finally, I try xen command to verify installation is successful or not, it
>    failed
> 
>      $sudo xm info
>      Error: Unable to connect to xend: No such file or directory. Is xend
>      running?
> 

So xend did not start automatically?

>      $sudo xend start
>      ifdown: interface eth0 not configured
>      RTNETLINK answers: Device or resource busy
> 

Try commenting out the "network-script" line in xend-config.sxp
and reboot. And then set up the networking using Ubuntu provided scripts.

-- Pasi

>      i$fconfig
>      eth0 Link encap:Ethernet HWaddr 48:5b:39:49:6d:08
>      inet addr:XXX Bcast:XXX Mask:255.255.255.0
>      inet6 addr: XXX Scope:Global
>      inet6 addr: XXX Scope:Link
>      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>      RX packets:15100 errors:0 dropped:0 overruns:0 frame:0
>      TX packets:2760 errors:0 dropped:0 overruns:0 carrier:0
>      collisions:0 txqueuelen:1000
>      RX bytes:3381275 (3.3 MB) TX bytes:510689 (510.6 KB)
>      Interrupt:223 Base address:0xe000
> 
>      lo Link encap:Local Loopback
>      inet addr:127.0.0.1 Mask:255.0.0.0
>      inet6 addr: ::1/128 Scope:Host
>      UP LOOPBACK RUNNING MTU:16436 Metric:1
>      RX packets:12 errors:0 dropped:0 overruns:0 frame:0
>      TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
>      collisions:0 txqueuelen:0
>      RX bytes:720 (720.0 B) TX bytes:720 (720.0 B)
> 
>      $sudo gedit /etc/network/interfaces
>      and added
>      iface eth0 inet static
>      address XXX
>      netmask 255.255.255.0
>      network XXX
>      broadcast XXX
>      gateway XXX
> 
>      $sudo /etc/init.d/networking restart
>      * Reconfiguring network interfaces... [ OK ]
> 
>      $sudo ifup eth0
> 
>      $sudo xend start
>      got nothing
> 
>      $sudo xm info
>      Error: Unable to connect to xend: No such file or directory. Is xend
>      running?
> 
>    I have no idea about this problem, did I do anything wrong in my
>    installation steps?
>    or did I miss anything should be done?
> 
>    here I got some log in /var/log/xen/xend-debug.log, as follows
> 
>      cat: /sys/bus/scsi/devices/host0/vendor: No such file or directory
>      cat: /sys/bus/scsi/devices/host0/model: No such file or directory
>      cat: /sys/bus/scsi/devices/host0/type: No such file or directory
>      cat: /sys/bus/scsi/devices/host0/rev: No such file or directory
>      cat: /sys/bus/scsi/devices/host0/scsi_level: No such file or directory
>      cat: /sys/bus/scsi/devices/host1/vendor: No such file or directory
>      cat: /sys/bus/scsi/devices/host1/model: No such file or directory
>      cat: /sys/bus/scsi/devices/host1/type: No such file or directory
>      cat: /sys/bus/scsi/devices/host1/rev: No such file or directory
>      cat: /sys/bus/scsi/devices/host1/scsi_level: No such file or directory
>      cat: /sys/bus/scsi/devices/host2/vendor: No such file or directory
>      cat: /sys/bus/scsi/devices/host2/model: No such file or directory
>      cat: /sys/bus/scsi/devices/host2/type: No such file or directory
>      cat: /sys/bus/scsi/devices/host2/rev: No such file or directory
>      cat: /sys/bus/scsi/devices/host2/scsi_level: No such file or directory
>      cat: /sys/bus/scsi/devices/host3/vendor: No such file or directory
>      cat: /sys/bus/scsi/devices/host3/model: No such file or directory
>      cat: /sys/bus/scsi/devices/host3/type: No such file or directory
>      cat: /sys/bus/scsi/devices/host3/rev: No such file or directory
>      cat: /sys/bus/scsi/devices/host3/scsi_level: No such file or directory
>      cat: /sys/bus/scsi/devices/target0:0:0/vendor: No such file or directory
>      cat: /sys/bus/scsi/devices/target0:0:0/model: No such file or directory
>      cat: /sys/bus/scsi/devices/target0:0:0/type: No such file or directory
>      cat: /sys/bus/scsi/devices/target0:0:0/rev: No such file or directory
>      cat: /sys/bus/scsi/devices/target0:0:0/scsi_level: No such file or
>      directory
>      cat: /sys/bus/scsi/devices/target1:0:0/vendor: No such file or directory
>      cat: /sys/bus/scsi/devices/target1:0:0/model: No such file or directory
>      cat: /sys/bus/scsi/devices/target1:0:0/type: No such file or directory
>      cat: /sys/bus/scsi/devices/target1:0:0/rev: No such file or directory
>      cat: /sys/bus/scsi/devices/target1:0:0/scsi_level: No such file or
>      directory
>      cat: /sys/bus/scsi/devices/host4/vendor: No such file or directory
>      cat: /sys/bus/scsi/devices/host4/model: No such file or directory
>      cat: /sys/bus/scsi/devices/host4/type: No such file or directory
>      cat: /sys/bus/scsi/devices/host4/rev: No such file or directory
>      cat: /sys/bus/scsi/devices/host4/scsi_level: No such file or directory
>      cat: /sys/bus/scsi/devices/host5/vendor: No such file or directory
>      cat: /sys/bus/scsi/devices/host5/model: No such file or directory
>      cat: /sys/bus/scsi/devices/host5/type: No such file or directory
>      cat: /sys/bus/scsi/devices/host5/rev: No such file or directory
>      cat: /sys/bus/scsi/devices/host5/scsi_level: No such file or directory
>      Exception starting xend: (111, 'Connection refused')
> 
>    and in /var/log/xen/xend.log, as follows
> 
>      [2011-03-16 15:18:19 1091] INFO (SrvDaemon:227) Xend stopped due to
>      signal 15.
>      [2011-03-16 15:19:05 1062] INFO (SrvDaemon:332) Xend Daemon started
>      [2011-03-16 15:19:05 1062] INFO (SrvDaemon:336) Xend changeset:
>      unavailable.
>      [2011-03-16 15:19:09 1062] ERROR (SrvDaemon:349) Exception starting xend
>      ((111, 'Connection refused'))
>      Traceback (most recent call last):
>      File
>      "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py",
>      line 341, in run
>      servers = SrvServer.create()
>      File
>      "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvServer.py",
>      line 251, in create
>      root.putChild('xend', SrvRoot())
>      File
>      "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvRoot.py",
>      line 40, in __init__
>      self.get(name)
>      File "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py", line
>      84, in get
>      val = val.getobj()
>      File "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py", line
>      52, in getobj
>      self.obj = klassobj()
>      File
>      "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDomainDir.py",
>      line 41, in __init__
>      self.xd = XendDomain.instance()
>      File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py",
>      line 1882, in instance
>      inst.init()
>      File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py",
>      line 114, in init
>      xstransact.Mkdir(XS_VMROOT)
>      File
>      "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py",
>      line 355, in Mkdir
>      complete(path, lambda t: t.mkdir(*args))
>      File
>      "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py",
>      line 361, in complete
>      t = xstransact(path)
>      File
>      "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py",
>      line 29, in __init__
>      self.transaction = xshandle().transaction_start()
>      File
>      "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xsutil.py",
>      line 18, in xshandle
>      xs_handle = xen.lowlevel.xs.xs()
>      Error: (111, 'Connection refused')
> 
>    hope anyone could help me, thank you
> 
>    --
>    Best Regards
> 
> References
> 
>    Visible links
>    1. http://www.xen.org/products/downloads.html
>    2. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git

> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.