WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Using Debian packages

On Thu, Mar 17, 2005 at 06:03:20PM -0600, Adam Heath wrote:
> On Thu, 17 Mar 2005, michal urbanski wrote:
> 
> > xen.log:
> >
> > [2005-03-17 14:14:36 xend] INFO (SrvDaemon:610) Xend Daemon started
> > [2005-03-17 14:14:36 xend] INFO (XendRoot:91) EVENT> xend.start 0
> >
> > network start bridge=xen-br0 netdev=eth0 antispoof=no
> > Traceback (most recent call last):
> >   File "/usr/sbin/xend", line 121, in ?
> >     sys.exit(main())
> >   File "/usr/sbin/xend", line 107, in main
> >     return daemon.start()
> >   File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDaemon.py", 
> > line 525, in start
> >     self.run()
> >   File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDaemon.py", 
> > line 615, in run
> >     SrvServer.create(bridge=1)
> >   File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvServer.py", 
> > line 50, in create
> >     reactor.listenTCP(port, site, interface=interface)
> >   File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", line 
> > 283, in listenTCP
> >     p.startListening()
> >   File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 
> > 594, in startListening
> >     raise CannotListenError, (self.interface, self.port, le)
> > twisted.internet.error.CannotListenError: Couldn't listen on any:8000: (98, 
> > 'Address already in use').
> >
> > ... which is from when I first started it with "(xend-port 8000)" in 
> > /etc/xend-config.sxp, but
> > which I then changed to 6000.
> 
> netstat -anp | grep 8000
> 
> Plus, you aren't using the debian packages.  There is no such file
> /etc/xend-config.sxp.

Sorry... mistyped, it is in fact /etc/xen/xend-config.sxp

"dpkg -l|grep xen":

ii  libxen-dev     2.0.5-1        development files for the control library fo
ii  libxen-python  2.0.5-1        python wrapper around libxc, the control lib
ii  libxen2.0      2.0.5-1        control library for XEN, a Virtual Machine M
ii  xen            2.0.5-1        a Virtual Machine Monitor like User-Mode-Lin
ii  xen-docs       2.0.5-1        documentation for XEN, a Virtual Machine Mon

... and during all this, I solved my problem. Found an old python2.1,
and an old xen 1.2 package (libxc-python) which after removal, caused 
/etc/init.d/xend to start up properly.

Which is somewhat strange, as /usr/bin/python -> python2.3.

-michal


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>