2017-04-04 5 views
6

I 시도 설정이 기계 : Timed out while waiting for the machine to boot.방랑/버추얼에는 SSH 연결하지 않고 타임 아웃 (윈도우)

오류의

전체 컨텍스트 :

내가 vagrant up을 수행 할 때 https://github.com/ByteInternet/hypernode-vagrant

것은 내가 오류 다음 얻을

$ vagrant up 
Bringing machine 'hypernode' up with 'virtualbox' provider... 
==> hypernode: Will use PHP 7. If you want PHP 5.5 instead change the php version in local.yml. 
==> hypernode: Checking if box 'hypernode_php7' is up to date... 
==> hypernode: Clearing any previously set forwarded ports... 
==> hypernode: Clearing any previously set network interfaces... 
==> hypernode: Preparing network interfaces based on configuration... 
hypernode: Adapter 1: nat 
hypernode: Adapter 2: hostonly 
==> hypernode: Forwarding ports... 
hypernode: 80 (guest) => 8080 (host) (adapter 1) 
hypernode: 3306 (guest) => 3307 (host) (adapter 1) 
hypernode: 22 (guest) => 2222 (host) (adapter 1) 
==> hypernode: Running 'pre-boot' VM customizations... 
==> hypernode: Booting VM... 
==> hypernode: Waiting for machine to boot. This may take a few minutes... 
hypernode: SSH address: 127.0.0.1:2222 
hypernode: SSH username: vagrant 
hypernode: SSH auth method: private key 
Timed out while waiting for the machine to boot. This means that 
Vagrant was unable to communicate with the guest machine within 
the configured ("config.vm.boot_timeout" value) time period. 

If you look above, you should be able to see the error(s) that 
Vagrant had when attempting to connect to the machine. These errors 
are usually good hints as to what may be wrong. 

If you're using a custom box, make sure that networking is properly 
working and you're able to connect to the machine. It is a common 
problem that networking isn't setup properly in these boxes. 
Verify that authentication configurations are also setup properly, 
as well. 

If the box appears to be booting properly, you may want to increase 
the timeout ("config.vm.boot_timeout") value. 

VM을 수동으로 부팅 할 때 네트워킹이 정상적으로 작동하지 않는 것을 볼 수 있습니다. 연결이 없습니다. VM의 설정을 브리지 된 네트워크로 변경하면 네트워킹이 작동합니다. 그러나 방랑자는 NAT로 구성됩니다. 따라서 설정이나 방해 요소 파일에서 변경 한 내용이 다시 재설정되는 것 같습니다.

두 가지 다른 PC에서 Vagrant 1.9.3, 1.9.2 및 1.9.0을 시도했습니다. Virtualbox 5.1.18을 사용하고 있습니다.

00:00:00.575454 SUP: Loaded VMMR0.r0 (C:\Program  Files\Oracle\VirtualBox\VMMR0.r0) at 0xfffff80c897b0000 - ModuleInit at  fffff80c897d3590 and ModuleTerm at fffff80c897d3a80 using the native ring-0 loader 
00:00:01.681747 Driver = "NAT" (cb=4) 
00:00:01.962037 SUP: Loaded VBoxDDR0.r0 (C:\Program Files\Oracle\VirtualBox\VBoxDDR0.r0) at 0xfffff80c898d0000 - ModuleInit at   0000000000000000 and ModuleTerm at 0000000000000000 using the native ring-0 loader 
00:00:02.196495 NAT: Guest address guess set to 10.0.2.15 by initialization 
00:00:02.204465 NAT: DNS#0: 192.168.178.1 
00:00:02.271317 NAT: Failed to redirect TCP 127.0.0.1:2222 -> 0.0.0.0:22 (Unknown error) 
00:00:02.271732 NAT: Failed to redirect TCP 0.0.0.0:3307 -> 0.0.0.0:3306 (Unknown error) 
00:00:02.272033 NAT: Failed to redirect TCP 0.0.0.0:2200 -> 0.0.0.0:80 (Unknown error) 
00:00:09.976199 NAT: Link up 
00:00:39.428974 NAT: DHCP offered IP address 10.0.2.15 
00:00:39.429404 NAT: DHCP offered IP address 10.0.2.15 
00:03:02.167191 NAT: DHCP offered IP address 10.0.2.15 
00:03:02.167820 NAT: DHCP offered IP address 10.0.2.15 
00:07:58.531621 NAT: Zone(nm:mbuf_cluster, used:0) 
00:07:58.532221 NAT: Zone(nm:mbuf_packet, used:0) 
00:07:58.532232 NAT: Zone(nm:mbuf, used:1) 
00:07:58.532419 NAT: Zone(nm:mbuf_jumbo_pagesize, used:0) 
00:07:58.532961 NAT: Zone(nm:mbuf_jumbo_9k, used:0) 
00:07:58.533255 NAT: Zone(nm:mbuf_jumbo_16k, used:0) 
00:07:58.533424 NAT: Zone(nm:mbuf_ext_refcnt, used:0) 
00:07:58.536529 Changing the VM state from 'DESTROYING' to 'TERMINATED' 

