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

[Xen-devel] Xend fails to start on bootup.

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Xend fails to start on bootup.
From: Donny Forbes <donny.forbes@xxxxxxxxx>
Date: Sun, 13 Feb 2005 17:45:35 -0800
Delivery-date: Mon, 14 Feb 2005 01:47:30 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=ehTGc0dFy3EQfUl+kUF0ctyZDgi7cdRBGfQWQTRV4DdvuYMy/Nk9T8aifpk6PFzvkMppplrx7hxtt4cRdGvzP3j201l6Flv7z+ChvAQ3tblBmjoghGYhAhQBUsaze1GilejLYNAnXmZywNfup6lZtklMLc0zmbe84zXh5n1dG/A=
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Reply-to: Donny Forbes <donny.forbes@xxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Here is what I am having problems with.

Getting Xen to start on reboot !!!

1. Start xend on reboot
2. Boot right up into the VM session / domain

Here is what I have done.

1. chkconfig --level 3 xend on
2. chkconfig --level 3 xendomains on

I also copy /etc/xen/<config> to the /etc/xen/auto directory as well.
I then reboot my box and during startup I see
xend failed message , however I do see the xendomains start up. I went
threw my /var/log/messages and notice
the standard error "Starting xend:   Failed" .... Then I went to your
documentation and notice that there should the
following directory /usr/lib/python2.2/site-packages/xen/xend. One
thing I notice is I don't have the /xen/xend directory.
I am running RH 3.0 AS , Python-2.3.4. and  Twisted-1.3.0. My xen
version is 2.0.1 and I am using the 2.6.9 kernel for
my VM.  Do you know if there are any known issues? Or can you  help me
get this to work?

Here is the exact message from the /var/log/messages

Feb 11 09:56:50 anahst22 xend: Traceback (most recent call last):
Feb 11 09:56:50 anahst22 xend:   File "/usr/sbin/xend", line 27, in ?
Feb 11 09:56:50 anahst22 xend:     from xen.xend.server import SrvDaemon
Feb 11 09:56:50 anahst22 xend: ImportError: No module named xen.xend.server
Feb 11 09:56:50 anahst22 rc: Starting xend:  failed
Feb 11 09:56:59 anahst22 xendomains: Starting auto Xen domains:
Feb 11 09:57:00 anahst22 xendomains: Traceback (most recent call last):
Feb 11 09:57:00 anahst22 xendomains:   File "/usr/sbin/xm", line 7, in ?
Feb 11 09:57:00 anahst22 xendomains:     from xen.xm import main
Feb 11 09:57:00 anahst22 xendomains: ImportError: No module named xen.xm
The next thing I did was an "strace /usr/sbin/xend start" and here is
what I am seeing !!

stat64("/usr/local/lib/python2.3/site-packages/xen",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/usr/local/lib/python2.3/site-packages/xen/xend",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/usr/local/lib/python2.3/site-packages/xen/xend/__init__.py",
{st_mode=S_IFREG|0644, st_size=2, ...}) = 0
stat64("/usr/local/lib/python2.3/site-packages/xen/xend/__init__",
0xbfffe9b0) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/python2.3/site-packages/xen/xend/__init__.so",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/python2.3/site-packages/xen/xend/__init__module.so",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)

***I checked "/usr/local/lib/python2.3/site-packages/xen/xend" and
this is missing below.***

stat64("/usr/local/lib/python2.3/site-packages/xen/xend/__init__",
0xbfffe9b0) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/python2.3/site-packages/xen/xend/__init__.so",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/python2.3/site-packages/xen/xend/__init__module.so",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)

NOTICE THIS LINE IS GOOD!
stat64("/usr/local/lib/python2.3/site-packages/xen/xend/__init__.py",
{st_mode=S_IFREG|0644, st_size=2, ...}) = 0
__init__.py

And my question is why would this be missing ?? kinda werid, however
when I run /usr/sbin/xend start from the shell is works fine. Let me
know what you think ...
Please get back to me I would really appreciate it. And please don't
forget to CC
doforbes@xxxxxxxxxxx

Thanks,
~D


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Xend fails to start on bootup., Donny Forbes <=