를 git bash
사용하여 Windows 7 x64 랩톱에서 Vagrant 상자를 부팅하려고 할 때마다 vagrant up
긴 Warning: Remote connection disconnect. Retrying...
메시지가 표시됩니다. 때때로 이로 인해 몇 가지 다른 메시지 (게스트 VM 도구가 설치되지 않았거나 시간 초과)와 함께 오류가 발생하지만 때로는 10 개 또는 15 개의 메시지 후에 성공적으로 부팅되고 SSH를 사용할 수 있습니다.
설명을위한 그림 :
그리고 vagrant up
명령 의 전체 출력 :
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'ianwalter/ubuntu-node-nginx' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 9966 => 9966 (adapter 1)
default: 22 => 2222 (adapter 1)
==> 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 timeout. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
등등. 이것이 일반적인 행동입니까? 고칠 수있는 방법이 있습니까? VirtualBox 4.3.12와 함께 Vagrant 1.6.2를 실행하고 있습니다.
편집 : BrianC의 조언에 따라 GUI 세션을 부팅하여 연결이 거부 된 동안 VM이 무엇을하는지 확인했습니다. 이것은 다음과 같습니다.
기본 상자를에서 ianwalter/ubuntu-node-nginx
로 변경 하고 패키지 관리자에서ubuntu/trusty64
수동으로 노드 / NPM을 설치 하여이 문제를 해결했습니다 . 같은 문제가 발생하지 않는 것 같으므로 다른 이미지에 실속을 일으키는 무언가가 있다고 생각합니다.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다