2017-12-10 45 views
0

Windows 10 호스트에서 사용하려고하는 Ubuntu 14.04 Vagrant 상자가 있습니다.Virtualbox가 Windows 방화벽으로 인해 연결되지 않는 경우, Vagrant를 시작할 수 없습니다.

상자는 다른 시스템에서 제대로 작동하므로 문제가되지 않습니다.

내 가상 박스 버전은 현재 5.1.28입니다. 문제가 시작된 최신 버전을 시도 했으므로 5.1.28로 돌려 놓았습니다.

My Vagrant 버전은 2.0.0입니다.

이 내가이 방화벽 문제가 될 거라고 생각 vagrant up

λ vagrant up 
Bringing machine 'default' up with 'virtualbox' provider... 
==> default: Importing base box 'dev_box'... 
==> default: Matching MAC address for NAT networking... 
==> default: Setting the name of the VM: Dev_default_1512943736797_96012 
==> default: Clearing any previously set network interfaces... 
==> default: Preparing network interfaces based on configuration... 
    default: Adapter 1: nat 
    default: Adapter 2: bridged 
==> default: Forwarding ports... 
    default: 3000 (guest) => 3000 (host) (adapter 1) 
    default: 22 (guest) => 2222 (host) (adapter 1) 
==> default: Running 'pre-boot' VM customizations... 
==> default: Booting VM... 
==> default: Waiting for machine to boot. This may take a few minutes... 
    default: SSH address: 127.0.0.1:2222 
    default: SSH username: vagrant 
    default: SSH auth method: private key 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Remote connection disconnect. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
    default: Warning: Connection reset. Retrying... 
    default: Warning: Connection aborted. Retrying... 
The guest machine entered an invalid state while waiting for it 
to boot. Valid states are 'starting, running'. The machine is in the 
'unknown' state. Please verify everything is configured 
properly and try again. 

If the provider you're using has a GUI that comes with it, 
it is often helpful to open that and watch the machine, since the 
GUI often has more helpful error messages than Vagrant can retrieve. 
For example, if you're using VirtualBox, run `vagrant up` while the 
VirtualBox GUI is open. 

The primary issue for this error is that the provider you're using 
is not properly configured. This is very rarely a Vagrant issue. 

을 실행할 때 내가 얻을, 그래서 방화벽을 사용할 수 있지만, 여전히 같은 문제를보고하고있는 무슨이다.

Virtualbox/Vagrant를 Windows 10에서 작동 시키려면 어떻게합니까?

EDIT : Fall Creators Update (특히이 경우 포트 22)로 업데이트하기 전에 Windows 방화벽이 이전에 시스템에서 열려 있던 포트를 닫았습니다.이 포트 22, 이제 예상대로 작동합니다.

답변

0

BIOS에서 가상화를 사용할 수 없다고 생각합니다.

확인한다는 점에서 : 작업 관리자> 성능 탭> 가상화 또는 systeminfo 명 을 통해 CMD

에서

장애인 경우 :

하드웨어 제조업체에 따라 BIOS에서 활성화하는 방법을 체크 아웃 .

하면 을 활성화 :

그런

또한 버추얼 박스에서 수동으로 64 비트 VM을 실행 시도 할 수 있습니다,이 말할 수 있습니다 "추가 창을 제거 특징"에서 "Hyper-V를"해제 시도 당신이 "알 수없는 상태"또한

에있는 기계 뒤에 이유 (32 비트 OS로) 설정을 다음과 함께 방랑 파일을 만들어보십시오 :

Vagrant.configure(2) do |config| 
    config.vm.box = "hashicorp/precise32" 
    config.vm.box_download_insecure = true #true just to bypass ssl validation error (strict no for production) 
end 

동일한 디렉토리에서 vagrant up을 실행 해보십시오.

+1

사실 나는 이제 막 문제의 원인을 발견했습니다. Windows 방화벽은 가을 크리에이터 업데이트를 설치하기 전에 이전에 시스템에서 열려 있던 포트를 닫았습니다. SSH 용 포트 22를 열었고 이제는 작동합니다. – NeyLive