New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory #1671
Comments
Fixed. Thanks! (There is better error output now) |
Same error with me, I don't know if this error is on vagrant but I really think that is on virtualbox. What maybe be cause the problem: Solution: I wrote this just for any one who have the same or similar issue and maybe I lead to where to look to fix the bug or unless display a better explain about what to do on that error. Vagrant version 1.2.7 |
+1
|
+1 |
+1 |
Thanks for the tip! Works like a charm |
+1 Thank you very much for the tip ! :) |
Any idea why this seems to be required now? |
+1 |
+1 |
Thanks @lslucas that worked great! |
+1 |
That little piece of code works like a charm. The weird part is that I need to run that command every single time I restart my machine -- any ideas what the root cause is or how to fix it short of using this snippet?
OS X 10.9 |
+1 Thank you very much for the tip =) |
👍 |
I also have to run this after every restart with OS X Mavericks. I assume it's a VB bug. |
Related VirtualBox issue: https://www.virtualbox.org/ticket/8940 |
I really, really don't recommend fixing it this way, but it's saved me the frustration of running the restart command every time I restart OS X: In Automator, create a workflow to run an AppleScript:
Once you finish that, save it as a .app and set it to run when you log in. This will automatically restart VirtualBox and stop that error from happening so you can It's likely insecure and I don't recommend doing it but since I'm the only person using my computer, it's worked for me. |
This is resolved in VirtualBox 4.3: https://www.virtualbox.org/ticket/8940 |
Anyone been brave enough to try 4.3 w/ Vagrant ? |
I'm running Vagrant 1.3.3 and it said it doesn't support VirtualBox 4.3 so I had to downgrade. |
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script> |
Updated to Vagrant 1.3.5 and VirtualBox 4.3 -- my VM setup booted up without any issues. The only thing I had to do was update the Guest Additions (and it isn't even required). |
Running |
After a restart, I'm still getting that error:
Running |
👍 sudo /Library/StartupItems/VirtualBox/VirtualBox restart |
Just ran into this as well. Was unable to create a host-only network even from the Network tab in the VirtualBox Preferences until I ran: It's possible I've only had VirtualBox 4.3.0 installed on this machine as, unlike everyone else, |
the same error meet up after update to macOS Sierra. And i reinstall the VirtualBox and vagrant fixed . |
Reinstalling VBox in El Captain fixed for me. |
Updating to v5.1.22 fixed this issue for me in macOS Sierra |
Updating to Vbox v5.1.26 fixed for me in macOS Sierra v10.12.6 |
sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart worked for me. |
For those of you of the Linux persuasion: sudo service virtualbox restart |
In High Sierra: Then sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart Then I could vagrant up. |
Just to echo @saltcod - this appears to be the solution if you are running Mac OS High Sierra. |
Ditto, I am on Mac OS High Sierra and @saltcod 's note worked for me |
Maybe a little different with saltcod's solution, on Mac High Sierra, I solved this by:
sudo "/Library/Application Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh" restart and you would see the following Unloading VBoxUSB.kext
Unloading VBoxNetFlt.kext
Unloading VBoxNetAdp.kext
Unloading VBoxDrv.kext
Loading VBoxDrv.kext
Loading VBoxUSB.kext
Loading VBoxNetFlt.kext
Loading VBoxNetAdp.kext
|
This the same error in new release on Mojave !! VirtualBox 5.2.18 Also, post boot of the machine, the VM is stuck. |
Another victim of Mojave update!! :( |
Another victom of Mojave update. Just reinstalled virtualbox via homebrew and it works.
|
I also fixed it by updating the virtualbox and vagrant. I had installed it via package so downloaded the latest from their website.
Additionally if you're using laravel, also update vagrant box to 6.3.0.
|
This should work on Mojave brew cask reinstall virtualbox
brew cask reinstall vagrant
vagrant plugin update |
This did the trick after a Mojave upgrade - thanks @akashnimare |
I had ignored something about "oracle needing some security thing..." during some bash script installs. A nice little post about it: RE: https://developer.apple.com/library/archive/technotes/tn2459/_index.html |
This worked for me: |
sudo launchctl load /Library/LaunchDaemons/org.virtualbox.startup.plist this worked for me. |
After run I find my |
I experienced this problem after upgrading my macOS to Mojave. Virtual box 5.1 is not compatible with Mojave. Updating Virtual box solved my problem. |
FIXED on OSX Mojave - I had downloaded and installedVB from the Oracle website (there was an error at the end I ignored). I went to Security & Privacy, clicked |
On OSX 10.14.2 Mojave: Resolved this issue for me. So it seems like some of the VBox drivers (kernel modules) were not loaded based on which ones were unloaded during there restart process. They were loaded on restart:
Just in case anyone else runs into this. I suspect that a restart would have resolved it also since that would have reloaded modules. For reference, you can also verify that the kext's are loaded with: Which will show the virtualbox modules that are loaded. |
When I try to run this command, I get the following error: $ sudo service virtualbox restart I am running VirtualBox 6.0, and Ubuntu 18.04 |
This fixed the problem for me: Homebrew/homebrew-cask#39369 (comment) After running that script and allowing the load from System Preferences I was then able to run
successfully. |
If anyone else finds themselves here and are running ubuntu 18.04 ( kernel 4.18.0-16-generic ), vagrant 2.2.4, and virtualbox5.x+ I had this issue occur after running remove virtualbox: The error that I received was the following:
|
On ubuntu 18.04, completing removing and reinstalling was what finally fixed this for me. I'm using virtualbox-6.0. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Hi, I'm getting this error when 'vagrant up'
It appeared suddenly. I assumed this is a Virtualbox issue so I checked the Virtualbox GUI and got this alert..
I reinstalled Virtualbox and all was working ok again... for some hours.
Now and I'm having the same issue. Any clues? I've seen on #vagrant IRC at least one guy with the same problem.
System specs:
Mountain Lion 10.8.3
Vagrant 1.2.2
VirtualBox 4.2.12 r84980
The text was updated successfully, but these errors were encountered: