[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 10:08:42 +0800
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 13 Apr 2011 19:09:41 -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=sLc4JS02VyIk6qzJkETmeWcJ1zCKwFVpCL40N6k+RRMFlRXD9bK0wmJTb/Mn8sgJ/J xp5bwb+MBFR9MB2jco7ZEro8sqYh1tqa2Eh4+3ZFu6buvSR2V9PNFyDlcAfPZBNIsnn2 PTAzfGlP5Rin3oKLaVMEg5iG2fhGabHawu908=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Sorry, I forgot to CC, my fault. I'll do it from now on.

Program listening 0.0.0.0:8002 is python

Here is the netstat output:

Proto    Recv-Q    Send-Q    Local Address    Foreign Address    State       PID/Program name   
tcp        0               0             0.0.0.0:8002        0.0.0.0:*                 LISTEN    6416/python



2011/4/14 Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
On Wed, Apr 13, 2011 at 11:52:25PM +0800, ruozeng wang wrote:
> Hi,
>
> I've tried to install xen-4.1.0 with 2.6.39-rc2 kernel on CentOS 5.5, Debian
> 5.07 and ubuntu 8.04, at last succeeded with  ubuntu.
> But when I tried to start xend, it failed.

Please also CC the mailing list. I did this for you.
>
> /var/log/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')

Looks like someobyd is listening already on that port.
> [2011-04-13 20:35:52 6936] INFO (SrvDaemon:220) Xend exited with status 1.*
>
> Could you tell me what may cause this? Someone might have met this before,
> but I can't find a solution.
>
>  http://lists.xensource.com/archives/html/xen-users/2006-05/msg00397.html
>
> netstat -ltnp does show an active connection, listening local address
> 0.0.0.0:8002, but I don't know if it is right or not

Ok, what program is using it?
>
>
> thanks
>
> ruozeng.w
> regards
> 2011-4-43
>
>
>
> 2011/4/6 Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
>
> > On Wed, Apr 06, 2011 at 10:57:00PM +0800, ruozeng wang wrote:
> > > Sorry, I'm a little confused……What is this 2.6.39 kernel for? When I
> > build
> > > and install xen, it downloaded a "linux-2.6.18-xen.hg" (using mercurial),
> > > should I update this kernel to 2.6.39? Or update my host OS kernel to
> > > 2.6.39? I found 2.6.39-rc2 kernel at kernel.org, but it's not for xen,
> > it's
> > > a stadard kernel, I think.
> >
> > The standard mainline kernel has Xen components in it. You need to
> > compile it with CONFIG_PVOPS and CONFIG_XEN and you will have a fully
> > working kernel that can boot up either on native, or under the Xen
> > hypervisor.
> >
> >
> > >
> > > So is this my misunderstanding?
> > >
> > > I planed to install xen 4.0.0 on CentOS 5.4 tommorow.
> > > Please tell me some more details. Thank you so much for you patience.
> >
> > Please use Google. Search for 'PVOPS Wiki'.
> >

_______________________________________________
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®.