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] Error creating domain on centos4.1

On Mon, 2005-09-12 at 09:21 -0400, Ted Kaczmarek wrote:
> On Mon, 2005-09-12 at 01:51 +0100, Dave Fear wrote:
> > Hi folks
> > 
> > I am using centos 4.0 (upgraded to 4.1) and i would like to know
> > how to get xen to work on centos 4.1.
> > 
> > I installed xen using xen-unstable-install-x86_32.tgz and i have managed
> > to boot into 2.6.12-xen0 kernel. I am trying to create a domain using:
> > 
> > # xm create -f /etc/xen/vm03.cfg
> > 
> > But it always fails with the follow error msg, and i can't figure out
> > how to solve the problem.
> > 
> > Using config file "/etc/xen/vm03.cfg".
> > Error: Error creating domain: (2, 'No such file or directory')
> > 
> > If anyone can help i would very greatfull.
> > 
> > thanks!
> > 
> That message seems self explantory :-)
> 
> Confirm that all the directories and files are their with the proper
> permissions.
> 
> Posting your vm03.cfg might help.
> 
> Regards,
> Ted
> 
> 
Hi

Thanks for the help.

What are the correct permissions for the directories and files that xen
uses? current they are all owned by root with permissions of 644.

vm03.cfg
--------------------------------------------------------------------------------------------------

kernel="/boot/vmlinuz-2.6.12-xenU"
memory=96
name="AsteriskAThome"

nics=1
# Set if you want dhcp to allocate the IP address.
#dhcp="dhcp"
# Set netmask.
netmask="255.255.255.0"
# Set default gateway.
gateway="192.168.12.1"
# Set the hostname.
hostname="pbx.home.dfear.net"
ip="192.168.12.100"

disk=['file:/xen/domains/vm03/CentOS4.img,sda1,w','file:/xen/domains/vm03/swapimage,sda2,w']
root="/dev/sda1 rw"
#ramdisk="/boot/initrd-2.6.11.12-xenU.img"

-----------------------------------------------------------------------------------------------




-- 
-----------------------------------
Dave Fear :: dfear@xxxxxxxxxxxxxxxx
Skype: dpfear
GPG: key ID - 805B3D54
GPG: server - wwwkeys.eu.pgp.net


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

<Prev in Thread] Current Thread [Next in Thread>