Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

[SOLVED] can't install virtualbox in ubuntu 13.04 x64

$
0
0
Hello,

I am a beginner and I installed virtual box 4.3.6, i have read in other posts but i can't find the solution.

After that i have installed "sudo apt-get install dkms" - and is all ok i use root user.

Then when i try to sutup the virtual box modules sudo /etc/init.d/vboxdrv setup :

Code:

sudo /etc/init.d/vboxdrv setupStopping VirtualBox kernel moduleslibkmod: ERROR ../libkmod/libkmod-module.c:1567 kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory
Error: could not get list of modules: No such file or directory
libkmod: ERROR ../libkmod/libkmod-module.c:1567 kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory
Error: could not get list of modules: No such file or directory
libkmod: ERROR ../libkmod/libkmod-module.c:1567 kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory
Error: could not get list of modules: No such file or directory
 ...done.
Uninstalling old VirtualBox DKMS kernel modules ...done.
Trying to register the VirtualBox kernel modules using DKMSError! Your kernel headers for kernel 3.10.23-xxxx-grs-ipv6-64 cannot be found.
Please install the linux-headers-3.10.23-xxxx-grs-ipv6-64 package,
or use the --kernelsourcedir option to tell DKMS where it's located
 ...failed!
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules ...failed!
  (Look at /var/log/vbox-install.log to find out what went wrong)

in /var/log/vbox-install.log there is:

Code:

Uninstalling modules from DKMS  removing old DKMS module vboxhost version  4.3.6


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


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


DKMS: add completed.
Failed to install using DKMS, attempting to install without
Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.

Kernel is installed and updated.

How can i fix this? Thank you.

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>