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! -- ----------------------------------- Dave Fear :: dfear@blueyonder.co.uk Skype: dpfear GPG: key ID - 805B3D54 GPG: server - wwwkeys.eu.pgp.net _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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'')How much memory does your system have? We are seeing this error on a PAE enabled SLES 9 SP2 box with 4GB of RAM. Here''s the bug: http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=209> > If anyone can help i would very greatfull. > > thanks! >-- Regards, David F Barrera Linux Technology Center Systems and Technology Group, IBM "The wisest men follow their own direction. " Euripides _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@blueyonder.co.uk Skype: dpfear GPG: key ID - 805B3D54 GPG: server - wwwkeys.eu.pgp.net _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, 2005-09-12 at 15:48 +0100, Dave Fear wrote:> 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 :-)It seems that way; however, in my case, it is a setup that I had routinely used prior to this error--it is not a setup issue.> > > > 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" > > ----------------------------------------------------------------------------------------------- > > > >-- Regards, David F Barrera Linux Technology Center Systems and Technology Group, IBM "The wisest men follow their own direction. " Euripides _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users