본문 바로가기

Programming

bigsur로 ios업뎃 후 vagrant up 안되는 문제

가상서버를 vagrant로 이용하고 있는데, 

ios업뎃 문구가 떠서 업뎃했더니 아래와 같은 에러문구 발생

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 HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 95 of file VBoxManageHostonly.cpp

 

해결방법

1. vagrant 재설치

2.virtual box 재설치

3.기존 디렉터리 삭제 후 git에서 다시 클론 (개발환경 재설정)

4,시스템 환경설정 > 보안 및 개인정보 보호 > 일반 > [다음에서 다운로드 한 앱 허용] 아래에 뜨는 부분에 허용이라고 하면 끝

안뜨는 경우 다른 곳에서 오류가 있는 것.