는 어떻게 해결할 수 또는 디버그이 : 언제 (이것은 전체 로그, 작은 부분 없음) 다음과 같은 오류를 볼 수있다 "NAT"와 로그 아래를 필터링 ?

UPDATE

나는 또한 어떤 결과없이 아래 버추얼와 방랑의 다른 버전으로 시도 일

지난 몇 :

  • 버추얼 5.0.18
  • 버추얼 5.0.20
  • 버추얼 박스 5.0.36
  • 방제제 1.9.3

나는 또한 동일한 문제가있는 다른 상자를 사용해 보았습니다. 그래서 그것은 상자가 아니라 호스트 인 것처럼 보입니다.

나는 정확히 같은 결과를 가진 Windows 7 컴퓨터에서 설정을 시도했습니다. 구성에서 뭔가 빠졌다고 생각하지만 Windows 컴퓨터에서이 작업을 수행하는 확실한 지침이 무엇인지 모릅니다.

업데이트 2 : 내가 이것을 시도한 컴퓨터가 이러한 종류의 설정을 지원하지 않을 수 있습니까? BIOS에서 가상화 옵션을 찾으려고 노력했습니다.

업데이트 3 : 내 호스트에서 손님에게 ssh -v 127.0.0.1 -p 1222을하면 다음과 같은 오류가 발생합니다. SSH 서비스가 가동 중입니다. sshd service status으로 확인했습니다.

$ ssh -v 127.0.0.1 -p 1222 
OpenSSH_7.3p1, OpenSSL 1.0.2k 26 Jan 2017 
debug1: Reading configuration data /etc/ssh/ssh_config 
debug1: Connecting to 127.0.0.1 [127.0.0.1] port 1222. 
debug1: connect to address 127.0.0.1 port 1222: Connection refused 
ssh: connect to host 127.0.0.1 port 1222: Connection refused 

4 업데이트 : 게스트 머신에서 모든 인터넷 IP 나 도메인을 Ping 할 수.

답변

2

첫 번째 인터페이스를 NAT로 변경하는 것은 정상적인 동작입니다. 방랑하는 사람 일을하기 위해서는 요구 사항입니다.

두 가지를 확인할 수 있습니다. 1) 환경 설정> 네트워크> nat-network.(설정은 다음과 같이해야합니다) :

network settings

2) 어쩌면 다른 방랑 상자를 시도 할 수 있습니다) 당신이 가상 케이블 cable connected

3

연결되어있어합니다.

+0

광산은 "NAT"를 사용하도록 구성됩니다. http://imgur.com/CAt5LPq.png. "NAT-network"옵션도 있습니다. 그러나 만약 내가 그 'wagrant up'으로 바꾸면 오류가 발생합니다. 제 두 번째 닉도 구성되었습니다. 이 http://imgur.com/JP8qWCu.png. 나는 아직 다른 방황장을 시도하지 않았다. 그러나 나는 이것이 작동하고 있다는 것을 안다. 동료가 리눅스 머신에서 작동하도록했습니다. Btw, 스크린 샷의 경고는 너무 많은 숫양을 사용하는 기계에 관한 것입니다. 네트워킹과 관련이 없습니다. – Akif