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-users

Re: [Xen-users] Problems starting xend

On Sun, 2005-06-12 at 15:47 +0100, James Bulpin wrote:
> OK xend is failing after start somehow. Let's have a look at your 
> xend-debug.log. Can you also check your memory utilisation (e.g. with 
> 'top') - you have a load of stuff running and if the oom killer is 
> kicking in then xend may be suffering.
> 
> Please post replies to the list rather than just to me. Others here may 
> be interested and able to help.
> 
> For reference, there was a typo in my netstat command line suggestion, 
> should have been 'netstat -ltnp' to get the process names. (Irrelevant 
> now since xend isn't running.)
> 
> James
> 

Hi James

xend-debug.log :-


stewart@gateway:/var/log$ cat xend-debug.log
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/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/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/'
directory: '/var/lib/xen/xend-db/domain/'
n/xend-db/domain/'
such file or directory: '/var/lib/xen/xend-db/domain/'
'/var/lib/xen/xend-db/domain/'
stewart@gateway:/var/log$

and top :-

top - 16:50:38 up 10 min,  2 users,  load average: 0.13, 0.32, 0.27
Tasks: 110 total,   1 running, 108 sleeping,   0 stopped,   1 zombie
Cpu(s):  6.6% us,  3.2% sy,  1.4% ni, 72.6% id, 16.1% wa,  0.1% hi,
0.0% si
Mem:    144108k total,   141892k used,     2216k free,     2852k buffers
Swap:   522072k total,     6404k used,   515668k free,    40664k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    1 root      16   0  1536  488  436 S  0.0  0.3   0:00.36 init
    2 root      34  19     0    0    0 S  0.0  0.0   0:00.03 ksoftirqd/0
    3 root      10  -5     0    0    0 S  0.0  0.0   0:00.01 events/0
    4 root      10  -5     0    0    0 S  0.0  0.0   0:00.02 khelper
    9 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kthread
   16 root      10  -5     0    0    0 S  0.0  0.0   0:00.04 kblockd/0
   28 root      15   0     0    0    0 S  0.0  0.0   0:00.00 khubd
  108 root      15   0     0    0    0 S  0.0  0.0   0:00.06 pdflush
  109 root      15   0     0    0    0 S  0.0  0.0   0:00.08 pdflush
  111 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0
  110 root      15   0     0    0    0 S  0.0  0.0   0:00.26 kswapd0
  694 root      25   0     0    0    0 S  0.0  0.0   0:00.00 kseriod
  741 root      25   0     0    0    0 S  0.0  0.0   0:00.00 xenblkd
  767 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 ata/0
  793 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 kmirrord/0
  795 root      15   0     0    0    0 S  0.0  0.0   0:00.07 kjournald
  846 root      11  -5  1516  336  284 S  0.0  0.2   0:00.10 udevd
stewart@gateway:/var/log$

pS I have 1Gb total phys memory in this machine and I allocated 150Mb
via grub for Xen boot. Maybe I need more?

Regards


Stewart




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