Mailing List Archive

Question xend start and log
Hi

I try to start xend ,

There are some ERRORs in my xend-debug.log as follows

Who would like to help me out ,I am looking forward to your directions

[root@tgh lib]# cat /var/log/xend-debug.log
network start bridge=xen-br0 netdev=eth0 antispoof=no
RTNETLINK answers: File exists
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/python/xen/xend/server/SrvDaemon.py", line 525, in
start
self.run()
File "/usr/lib/python/xen/xend/server/SrvDaemon.py", line 615, in run
SrvServer.create(bridge=1)
File "/usr/lib/python/xen/xend/server/SrvServer.py", line 47, in
create
xend = SrvRoot()
File "/usr/lib/python/xen/xend/server/SrvRoot.py", line 29, in
__init__
self.get(name)
File "/usr/lib/python/xen/xend/server/SrvDir.py", line 69, in get
val = val.getobj()
File "/usr/lib/python/xen/xend/server/SrvDir.py", line 39, in getobj
self.obj = klassobj()
File "/usr/lib/python/xen/xend/server/SrvDomainDir.py", line 25, in
__init__
self.xd = XendDomain.instance()
File "/usr/lib/python/xen/xend/XendDomain.py", line 798, in instance
inst = XendDomain()
File "/usr/lib/python/xen/xend/XendDomain.py", line 60, in __init__
self.domain_db = self.db.fetchall("")
File "/usr/lib/python/xen/xend/XendDB.py", line 69, in fetchall
for k in dircache.listdir(dpath):
File "/usr/local/lib/python2.4/dircache.py", line 25, in listdir
mtime = os.stat(path).st_mtime
OSError: [Errno 2] No such file or directory:
'/var/lib/xen/xend-db/domain/'
y: '/var/lib/xen/xend-db/domain/'
[root@tgh lib]# cd /var/lib
[root@tgh lib]# ls
alternatives dhcp games htdig logrotate.status menu misc nfs
pcmcia random-seed rpm scrollkeeper slocate up2date xdm xkb




_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: Question xend start and log [ In reply to ]
On Fri, Jul 01, 2005 at 05:42:20PM +0800, tgh wrote:
> I try to start xend ,

> OSError: [Errno 2] No such file or directory:
> '/var/lib/xen/xend-db/domain/'

You must have a system with Python 2.4. There's been a change
(bug-fix, I would say) in some library code that causes this explicit
error instead of silently ignoring the missing directory as it did in
earlier versions. All you need to do is to manually create the
directories domain and vnet in /var/lib/xen/xen_db and all will be well.

Luck!

--
"What's so funny? That I'm sitting on a deserted beach at night,
nibbling at gourmet meals, and rereading every book I've ever loved?
Can you think of anything more worthwhile?" -- Michael Flynn


_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users