Installing Virtualbox in centos 5.6

Discussion in 'Technical' started by wachira, Apr 29, 2011.

  1. wachira

    wachira New Member

    I am getting an error when I try to run my virtualbox. When i look at the logs i get this out put
    Uninstalling modules from DKMS
    removing old DKMS module vboxhost version 4.0.6

    ------------------------------
    Deleting module version: 4.0.6
    completely from the DKMS tree.
    ------------------------------
    Done.
    Attempting to install using DKMS

    Creating symlink /var/lib/dkms/vboxhost/4.0.6/source ->
    /usr/src/vboxhost-4.0.6

    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:178: *** Error: KERN_DIR does not point to a directory. Stop.

    How do i recompile this Kernel or point DKMS the right place
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Do you have the right kernel-devel package installed?
     
  3. wachira

    wachira New Member

    I yum install gcc kernel-devel kernel-headers
    this is the list of kernels
    Installed Packages
    gcc.i386 4.1.2-50.el5 installed
    kernel-devel.i686 2.6.18-194.32.1.el5 installed
    kernel-devel.i686 2.6.18-238.5.1.el5 installed
    kernel-devel.i686 2.6.18-238.9.1.el5 installed
    kernel-headers.i386 2.6.18-238.9.1.el5 installed

    So do u see any reason why Virtualbox would behave like this
     
  4. falko

    falko Super Moderator Howtoforge Staff

    No, unfortunately not. :(
     
  5. rrvviinn81

    rrvviinn81 New Member

    try adding your name to vboxusers
     
  6. Jawshh

    Jawshh New Member

Share This Page