Cannot create host-only network

Discussions related to using VirtualBox on Mac OS X hosts.
hito mario
Posts: 7
Joined: 27. Apr 2013, 16:28

Cannot create host-only network

Post by hito mario »

Hi,

I installed vbox 4:12 in Mac OS, then I import oracle vm and I made ​​a host-only network to test the connection between my mac and vbox and it runs.

Then I re-booted my mac and tried to run the oracle vm application that I created earlier. Problems arise which host-only is not found in accordance with the image that I attach.

if anyone has ever experienced jg, I've tried to do create vbox manage hostonlyif create alerts out below

~ Admin $ VBoxManage hostonlyif create
0% ...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interfaces: failed to open / dev / vboxnetctl: No such file or directory

VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterface, interface IHostNetworkInterface
VBoxManage: error: Context: "int handleCreate (HandlerArg *, int, int *)" at line 68 of file VBoxManageHostonly.cpp

Thank you in advance
Attachments
screen_shot_hostonly.jpg
screen_shot_hostonly.jpg (89.92 KiB) Viewed 30420 times
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Cannot create host-only network

Post by noteirak »

Seems like your Virtualbox installation is broken, and I would try to fully uninstall it, then reinstall.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
hito mario
Posts: 7
Joined: 27. Apr 2013, 16:28

Re: Cannot create host-only network

Post by hito mario »

I've installed 4 to 5 times but still problematic.
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Cannot create host-only network

Post by noteirak »

From the error message, your issue is on /dev/vboxnetctl
Does the file exist? Do you have rights on it?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
hito mario
Posts: 7
Joined: 27. Apr 2013, 16:28

Re: Cannot create host-only network

Post by hito mario »

After installation virtualbox, the file is then restarted my mac. The file is missing.
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Cannot create host-only network

Post by noteirak »

Then I don't know what could remove it.
Not having a Mac myself, I wouldn't know how to troubleshoot that. Maybe other with more knowledge can help you here.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
hito mario
Posts: 7
Joined: 27. Apr 2013, 16:28

Re: Cannot create host-only network

Post by hito mario »

maybe others can help.

Thank's before.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows, OSX
Location: U S of A

Re: Cannot create host-only network

Post by ChipMcK »

hito mario wrote:I've installed 4 to 5 times but still problematic.
Did you first Uninstall?

The field Name is set as Not selected in your image, rather than vboxnet0.
My understanding is the the StartUp Item for VBox is responsible for setting up vboxnet0 along with the .kext extensions.
The Uninstall clears the .kext files (amongst others)

Best
hito mario
Posts: 7
Joined: 27. Apr 2013, 16:28

Re: Cannot create host-only network

Post by hito mario »

After all i delete .kext from folder /Library/Extentions, and then i re install VBox. After that I was able to create a host-only, then I try to restart my mac. And back problems as above.

thx before
hito mario
Posts: 7
Joined: 27. Apr 2013, 16:28

Re: Cannot create host-only network

Post by hito mario »

Please help

Thx.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows, OSX
Location: U S of A

Re: Cannot create host-only network

Post by ChipMcK »

hito mario wrote:After all i delete .kext from folder /Library/Extentions
IMHO mucking in the the folders is not the same as running the Uninstall script VirtualBox_Uninstall.tool from .dmg
hito mario
Posts: 7
Joined: 27. Apr 2013, 16:28

Re: Cannot create host-only network

Post by hito mario »

yes, I've installed via the dmg file and also tried to uninstall but could not solve also
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Cannot create host-only network

Post by noteirak »

hito mario wrote:After that I was able to create a host-only, then I try to restart my mac. And back problems as above.
The fact that it works until you restart tells me that something is not right on boot. Either a service missing or another doing something bad.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
rpmurray
Volunteer
Posts: 918
Joined: 3. Mar 2009, 00:29
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows 7, Mac OS X (various flavors)
Location: Between Heaven and Hell

Re: Cannot create host-only network

Post by rpmurray »

Have you tried running Repair Disk Permissions in Disk Utility before doing the uninstall and re-install of VB? There were a couple of users in the past that reported problems with the kexts that turned out to be permissions related. It wouldn't hurt to try.
johntdyer
Posts: 2
Joined: 17. Feb 2012, 16:55

Re: Cannot create host-only network

Post by johntdyer »

No clue why, but restarting this service seems to fix this for m e

Code: Select all

 sudo /Library/StartupItems/VirtualBox/VirtualBox restart
Post Reply