Skip to contentSkip to conversation

Another newbie "xend start" problem

DISCUSSION Barry Rountree 1 participant 2 messages Jul 25, 2004

lore
Share & tools
lore
#0 lore raw

After doing:
make world
make install
make twister-install (or install-twister, whichever)

and setting /boot/grub/menu.lst to

	title Xen-unstable  / XenoLinux 2.4.24
        kernel /boot/xen.gz dom0_mem=131072 ser_baud=115200 noht
        module /boot/vmlinuz-2.4.26-xen0 root=/dev/sda1 ro console=tty0

and rebooting into the above entry, I get the following error when executing

xend start

-----
[root@sloth rountree]# xend start
XendRoot>configure>
XendRoot>set_config> config_path= /etc/xen/xend-config.sxp XendRoot>set_config> loading
XendRoot> config= ['xend-config', ['xend-port', '8000'], ['xend-address', ''], ['network-script', 'network'], ['vif-bridge', 'xen-br0'], ['vif-script', 'vif-bridge'], ['vif-antispoof', 'no']]
[xend] INFO (SrvDaemon:604) Xend Daemon started
[root@sloth rountree]# Traceback (most recent call last):
File "/usr/sbin/xend", line 115, in ?

    sys.exit(main())

File "/usr/sbin/xend", line 103, in main
return daemon.start()
File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDaemon.py", line
519, in start

    self.run()

File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDaemon.py", line
606, in run
self.listenMgmt()
File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDaemon.py", line
625, in listenMgmt
return reactor.listenUNIXDatagram(s, protocol)
File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", line
263, in listenUNIXDatagram
p.startListening()
File "/usr/lib/python2.3/site-packages/twisted/internet/udp.py", line 90, in
startListening
self._bindSocket()
File "/usr/lib/python2.3/site-packages/twisted/internet/unix.py", line 177,
in _bindSocket
raise error.CannotListenError, (None, self.port, le)
twisted.internet.error.CannotListenError: Couldn't listen on any:/var/run/xend/xendsock: (2, 'No such file or directory').
-----

There isn't a /var/run/xend directory, much less a /var/run/xend/xendsock file. grep isn't too helpful:

[root@sloth xeno-unstable.bk]# grep -r xendsock *
install/lib/python/xen/xend/server/params.py:MGMT_SOCK = 'xendsock' #
relative to CONTROL_DIR
Binary file install/lib/python/xen/xend/server/params.pyc matches
tools/python/xen/xend/server/params.py:MGMT_SOCK = 'xendsock' # relative to
CONTROL_DIR
tools/python/build/lib.linux-i686-2.3/xen/xend/server/params.py:MGMT_SOCK =
'xendsock' # relative to CONTROL_DIR

nor does xendsock appear to be a file that gets installed -- "find" doesn't locate it in the build directory.

Sooo.... I think I'm missing something obvious. Any hints?

Thanks,

Barry

PS: Hmmm... buried in all of that verbiage is "Xend Daemon started". Is it safe to ignore this error?

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

#1 lore raw

Replying to myself:

Quoted 2 lines · Barry Rountree

twisted.internet.error.CannotListenError: Couldn't listen on any:/var/run/xend/xendsock: (2, 'No such file or directory').

mkdir /var/run/xend

Well, that was easy.

That was followed by

brctl not found

which was remedied soon enough by

	rpm -Uvh bridge-utils-0.9.6-2mdk.i586.rpm

Onward.

Barry

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click