{"action":"created","issue":{"url":"https://api.github.com/repos/Varying-Vagrant-Vagrants/VVV/issues/693","labels_url":"https://api.github.com/repos/Varying-Vagrant-Vagrants/VVV/issues/693/labels{/name}","comments_url":"https://api.github.com/repos/Varying-Vagrant-Vagrants/VVV/issues/693/comments","events_url":"https://api.github.com/repos/Varying-Vagrant-Vagrants/VVV/issues/693/events","html_url":"https://github.com/Varying-Vagrant-Vagrants/VVV/issues/693","id":93043897,"number":693,"title":"Hostonlyif error line 66","user":{"login":"JessBoctor","id":12505355,"avatar_url":"https://avatars.githubusercontent.com/u/12505355?v=3","gravatar_id":"","url":"https://api.github.com/users/JessBoctor","html_url":"https://github.com/JessBoctor","followers_url":"https://api.github.com/users/JessBoctor/followers","following_url":"https://api.github.com/users/JessBoctor/following{/other_user}","gists_url":"https://api.github.com/users/JessBoctor/gists{/gist_id}","starred_url":"https://api.github.com/users/JessBoctor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JessBoctor/subscriptions","organizations_url":"https://api.github.com/users/JessBoctor/orgs","repos_url":"https://api.github.com/users/JessBoctor/repos","events_url":"https://api.github.com/users/JessBoctor/events{/privacy}","received_events_url":"https://api.github.com/users/JessBoctor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-04T20:16:00Z","updated_at":"2016-01-14T15:14:29Z","closed_at":null,"body":"Hello Everyone, \r\n\r\nI have been trying to get VVV installed on my toshiba Chrombook 2 using crouton and trusty. I have also tried this on my acer c710 Chrombook with crouton and trusty. When I run vagrant up I get the following error:\r\n\r\nThere was an error while executing `VBoxManage`, a CLI used by Vagrant\r\nfor controlling VirtualBox. The command and stderr is shown below.\r\n\r\nCommand: [\"hostonlyif\", \"create\"]\r\n\r\nStderr: 0%...\r\nProgress state: NS_ERROR_FAILURE\r\nVBoxManage: error: Failed to create the host-only adapter\r\nVBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: VBoxNetAdpCtl: ioctl failed for /dev/vboxnetctl: Invalid argument\r\nVBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterface, interface IHostNetworkInterface\r\nVBoxManage: error: Context: \"int handleCreate(HandlerArg*, int, int*)\" at line 66 of file VBoxManageHostonly.cpp\r\n\r\nI tried installing another box (ubuntu/trusty64), following the instructions from the vagrant website here: https://docs.vagrantup.com/v2/boxes.html\r\n\r\nThis box was able to start up without a problem, so I don't think it is the virtualbox or vagrant install which is the problem (though I'm happy to admit it if I am wrong). I also ran sudo modprobe vboxnetadp and this did not fix the issue. Here is a copy of the install and trying vagrant up:\r\n\r\n(trusty)root@localhost:~# dpkg -i /media/removable/pbStorage/vagrant_1.7.2_x86_64.deb\r\nSelecting previously unselected package vagrant.\r\n(Reading database ... 68073 files and directories currently installed.)\r\nPreparing to unpack .../vagrant_1.7.2_x86_64.deb ...\r\nUnpacking vagrant (1:1.7.2) ...\r\nSetting up vagrant (1:1.7.2) ...\r\n(trusty)root@localhost:~# vagrant plugin install vagrant-hostsupdater\r\nInstalling the 'vagrant-hostsupdater' plugin. This can take a few minutes...\r\nInstalled the plugin 'vagrant-hostsupdater (0.0.11)'!\r\n(trusty)root@localhost:~# vagrant plugin install vagrant-triggers\r\nInstalling the 'vagrant-triggers' plugin. This can take a few minutes...\r\nInstalled the plugin 'vagrant-triggers (0.5.0)'!\r\n(trusty)root@localhost:~# sudo apt-get install git\r\nReading package lists... Done\r\nBuilding dependency tree       \r\nReading state information... Done\r\nThe following extra packages will be installed:\r\n  git-man liberror-perl rsync\r\nSuggested packages:\r\n  gettext-base git-daemon-run git-daemon-sysvinit git-doc git-el git-email\r\n  git-gui gitk gitweb git-arch git-bzr git-cvs git-mediawiki git-svn\r\n  openssh-server\r\nThe following NEW packages will be installed:\r\n  git git-man liberror-perl rsync\r\n0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.\r\nNeed to get 3629 kB of archives.\r\nAfter this operation, 22.3 MB of additional disk space will be used.\r\nDo you want to continue? [Y/n] y\r\nGet:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main rsync amd64 3.1.0-2ubuntu0.1 [283 kB]\r\nGet:2 http://archive.ubuntu.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1 [21.1 kB]\r\nGet:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main git-man all 1:1.9.1-1ubuntu0.1 [698 kB]\r\nGet:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main git amd64 1:1.9.1-1ubuntu0.1 [2627 kB]\r\nFetched 3629 kB in 5s (654 kB/s)\r\nSelecting previously unselected package rsync.\r\n(Reading database ... 74540 files and directories currently installed.)\r\nPreparing to unpack .../rsync_3.1.0-2ubuntu0.1_amd64.deb ...\r\nUnpacking rsync (3.1.0-2ubuntu0.1) ...\r\nSelecting previously unselected package liberror-perl.\r\nPreparing to unpack .../liberror-perl_0.17-1.1_all.deb ...\r\nUnpacking liberror-perl (0.17-1.1) ...\r\nSelecting previously unselected package git-man.\r\nPreparing to unpack .../git-man_1%3a1.9.1-1ubuntu0.1_all.deb ...\r\nUnpacking git-man (1:1.9.1-1ubuntu0.1) ...\r\nSelecting previously unselected package git.\r\nPreparing to unpack .../git_1%3a1.9.1-1ubuntu0.1_amd64.deb ...\r\nUnpacking git (1:1.9.1-1ubuntu0.1) ...\r\nProcessing triggers for man-db (2.6.7.1-1ubuntu1) ...\r\nProcessing triggers for ureadahead (0.100.0-16) ...\r\nSetting up rsync (3.1.0-2ubuntu0.1) ...\r\n Removing any system startup links for /etc/init.d/rsync ...\r\nupdate-rc.d: warning: default stop runlevel arguments (0 1 6) do not match rsync Default-Stop values (none)\r\n Adding system startup for /etc/init.d/rsync ...\r\n   /etc/rc0.d/K20rsync -> ../init.d/rsync\r\n   /etc/rc1.d/K20rsync -> ../init.d/rsync\r\n   /etc/rc6.d/K20rsync -> ../init.d/rsync\r\n   /etc/rc2.d/S20rsync -> ../init.d/rsync\r\n   /etc/rc3.d/S20rsync -> ../init.d/rsync\r\n   /etc/rc4.d/S20rsync -> ../init.d/rsync\r\n   /etc/rc5.d/S20rsync -> ../init.d/rsync\r\nrunlevel:/var/run/utmp: No such file or directory\r\nSetting up liberror-perl (0.17-1.1) ...\r\nSetting up git-man (1:1.9.1-1ubuntu0.1) ...\r\nSetting up git (1:1.9.1-1ubuntu0.1) ...\r\nProcessing triggers for ureadahead (0.100.0-16) ...\r\n(trusty)root@localhost:~# cd vagrant-local\r\n-su: cd: vagrant-local: No such file or directory\r\n(trusty)root@localhost:~# git clone git://github.com/Varying-Vagrant-Vagrants/VVV.git vagrant-local\r\nCloning into 'vagrant-local'...\r\nremote: Counting objects: 5542, done.\r\nremote: Compressing objects: 100% (60/60), done.\r\nremote: Total 5542 (delta 28), reused 0 (delta 0), pack-reused 5471\r\nReceiving objects: 100% (5542/5542), 6.30 MiB | 1.79 MiB/s, done.\r\nResolving deltas: 100% (1879/1879), done.\r\nChecking connectivity... done.\r\n(trusty)root@localhost:~# cd vagrant-local\r\n(trusty)root@localhost:~/vagrant-local# vagrant up\r\nBringing machine 'default' up with 'virtualbox' provider...\r\n==> default: Box 'ubuntu/trusty64' could not be found. Attempting to find and install...\r\n    default: Box Provider: virtualbox\r\n    default: Box Version: >= 0\r\n==> default: Loading metadata for box 'ubuntu/trusty64'\r\n    default: URL: https://atlas.hashicorp.com/ubuntu/trusty64\r\n==> default: Adding box 'ubuntu/trusty64' (v20150609.0.10) for provider: virtualbox\r\n    default: Downloading: https://vagrantcloud.com/ubuntu/boxes/trusty64/versions/20150609.0.10/providers/virtualbox.box\r\n==> default: Successfully added box 'ubuntu/trusty64' (v20150609.0.10) for 'virtualbox'!\r\n==> default: Importing base box 'ubuntu/trusty64'...\r\n==> default: Matching MAC address for NAT networking...\r\n==> default: Checking if box 'ubuntu/trusty64' is up to date...\r\n==> default: Setting the name of the VM: vagrant-local_default_1436037136895_29696\r\n==> default: Clearing any previously set forwarded ports...\r\n==> default: Clearing any previously set network interfaces...\r\nThere was an error while executing `VBoxManage`, a CLI used by Vagrant\r\nfor controlling VirtualBox. The command and stderr is shown below.\r\n\r\nCommand: [\"hostonlyif\", \"create\"]\r\n\r\nStderr: 0%...\r\nProgress state: NS_ERROR_FAILURE\r\nVBoxManage: error: Failed to create the host-only adapter\r\nVBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: VBoxNetAdpCtl: ioctl failed for /dev/vboxnetctl: Invalid argument\r\nVBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterface, interface IHostNetworkInterface\r\nVBoxManage: error: Context: \"int handleCreate(HandlerArg*, int, int*)\" at line 66 of file VBoxManageHostonly.cpp\r\n\r\n(trusty)root@localhost:~/vagrant-local# ^C\r\n(trusty)root@localhost:~/vagrant-local# exit \r\n\r\nAny suggestions?\r\n\r\nThanks so much, \r\n\r\nJess\r\n"},"comment":{"url":"https://api.github.com/repos/Varying-Vagrant-Vagrants/VVV/issues/comments/171668915","html_url":"https://github.com/Varying-Vagrant-Vagrants/VVV/issues/693#issuecomment-171668915","issue_url":"https://api.github.com/repos/Varying-Vagrant-Vagrants/VVV/issues/693","id":171668915,"user":{"login":"gilesbutler","id":790734,"avatar_url":"https://avatars.githubusercontent.com/u/790734?v=3","gravatar_id":"","url":"https://api.github.com/users/gilesbutler","html_url":"https://github.com/gilesbutler","followers_url":"https://api.github.com/users/gilesbutler/followers","following_url":"https://api.github.com/users/gilesbutler/following{/other_user}","gists_url":"https://api.github.com/users/gilesbutler/gists{/gist_id}","starred_url":"https://api.github.com/users/gilesbutler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilesbutler/subscriptions","organizations_url":"https://api.github.com/users/gilesbutler/orgs","repos_url":"https://api.github.com/users/gilesbutler/repos","events_url":"https://api.github.com/users/gilesbutler/events{/privacy}","received_events_url":"https://api.github.com/users/gilesbutler/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T15:14:29Z","updated_at":"2016-01-14T15:14:29Z","body":"Not sure if this is still relevant but hopefully it'll help someone else in the future. \r\n\r\nI just faced the same issue and turns out you need to restart VirtualBox according to [this question](http://stackoverflow.com/questions/21069908/vboxmanage-error-failed-to-create-the-host-only-adapter) on Stack Overflow.\r\n\r\nI ran ````sudo \"/Library/Application Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh\" restart```` and everything worked as expected."}}