[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Domain construction failed


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "namit gmail" <kortenhorst@xxxxxxxxx>
  • Date: Sun, 15 Jul 2007 23:57:13 +0100
  • Delivery-date: Sun, 15 Jul 2007 15:55:03 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=YjgJYHPJj/GyA21OWPhUHR8grGn+tIoF7f8qMokTsbCnf1YktEpaObfGq1Ya2PJbyROWOG/efCfY/Qc7qMTI73/VoKr/8wr7BB6SuBG0kZkjAWCGzropCtRPOrWXaSniDGeLeQ8N762ZX2t+eoIvbjTy3QIXO+fun2MBN1YuGGk=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hey lads

I followed the following http://mediakey.dk/~cc/installing-xen-on-debian-etch-40/ i am running etch 4.0
But can not get anything working

Where have got to.
I get to the xm list command and this outputs
Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0      144     1 r-----     52.7

I can create img with
xen-create-image -hostname=mailserver

What my problem is
I try xm create mailserver.cfg
Output is the following.
Using config file "/etc/xen/mailserver.cfg".
Error: (22, 'Invalid argument')

mailserver.cfg is
#  Kernel + memory size
kernel  = '/boot/vmlinuz-2.6.18-4-686'
ramdisk = '/boot/initrd.img-2.6.18-4-686'
memory  = '64'
#  Disk device(s).
root    = '/dev/sda1 ro'
disk    = [ 'file:/home/xen/domains/mailserver/disk.img,hdg1,w', 'file:/home/xen/domains/mailserver/swap.img,hdg4,w' ]
#  Hostname
name    = 'mailserver'
#  Networking
vif  = [ 'ip=192.168.0.24' ]
#  Behaviour
>on_reboot   = 'restart'
on_crash    = 'restart'

xend.log shows:
[2007-07-15 23:59:23 xend 2332] DEBUG (__init__:1072) features       =
[2007-07-15 23:59:23 xend.XendDomainInfo 2332] ERROR (__init__:1072) Domain construction failed
Traceback (most recent call last):
  File "/usr/lib/xen-3.0.3-1/lib/python/xen/xend/XendDomainInfo.py", line 195, in create
    vm.initDomain()
  File "/usr/lib/xen-3.0.3-1/lib/python/xen/xend/XendDomainInfo.py", line 1363, in initDomain
    raise VmError(str(exn))
VmError: (22, 'Invalid argument')
[2007-07-15 23:59:23 xend.XendDomainInfo 2332] DEBUG (__init__:1072) XendDomainInfo.destroy: domid=6
[2007-07-15 23:59:23 xend.XendDomainInfo 2332] DEBUG (__init__:1072) XendDomainInfo.destroyDomain(6)

xend-debug.log shows:
ERROR: Unrecognized image format
ERROR: Error constructing guest OS



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.