Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th August 2012, 08:43
rockey rockey is offline
Junior Member
 
Join Date: Aug 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Angry Installing XEN on Centos 6.3 X86_64 ... Problem xen not starting...!!!

Hi,

I followed tutorial http://www.howtoforge.com/virtualiza...virtualization

To install xen on Centos 6.3 everything is going perfect but, after editing /boot/grub/menu.lst

Quote:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/mapper/vg_xen-LogVol01
# initrd /initrd-[generic-]version.img
#boot=/dev/sdb
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32.57-2.el6xen.x86_64)
root (hd0,0)
kernel /xen.gz dom0_mem=1024M cpufreq=xen dom0_max_vcpus=1 dom0_vcpus_pin
kernel /vmlinuz-2.6.32.57-2.el6xen.x86_64 ro root=/dev/mapper/vg_xen-LogVol01 rd_NO_LUKS LANG=en_US.UTF-8 rd_LVM_LV=vg_xen/LogVol01 rd_LVM_LV=vg_xen/lv_swap rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
initrd /initramfs-2.6.32.57-2.el6xen.x86_64.img

title CentOS (2.6.32-279.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-279.el6.x86_64 ro root=/dev/mapper/vg_xen-LogVol01 rd_NO_LUKS LANG=en_US.UTF-8 rd_LVM_LV=vg_xen/LogVol01 rd_LVM_LV=vg_xen/lv_swap rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
initrd /initramfs-2.6.32-279.el6.x86_64.img

when i reboot it is booted with xen kernel but when i run command

xm info or xm list

Quote:
showing error " Error: Unable to connect to xend: No such file or diectory. Is xend running "
when i run command

xend start

showing error

Quote:
" xc: error: Could not obtain handle on privileged command interface (2 = No such file or directory): Internal error
xend/image.py: Error connecting to hypervisor "
ls /proc/xen

Quote:
" ls: cannot access /proc/xen: No such file or directory "
added entry in /etc/fstab

Quote:
none /proc/xen xenfs default 0 0
after reboot gives error no such file or directory,

Quote:
lsmod | grep -i xen output: Nothing...

modprob xen-evtchn

FATAL: Error inserting xen_evtchn (/lib/modules/2.6.32.57-2.el6xen.x86_64/kernel/drivers/xen/xen-evtchn.ko): No such device

modprob xen-gntdev

FATAL: Error inserting xen_gntdev (/lib/modules/2.6.32.57-2.el6xen.x86_64/kernel/drivers/xen/xen-gntdev.ko): No such devic
e

I tried another tutorial https://www.crc.id.au/xen-on-rhel6-s...entos-6-howto/

it seems like nothing is working for me...

Guys... please share your thoughts about this problem...

Thank you.
Reply With Quote
Sponsored Links
  #2  
Old 11th August 2012, 10:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

One problem might be that you first have to enable hardware virtualization in your BIOS. On some systems it's on by default, on others it's disabled.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 13th August 2012, 06:58
rockey rockey is offline
Junior Member
 
Join Date: Aug 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Falko,

Thanks for the reply, but i have enabled Hardware Virtualization in bios,
i dont think so this is bios problem, is there any other solution. i have installed those packages on Centos 6.3 does it supports centos 6.3 64 bit Arch. ?
Reply With Quote
  #4  
Old 14th August 2012, 11:54
rockey rockey is offline
Junior Member
 
Join Date: Aug 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Hi Falko,

on the same machine when i installed centos 5.6 with xen kernel, it is working, i am not facing any issue, i just wanted to test weather it is working with centos5.6 with xen kernel, & i am able to create vm also, but it is not working with centos 6.3, please guide me through,

any help appreciated,

Thanks.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ubuntu and nginx delgado2061 Installation/Configuration 0 27th November 2011 23:36
Paravirtualization With Xen On CentOS 5.6 (x86_64) peterpallesen HOWTO-Related Questions 3 6th July 2011 21:20
Problems connecting my HTC Desire outgoing mail client to Postfix and ISP Config 2 j.smith1981 Server Operation 6 12th July 2010 19:07
Problem installing on CentOS 4.2 bokko Installation/Configuration 4 1st March 2006 17:14
Problem installing on CentOS 4.2 bokko Installation/Configuration 0 1st March 2006 11:28


All times are GMT +2. The time now is 08:22.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.