Page 2 of 2

Re: Network Error... was working yesterday

Posted: 13. Jun 2013, 02:48
by loukingjr
Perryg wrote:Love to. You sending the Mac for my tests :wink:
LOL um, no? :D

Re: Network Error... was working yesterday

Posted: 20. Jun 2013, 21:15
by McJim2k
Try reinstalling VB. I had upgraded OS X from 10.8 to 10.9 and had the exact same issue. Once I reinstalled VB, everything worked just fine.

I didn't try the uninstall tool or delete any files. I simply re-downloaded the VB DMG and ran the installer again. All of my VMs using Bridged networking fired right up. I was also able to enable Host Only networking again.

Re: Network Error... was working yesterday

Posted: 20. Jun 2013, 21:33
by loukingjr
McJim2k wrote:Try reinstalling VB. I had upgraded OS X from 10.8 to 10.9 and had the exact same issue. Once I reinstalled VB, everything worked just fine.

I didn't try the uninstall tool or delete any files. I simply re-downloaded the VB DMG and ran the installer again. All of my VMs using Bridged networking fired right up. I was also able to enable Host Only networking again.
Thanks. I will try that as soon as I get my iMac back from Apple. It's being modified.

Re: Network Error... was working yesterday

Posted: 26. Jun 2013, 20:01
by McJim2k
FYI, reinstalling is only a temporary fix. As soon as I restart the computer I have the same issues again. Fortunately I don't restart much, but it can be annoying.

Re: Network Error... was working yesterday

Posted: 26. Jun 2013, 20:48
by loukingjr
McJim2k wrote:FYI, reinstalling is only a temporary fix. As soon as I restart the computer I have the same issues again. Fortunately I don't restart much, but it can be annoying.
ugh. I see what you mean. :roll: Luckily I can stick with NAT.

Re: Network Error... was working yesterday

Posted: 5. Oct 2013, 16:48
by vladimirku3n
The same on OS X 10.9 Mavericks Gold Master:
VirtualBox works from fresh install unytil host reboot.
After host reboot, VB start giving above error.
After reinstall of VB, it works till host reboot.

Re: Network Error... was working yesterday

Posted: 6. Oct 2013, 14:14
by Jabbslad
OS X 10.9 Mavericks has deprecated the StartupItems mechanism for starting services on boot.

Until this is fixed it looks like VirtualBox's host-only networking is broken as per ticket: #8940.

This also means if you use Vagrant it will complain that it can't start boxes.

The temporary workaround is to create a Launch Daemon yourself. This Launch Daemon will call the old StartupItems script.

1.) Create a 'virtualbox.plist' file in '/Library/LaunchDaemons'. (Note: You will need to sudo to create the file).

2.) Add the following content to the file before saving it:-

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>  
<plist version="1.0">  
    <dict>
        <key>Label</key>
        <string>virtualbox</string>
        <key>ProgramArguments</key>
        <array>
            <string>sh</string>
            <string>/Library/StartupItems/VirtualBox/VirtualBox</string>
            <string>restart</string>
        </array>
        <key>KeepAlive</key>
        <false/>
        <key>RunAtLoad</key>
        <true/>
    </dict>
</plist>  
3.) Run the following two commands so the Launch Daemon is auto-started when OS X boots:-

Code: Select all

sudo chown root /Library/LaunchDaemons/virtualbox.plist
sudo launchctl load -w /Library/LaunchDaemons/virtualbox.plist
4.) Restart your machine to test (optional)

Code: Select all

sudo shutdown -r now
Hopefully a fix will be issued soon, in the mean time this will mean you don't need to keep running 'sudo /Library/StartupItems/VirtualBox/VirtualBox restart' every time you restart your Mac.