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

[Xen-users] Guest launches manually OK, not on System reboot when config

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Guest launches manually OK, not on System reboot when config is in /etc/xen/auto ?
From: gregk.xen@xxxxxxxxxxxxx
Date: Sun, 18 Sep 2011 09:08:00 -0700
Delivery-date: Sun, 18 Sep 2011 09:09:41 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date; s=smtpout; bh=z31PSuZKj/MYotWk5jbgPm2G/Sw=; b=K5sh6RO/5Lw+xzivp0TVmZcxeskG VS6NrHtgUJGoGxGlLm7S/xZRrEhdiFAielOXnE8n6zmpyrj6Nv47hkxtbCF2J9vo L0+oGSEnYt50bAxGwRkqOp6VFU8kBFsiUGw0pEdP7isx921HilhkMZ8amV8G/TPj hLhsnY7kFfqLRvg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I've gotten my 1st VM up & running mostly the way I want it.

I can bring it up/down from the shell command line with no problems.

All it's services, networking, etc seem to be working right.

As a next step,  I set it up for auto-launch on boot:

cd /etc/xen/auto
ln -sf /etc/xen/vm/mail.cfg .

Then I rebooted my system.

The Dom0 starts OK, but there's no Guest launched.  I jsut see

xm list
 Name                                        ID   Mem VCPUs      State  
 Time(s)
 Domain-0                                     0  1010     1     r-----  
   47.0

Reading online how to debug this I tried to restart the 'xendomains'
service:

service xendomains stop
 Shutting down Xen domains
 WARNING: xend is running! It is not recommended using libxenlight in
 conjunction with the legacy xend toolstack. Use -f (force) to override
 WARNING: xend is running! It is not recommended using libxenlight in
 conjunction with the legacy xend toolstack. Use -f (force) to override
                       done

service xendomains start
 Starting auto Xen domains
  mail.cfg: WARNING: xend is running! It is not recommended using
  libxenlight in
  conjunction with the legacy xend toolstack. Use -f (force) to override
 WARNING: xend is running! It is not recommended using libxenlight in
 conjunction with the legacy xend toolstack. Use -f (force) to override
                       failed

At this point there's no Guest launched:

xm list
 Name                                        ID   Mem VCPUs      State  
 Time(s)
 Domain-0                                     0  1010     1     r-----  
   50.0

A manual launch still works fine:

xm create /etc/xen/auto/mail.cfg
 Using config file "/etc/xen/auto/mail.cfg".
xm list
 Name                                        ID   Mem VCPUs      State  
 Time(s)
 Domain-0                                     0  1010     1     r-----  
   53.9
 mail                                         1  1024     2     -b----  
    8.0

Since I can boot the Guest manually but it's not getting booted
automatically, what should I be looking at here?

Time to start learning how to debug this stuff!

Thanks,

Greg

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