2016-02-17 149 views
0

我試圖在此guide後面的Centos 7上安裝Xen。Xen無法在Centos 7上啓動

當我運行命令「XL信息」出現以下錯誤:

xc: error: Could not obtain handle on privileged command interface (2 = No such file or directory): Internal error 
libxl: error: libxl.c:116:libxl_ctx_alloc: cannot open libxc handle: No such file or directory 
cannot init xl context 

在隨後引導它說我應該在模塊2的下面一行,在我不存在,甚至認爲這明確表示這是Centos 6上的一個bug。我不知道這是否與之相關。

title CentOS (3.4.46-8.el6.centos.alt.x86_64) 
    root (hd0,0) 
    kernel /xen.gz dom0_mem=1024M,max:1024M loglvl=all guest_loglvl=all 
    module /vmlinuz-3.4.46-8.el6.centos.alt.x86_64 ro root=/dev/mapper/vg_xen01-lv_root rd_LVM_LV=vg_xen01/lv_swap rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=uk rd_NO_MD LANG=en_GB rd_LVM_LV=vg_xen01/lv_root SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_NO_DM rhgb quiet 
    module /initramfs-3.4.46-8.el6.centos.alt.x86_64.img 

謝謝你的幫助。

回答

0

服務器是否引導到Xen內核?如果您運行uname -a您應該看到類似3.4.46-8.el6.centos的內容。 alt .x86_64。 ('alt'表示Xen內核。)