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

Re: Re: [Xen-devel] How can I use grant table in domainU?


  • To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
  • From: ruozeng wang <ruozeng.w@xxxxxxxxx>
  • Date: Thu, 14 Apr 2011 23:58:43 +0800
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 14 Apr 2011 09:00:40 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=nAEzK/1Ez+To+K9mxYZolyETUWrDMjLRT/yEmxUCZL2x3rMZyEmi9gSBBtaqzz/h+X fbRtytvC0wZ5wZWhZV9nf0sYELOC8JhX2KjbAj+gXKg/BPQ5kP0t1u1KIMaGiEn98cUR ShLCnXo7EkhEJgeKQ0aKh6nGgNSD+lafGbgOQ=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Yes, I've tried some of the xen command , but all of them return this error :
"Unable to connect to xend: No such file or dirctory. Is xend running?"

Then I found the infomation in xend-debug.log, which I've send in last mail.

Here is the content of xend.log:

[2011-04-13 20:35:52 6937] DEBUG (tcp:96) Listening on :8002
[2011-04-13 20:35:52 6937] ERROR (SrvDaemon:349) Exception starting xend ((98, 'Address already in use'))
Traceback (most recent call last):
  File "usr/lib/python2.5/site-
packages/xen/xend/server/SrvDaemon.py", line 339, in run
    relocate.listenRelocation()
  File "usr/lib/python2.5/site-
packages/xen/xend/server/relocate.py", line 159, in listenRelocation
    hosts_allow = hosts_allow)
  File "usr/lib/python2.5/site-
packages/xen/web/tcp.py", line 38, in __init__
    connection.SocketListener.__
init__(self, protocol_class)
  File "usr/lib/python2.5/site-
packages/xen/web/connection.py", line 89, in __init__
    self.sock = self.createSocket()
  File "usr/lib/python2.5/site-
packages/xen/web/tcp.py", line 97, in createSocket
    sock.bind((self.interface, self.port))
  File "<string>", line 1, in bind
error: (98, 'Address already in use')
[2011-04-13 20:35:52 6936] INFO (SrvDaemon:220) Xend exited with status 1.



but since I set loglevel to DEBUG in xend-config.sxp, it changed to this:

[2011-04-14 23:40:21 6477] INFO (SrvDaemon:332) Xend Daemon started
[2011-04-14 23:40:21 6477] INFO (SrvDaemon:336) Xend changeset: unavailable.
[2011-04-14 23:40:21 6477] DEBUG (tcp:96) Listening on :8002
[2011-04-14 23:40:22 6477] DEBUG (XendNode:332) pscsi record count: 10
[2011-04-14 23:40:22 6477] DEBUG (XendCPUPool:747) recreate_active_pools


When I enter "xend start", the output infomation is like this:

root@ruozeng-desktop2:~# xend start
There is already a pid file /var/run/dhclient.eth0.pid with pid 5962
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:1d:7d:57:23:12
Sending on   LPF/eth0/00:1d:7d:57:23:12
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 172.21.201.1 port 67
Nothing to flush.
There is already a pid file /var/run/dhclient.eth0.pid with pid 134519072
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:1d:7d:57:23:12
Sending on   LPF/eth0/00:1d:7d:57:23:12
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPOFFER of 172.21.6.114 from 172.21.6.254
DHCPREQUEST of 172.21.6.114 on eth0 to 255.255.255.255 port 67
DHCPACK of 172.21.6.114 from 172.21.6.254
bound to 172.21.6.114 -- renewal in 41866 seconds.

Then it stucked here. I have to use control-c to interrupt.

If I use ps -A, it shows that there are four "xend" process :
 
 6306 pts/0    00:00:00 xend
 6376 ?        00:00:00 kworker/1:2
 6442 ?        00:00:00 dhclient3
 6474 pts/0    00:00:00 blktapctrl <defunct>
 6475 ?        00:00:00 xend <defunct>
 6476 ?        00:00:00 xend
 6477 ?        00:00:00 xend

And some other xen related processes, xenbus, etc.

ruozeng.w
2011-4-14

2011/4/14 Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
On Thu, Apr 14, 2011 at 08:22:24PM +0800, ruozeng wang wrote:
> This is from /var/log/xen/xend-debug.log:

Look also in the xend.log file, and make sure to turn on the DEBUg
options in your /etc/xen/xend-config.sxp file. And read through the
file please.

Have you tried using 'xl'?

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

 


Rackspace

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