centos底下裝VirtualBox執行的問題 - Linux

By Yedda
at 2010-10-22T12:07
at 2010-10-22T12:07
Table of Contents
作業系統是centos
主機是ibm 中/大型伺服器等級
amd 有支援vmx.
依照http://wiki.centos.org/zh-tw/HowTos/Virtualization/VirtualBox指示下安裝
對照過kernel都是同樣版本
執行 /etc/init.d/vboxdrv setup 出現以下錯誤
Error! Your kernel headers for kernel 2.6.18-194.17.1.el5xen
cannot be found at/lib/modules/2.6.18-194.17.1.el5xen/build
or /lib/modules/2.6.18-194.17.1.el5xen/source.
[FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
------------
log檔顯示:
Uninstalling modules from DKMS
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxhost/3.2.10/source ->
/usr/src/vboxhost-3.2.10
DKMS: add Completed.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:159: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
-----------------
google了半天
爬了很多文也找不出問題點
有勞版上高手幫忙指點指點
謝謝!!
--
主機是ibm 中/大型伺服器等級
amd 有支援vmx.
依照http://wiki.centos.org/zh-tw/HowTos/Virtualization/VirtualBox指示下安裝
對照過kernel都是同樣版本
執行 /etc/init.d/vboxdrv setup 出現以下錯誤
Error! Your kernel headers for kernel 2.6.18-194.17.1.el5xen
cannot be found at/lib/modules/2.6.18-194.17.1.el5xen/build
or /lib/modules/2.6.18-194.17.1.el5xen/source.
[FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
------------
log檔顯示:
Uninstalling modules from DKMS
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxhost/3.2.10/source ->
/usr/src/vboxhost-3.2.10
DKMS: add Completed.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:159: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
-----------------
google了半天
爬了很多文也找不出問題點
有勞版上高手幫忙指點指點
謝謝!!
--
Tags:
Linux
All Comments

By Robert
at 2010-10-24T19:33
at 2010-10-24T19:33

By Mia
at 2010-10-26T11:42
at 2010-10-26T11:42

By Edith
at 2010-10-30T01:59
at 2010-10-30T01:59

By Jessica
at 2010-10-31T05:36
at 2010-10-31T05:36

By Jessica
at 2010-11-04T13:14
at 2010-11-04T13:14

By Thomas
at 2010-11-05T12:00
at 2010-11-05T12:00

By Mary
at 2010-11-07T04:42
at 2010-11-07T04:42

By Oscar
at 2010-11-09T13:40
at 2010-11-09T13:40

By Zanna
at 2010-11-14T09:18
at 2010-11-14T09:18

By Kama
at 2010-11-17T18:03
at 2010-11-17T18:03

By Joseph
at 2010-11-21T17:57
at 2010-11-21T17:57

By Ula
at 2010-11-25T13:45
at 2010-11-25T13:45
Related Posts
從一台主機上對其他主機下命令

By Daph Bay
at 2010-10-21T22:52
at 2010-10-21T22:52
請教planet是用什麼套件架設的?

By Delia
at 2010-10-21T22:09
at 2010-10-21T22:09
有關於xen啟用vm的問題

By Rachel
at 2010-10-21T18:25
at 2010-10-21T18:25
關於quota的應用

By Iris
at 2010-10-21T15:40
at 2010-10-21T15:40
eeepc無線網路請教

By Skylar DavisLinda
at 2010-10-21T00:51
at 2010-10-21T00:51