How to solve vagrant up problem

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I installed VirtualBox and vagrant, trying to make vagrant work and got this error:



VirtualBox is complaining that the kernel module is not loaded. Please
run `VBoxManage --version` or open the VirtualBox GUI to see the error
message which should contain instructions on how to fix this error.


I ran sudo /sbin/vboxconfig after and got this following error:



You will not be able to start VMs until this problem is fixed.
5.2.8r121009

nawalabs@nawalabs-ThinkPad-X240:~/web-dev/lighthouse$ sudo /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
linux-headers-generic linux-headers-4.15.0-13-generic
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
linux-headers-generic linux-headers-4.15.0-13-generic

There were problems setting up VirtualBox. To re-start the set-up process, run


/sbin/vboxconfig
as root.


What can I do?



After installing linux headers-generic and doing sudo vboxconfig, i got this error message showing up:



vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
linux-headers-generic linux-headers-4.15.0-13-generic
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
linux-headers-generic linux-headers-4.15.0-13-generic
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root.









share|improve this question























  • Did you enable virtualization support in your system's BIOS?
    – Robby1212
    Apr 12 at 20:15










  • Try installing the requested kernel headers using sudo apt install linux-headers-generic and then run sudo vboxconfig again.
    – Byte Commander
    Apr 12 at 20:20










  • This system is currently not set up to build kernel modules.Please install the Linux kernel "header" files matching the current kernel for adding new hardware support to the system.
    – tommyC
    Apr 12 at 20:46














up vote
0
down vote

favorite












I installed VirtualBox and vagrant, trying to make vagrant work and got this error:



VirtualBox is complaining that the kernel module is not loaded. Please
run `VBoxManage --version` or open the VirtualBox GUI to see the error
message which should contain instructions on how to fix this error.


I ran sudo /sbin/vboxconfig after and got this following error:



You will not be able to start VMs until this problem is fixed.
5.2.8r121009

nawalabs@nawalabs-ThinkPad-X240:~/web-dev/lighthouse$ sudo /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
linux-headers-generic linux-headers-4.15.0-13-generic
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
linux-headers-generic linux-headers-4.15.0-13-generic

There were problems setting up VirtualBox. To re-start the set-up process, run


/sbin/vboxconfig
as root.


What can I do?



After installing linux headers-generic and doing sudo vboxconfig, i got this error message showing up:



vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
linux-headers-generic linux-headers-4.15.0-13-generic
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
linux-headers-generic linux-headers-4.15.0-13-generic
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root.









share|improve this question























  • Did you enable virtualization support in your system's BIOS?
    – Robby1212
    Apr 12 at 20:15










  • Try installing the requested kernel headers using sudo apt install linux-headers-generic and then run sudo vboxconfig again.
    – Byte Commander
    Apr 12 at 20:20










  • This system is currently not set up to build kernel modules.Please install the Linux kernel "header" files matching the current kernel for adding new hardware support to the system.
    – tommyC
    Apr 12 at 20:46












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I installed VirtualBox and vagrant, trying to make vagrant work and got this error:



VirtualBox is complaining that the kernel module is not loaded. Please
run `VBoxManage --version` or open the VirtualBox GUI to see the error
message which should contain instructions on how to fix this error.


I ran sudo /sbin/vboxconfig after and got this following error:



You will not be able to start VMs until this problem is fixed.
5.2.8r121009

nawalabs@nawalabs-ThinkPad-X240:~/web-dev/lighthouse$ sudo /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
linux-headers-generic linux-headers-4.15.0-13-generic
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
linux-headers-generic linux-headers-4.15.0-13-generic

There were problems setting up VirtualBox. To re-start the set-up process, run


/sbin/vboxconfig
as root.


What can I do?



After installing linux headers-generic and doing sudo vboxconfig, i got this error message showing up:



vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
linux-headers-generic linux-headers-4.15.0-13-generic
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
linux-headers-generic linux-headers-4.15.0-13-generic
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root.









share|improve this question















I installed VirtualBox and vagrant, trying to make vagrant work and got this error:



VirtualBox is complaining that the kernel module is not loaded. Please
run `VBoxManage --version` or open the VirtualBox GUI to see the error
message which should contain instructions on how to fix this error.


I ran sudo /sbin/vboxconfig after and got this following error:



You will not be able to start VMs until this problem is fixed.
5.2.8r121009

nawalabs@nawalabs-ThinkPad-X240:~/web-dev/lighthouse$ sudo /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
linux-headers-generic linux-headers-4.15.0-13-generic
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
linux-headers-generic linux-headers-4.15.0-13-generic

There were problems setting up VirtualBox. To re-start the set-up process, run


/sbin/vboxconfig
as root.


What can I do?



After installing linux headers-generic and doing sudo vboxconfig, i got this error message showing up:



vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
linux-headers-generic linux-headers-4.15.0-13-generic
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
linux-headers-generic linux-headers-4.15.0-13-generic
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root.






kernel virtualbox vagrant






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 12 at 22:36









ubashu

2,23721736




2,23721736










asked Apr 12 at 20:13









tommyC

62




62











  • Did you enable virtualization support in your system's BIOS?
    – Robby1212
    Apr 12 at 20:15










  • Try installing the requested kernel headers using sudo apt install linux-headers-generic and then run sudo vboxconfig again.
    – Byte Commander
    Apr 12 at 20:20










  • This system is currently not set up to build kernel modules.Please install the Linux kernel "header" files matching the current kernel for adding new hardware support to the system.
    – tommyC
    Apr 12 at 20:46
















  • Did you enable virtualization support in your system's BIOS?
    – Robby1212
    Apr 12 at 20:15










  • Try installing the requested kernel headers using sudo apt install linux-headers-generic and then run sudo vboxconfig again.
    – Byte Commander
    Apr 12 at 20:20










  • This system is currently not set up to build kernel modules.Please install the Linux kernel "header" files matching the current kernel for adding new hardware support to the system.
    – tommyC
    Apr 12 at 20:46















Did you enable virtualization support in your system's BIOS?
– Robby1212
Apr 12 at 20:15




Did you enable virtualization support in your system's BIOS?
– Robby1212
Apr 12 at 20:15












Try installing the requested kernel headers using sudo apt install linux-headers-generic and then run sudo vboxconfig again.
– Byte Commander
Apr 12 at 20:20




Try installing the requested kernel headers using sudo apt install linux-headers-generic and then run sudo vboxconfig again.
– Byte Commander
Apr 12 at 20:20












This system is currently not set up to build kernel modules.Please install the Linux kernel "header" files matching the current kernel for adding new hardware support to the system.
– tommyC
Apr 12 at 20:46




This system is currently not set up to build kernel modules.Please install the Linux kernel "header" files matching the current kernel for adding new hardware support to the system.
– tommyC
Apr 12 at 20:46















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1024468%2fhow-to-solve-vagrant-up-problem%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1024468%2fhow-to-solve-vagrant-up-problem%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491