xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: ruozeng wang <ruozeng.w@gmail.com>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: Re: How can I use grant table in domainU?
Date: Thu, 14 Apr 2011 23:58:43 +0800	[thread overview]
Message-ID: <BANLkTimMoyWRvcBZCcZ+XrJKuHaavmjL-A@mail.gmail.com> (raw)
In-Reply-To: <20110414133934.GL5548@dumpdata.com>


[-- Attachment #1.1: Type: text/plain, Size: 3667 bytes --]

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@oracle.com>

> 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'?
>

[-- Attachment #1.2: Type: text/html, Size: 4559 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

  reply	other threads:[~2011-04-14 15:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-04 10:15 How can I use grant table in domainU? ruozeng.w
2011-04-04 14:25 ` Konrad Rzeszutek Wilk
     [not found] ` <201104051205497648564@gmail.com>
     [not found]   ` <20110405134423.GA6075@dumpdata.com>
     [not found]     ` <BANLkTinkrAr9cKb17skdtWdQTJ1AT63xCA@mail.gmail.com>
     [not found]       ` <20110406121510.GA5009@dumpdata.com>
     [not found]         ` <BANLkTikHJ5TtiOZOc7mdLpMqg-s4OmMBEA@mail.gmail.com>
     [not found]           ` <20110406152554.GA8253@dumpdata.com>
     [not found]             ` <BANLkTi=0fEdC8PjsWp_8rmdwybpsex1q+Q@mail.gmail.com>
2011-04-13 17:43               ` Konrad Rzeszutek Wilk
2011-04-14  2:08                 ` ruozeng wang
2011-04-14 12:22                   ` ruozeng wang
2011-04-14 13:39                     ` Konrad Rzeszutek Wilk
2011-04-14 15:58                       ` ruozeng wang [this message]
2011-04-14 16:20                         ` Re: Xend hanging Konrad Rzeszutek Wilk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTimMoyWRvcBZCcZ+XrJKuHaavmjL-A@mail.gmail.com \
    --to=ruozeng.w@gmail.com \
    --cc=konrad.wilk@oracle.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).