Guys, i’ve installed on my Droplet (Ubuntu 14.04) Virtual Box following this Guide (https://blog.ed.gs/2013/10/21/installing-windows-server-2012-ubuntu-12-04-virtualbox-4-3/) But i have i problem with Kernel Of Virtual Box This is the error :
root@vbox:~# sudo /etc/init.d/vboxdrv setup Stopping VirtualBox kernel modules …done. Uninstalling old VirtualBox DKMS kernel modules …done. Trying to register the VirtualBox kernel modules using DKMSERROR: Cannot create report: [Errno 17] File exists: ‘/var/crash/virtualbox-4.3.0.crash’ Error! Bad return status for module build on kernel: 3.13.0-57-generic (x86_64) Consult /var/lib/dkms/vboxhost/4.3.0/build/make.log for more information. …failed! (Failed, trying without DKMS) Recompiling VirtualBox kernel modules …failed! (Look at /var/log/vbox-install.log to find out what went wrong)
What i can do?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
@Dennys - Have you tried the same on a Ubuntu 15.x Droplet? Ubuntu, from reading the VirtualBox docs, should have the correct version of the
linux-headers
installed by default, though it’s possible that an older release (even LTS, or a Long Term Support release) simply does not. You can run the command below to search forlinux-headers
and useapt-get install
to install them.What this command does is isolate or narrow down the search by requesting that
apt-get
only return results withlinux-headers
(instead of the default, which is to return basically any package associated).The results of the above command should look something like:
You’ll also want to make sure that your build environment is properly setup. To do this, run the following command:
This will automatically install the above packages and their dependencies. Then you can run the install command for the
linux-headers
followed by the install command fordkms
.Essentially, the error is telling you that you’re not currently setup to build external kernel modules.
–
The only issue you may encounter is that DigitalOcean does not allow for custom kernel configuration. You can choose a new kernel from within the control panel by clicking on your Droplet followed by the Settings link in the sidebar and finally the Kernel tab, though you’re currently limited to those options.
For that reason, I would recommend deploying a Ubuntu 15.x Droplet over an LTS release as VB is one piece of software that is rapidly developed, thus changes are frequent and may not be as compatible with an older release and/or kernel.