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/
Home Products Support Community News


[Xen-users] Xend does not start, invalid argument

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Xend does not start, invalid argument
From: "Gerald Richter" <richter@xxxxxxx>
Date: Wed, 13 Sep 2006 08:00:51 +0200
Delivery-date: Tue, 12 Sep 2006 23:02:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbW+fdeHVXpDr4VS/miGrQokBI+Bw==

I try to get xend to start, when I start "xend start" I get the following
errors in the log and debug files.

What I don't understand is the last line  in debug log which says: "Couldn't
listen on localhost:8000: (98, 'Address already in use')", because I have
disabled http server in xend-config.sxp, changed the port to 3000 and there
is nothing else running on port 8000, so xen should not even touch port

I have other machines where xen runs without problems.

Xen version is 3.02

Any ideas what could be wrong here?



[2006-09-13 07:32:32 xend] INFO (SrvDaemon:278) Xend Daemon started
[2006-09-13 07:32:32 xend] ERROR (SrvDaemon:292) Exception starting xend
((22, 'Invalid argument'))
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line
281, in run
    xinfo = xc.xeninfo()
error: (22, 'Invalid argument')
[2006-09-13 07:32:33 xend] INFO (SrvDaemon:178) Xend exited with status 1.


Exception starting xend: (22, 'Invalid argument')
RTNETLINK answers: Network is down
Traceback (most recent call last):
  File "/usr/sbin/xend", line 121, in ?
  File "/usr/sbin/xend", line 107, in main
    return daemon.start()
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line
525, in start
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line
615, in run
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvServer.py", line
50, in create
    reactor.listenTCP(port, site, interface=interface)
  File "/usr/lib/python2.4/site-packages/twisted/internet/default.py", line
283, in listenTCP
  File "/usr/lib/python2.4/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 localhost:8000:
(98, 'Address already in use').

Gerald Richter            ecos electronic communication services gmbh
IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     richter@xxxxxxx          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info


** Virus checked by BB-5000 Mailfilter **

Xen-users mailing list