I have Ubuntu 14.04. and I think after updating it a few weeks ago I get an error, I used to be able to fix this error with this command
sudo /etc/init.d/vboxdrv setup.
But now when I put this command I get this message:
sudo /etc/init.d/vboxdrv setup vboxdrv.sh: Building VirtualBox kernel modules. vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong.
And I looked at that log file, its like 10000 lines, I don't even know what to look at. I've uploaded the logs here.
Also I tried reading other issues here about this, but I couldn't find one where it gives me easy guide how to solve it. I am using Virtualbox v5.1.6 r110634 (Qt5.6.1).