vagrant up
を実行すると以下のエラーが発生しました。
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["hostonlyif", "create"]
Stderr: 0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: 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 66 of file VBoxManageHostonly.cpp
VirtualBox, Vagrantをアンインストール&インストールしても効果はありません。
Issue の "Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory #1671" を参考にして、
$ sudo launchctl load /Library/LaunchDaemons/org.virtualbox.startup.plist
を実行してしてみたものの、これも効果がありません。
ただ、すべての仮装マシンの vagrant up
に失敗するわけではなく、通常通り vagrant up
できる仮想マシンもあります。ですから、恐らく問題があるのは VirtualBox や Vagrant 側ではないと考えられます。
しかし、ここから先どのようなアプローチをすれば良いのか分かりません。 お力添え頂けるとありがたいです。
開発環境:
- VirtualBox 4.3.20
- Vagrant 1.7.1
- OS X Yosemite 10.10.1
sudo launchctl load /Library/La...
を実行して何が表示されたかがわかるとさらに突っ込んで考えられるかもしれません。sudo "/Library/Application Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh" restart
ですが、そもそもApplication Supportディレクトリ配下にVirtualBoxというフォルダーがないため上手くいきませんでした。 幾つかのサイトにVirtualBox4.3以降は$ sudo launchctl load /Library/LaunchDaemons/org.virtualbox.startup.plist
で解決するとの記述があり、これを実行しました。sudo launchctl load /Library/La...
を実行後は、特に何も表示されませんでした!...
は略したつもりでした。コマンドではないです。)...
は私も省略のつもりで引用しました。実際は正しくコマンドを入力しています!