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

Gerald Richter
2006-09-13T06:00:51Z

Hi,

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
8000.

I have other machines where xen runs without problems.

Xen version is 3.02

Any ideas what could be wrong here?

Gerald


Xen.log:

[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.

Xen-debug.log:

Exception starting xend: (22, ''Invalid argument'')
=no
RTNETLINK answers: Network is down
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.4/site-packages/xen/xend/server/SrvDaemon.py", line
525, in start
    self.run()
  File
"/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line
615, in run
    SrvServer.create(bridge=1)
  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
    p.startListening()
  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@ecos.de          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
---------------------------------------------------------------------------