vagrant up 설치 오류
847
작성한 질문수 1
잘 설치되는 듯 하다가 아래와 같은 오류가 발생했습니다.
검색해봐도 마땅한 답이 안나오는 것 같아서... 문의드립니다.
Error: 0 [main] rsync (28752) C:\HashiCorp\Vagrant\embedded\usr\bin\rsync.EXE: *** fatal error - cygheap base mismatch detected - 0x11B2408/0x1462408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version should
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
0 [main] rsync 940 dofork: child -1 - forked process 28752 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
rsync: [sender] fork: Resource temporarily unavailable (11)
rsync error: error in IPC code (code 14) at pipe.c(65) [sender=3.2.3]
답변 4
1
알려주신 방법대로 설정하고 나니
No package kernel-devel-3.10.0-1127.el7.x86_64 available.
Error: Nothing to do
Unmounting Virtualbox Guest Additions ISO from: /mnt
umount: /mnt: not mounted
==> k8s-node2: Checking for guest additions in VM...
k8s-node2: No guest additions were detected on the base box for this VM! Guest
k8s-node2: additions are required for forwarded ports, shared folders, host only
k8s-node2: networking, and more. If SSH fails on this machine, please install
k8s-node2: the guest additions and repackage the box to continue.
k8s-node2:
k8s-node2: This is not an error message; everything may continue to work properly,
k8s-node2: in which case you may ignore this message.
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
이런 오류가 나왔습니다.
인터넷을 뒤져보니 guest edition 버전에 대한 문제인 것 같아서
vagrant plugin install vagrant-vbguest --plugin-version 0.21
이걸 다시 한번 해주고, vagrant up 을 다시 실행했더니 드디어 설치에 성공했습니다!!
같이 고민해주셔서 감사합니다!
1
안녕하세요.
흔한 에러가 아니라 저도 확인은 하고 있지만, 쉽게 해결 방법이 보이지 않네요
현재 운영체제가 어떻게 되시는지?
그리고 Vagrant 버전도 강의에 나오는 버전으로 설치되었나요?
0
저도 내용을 찾아보니 운영체제에서 사용되는 cygwin에 대한 버전과 안맞는다는 것 같네요
제 강의 영상은 windows 10이라 차이가 있을 수 있겠고요.
cygwin 다시 설치해봤다고 하시니, vagrant를 최신 버전으로 설치해 보시겠어요?
0
vagrant 최신 버전 2.3.2 로 다시 설치하고
혹시몰라 cygwin 도 다시 다운받아서 설치했는데 여전히 아래 오류가 발생하네요 ㅠㅠㅠㅠㅠㅠ
환경 설정이 되지 않아 실습을 못하고 있습니다 . 혹시 다른 방법은 없을까요? ㅠ
Rsyncing folder: /cygdrive/c/Users/user/k8s/ => /vagrant
1 [main] rsync (2020) C:\HashiCorp\Vagrant\embedded\usr\bin\rsync.EXE: *** fatal error - cygheap base mismatch detected - 0x13C0408/0x1550408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version should
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
0 [main] rsync 533 dofork: child -1 - forked process 2020 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
There was an error when attempting to rsync a synced folder.
Please inspect the error message below for more info.
Host path: /cygdrive/c/Users/user/k8s/
Guest path: /vagrant
Command: "rsync" "--verbose" "--archive" "--delete" "-z" "--copy-links" "--chmod=ugo=rwX" "--no-perms" "--no-owner" "--no-group" "--rsync-path" "sudo rsync" "-e" "ssh -p 2201 -o LogLevel=FATAL -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i 'C:/Users/user/k8s/.vagrant/machines/k8s-node1/virtualbox/private_key'" "--exclude" ".vagrant/" "/cygdrive/c/Users/user/k8s/" "vagrant@127.0.0.1:/vagrant"
Error: 1 [main] rsync (2020) C:\HashiCorp\Vagrant\embedded\usr\bin\rsync.EXE: *** fatal error - cygheap base mismatch detected - 0x13C0408/0x1550408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version should
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
0 [main] rsync 533 dofork: child -1 - forked process 2020 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
rsync: [sender] fork: Resource temporarily unavailable (11)
rsync error: error in IPC code (code 14) at pipe.c(65) [sender=3.2.6]
0
sygwin1.dll 을 강제로 x:\cygwin\bin 경로로 이동시키고,
윈도우 보안설정에서
C:\HashiCorp\Vagrant\embedded\usr\bin\rsync.EXE
해당 경로의 프로그램에 대해 ASLR 보안 해제를 했더니 에러 메시지가 아래와 같이 변경되었습니다.
Rsyncing folder: /cygdrive/c/Users/user/k8s/ => /vagrant
There was an error when attempting to rsync a synced folder.
Please inspect the error message below for more info.
Host path: /cygdrive/c/Users/user/k8s/
Guest path: /vagrant
Command: "rsync" "--verbose" "--archive" "--delete" "-z" "--copy-links" "--chmod=ugo=rwX" "--no-perms" "--no-owner" "--no-group" "--rsync-path" "sudo rsync" "-e" "ssh -p 2222 -o LogLevel=FATAL -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i 'C:/Users/user/k8s/.vagrant/machines/k8s-master/virtualbox/private_key'" "--exclude" ".vagrant/" "/cygdrive/c/Users/user/k8s/" "vagrant@127.0.0.1:/vagrant"
Error: rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(231) [sender=3.2.6]
여전히 rsync 오류네요 ㅠㅠ
0
이전에 cygwin64 라는걸 별도로 설치한 적 있나요?
저도 잘 모르는 부분이라 확인해보니, 별도로 설치한 cygwin64에서 rsync.exe 파일이 있고
Vagrant에서 별도 설치해서 사용하는 rsync.exe가 있는데,
둘간에 버전이 다른 상태로 보이고, 현재 PC상에는 cygwin64에서 rsync.exe 가 기본으로 사용되서 Vagrant에서도 그걸 사용하고 있는 것 같네요.
0
다운 받은 Vagrantfile 에서
config.vm.box="centos/7" 밑으로 아래 내용 추가해서 실행해보시기 바랍니다.
config.vm.synced_folder ".", "/vagrant", type: ""
synced_folder를 사용 안하겠다는 설정입니다
[15. ConfigMap, Secret - 실습] Env (File) 실습 시 문의사항
1
58
2
Node Schedule 실습 시 pod3 생성 시 메모리 요청량이 올라가지 않는 사항
1
45
1
Guest OS
1
61
2
kubeTM Blog는 없어진건가요????
1
65
2
yml 작성하다가 에러 발생해서 문의 드립니다.
0
65
2
설치수업중에 질문드립니다.
1
86
2
기초다지기 설치 문의드립니다.
1
129
4
HPA 부분 Auto Scaler 설치하는 링크가 없습니다!!
1
79
3
클러스터 초기화 및 팟 네트워크 세팅시 문제가 있습니다
1
115
1
환경 구성에 있어서 질문드립니다
1
105
2
configMap 파일생성
1
89
2
dashboard에서 pod 생성이 되지 않습니다.
1
97
2
nodePort 서비스 접근 Client sent an HTTP request to an HTTPS server
1
88
2
대시보드 화면이 달라요 ㅠㅠ
1
69
2
대시보드 접근이 안됩니다!
1
111
2
Ingress실습에 난관이 있습니다
1
76
2
master 노드에서 ssh 로그인 창이 안뜨는 오류
1
104
3
안녕하세요 일프로님 궁금한 거 있습니다
0
64
1
7강 마지막 대시 보드 출력에 관한 문제
1
72
2
Could not resolve host: externalname1; Unknown error
0
69
2
Failed to create pod sandbox
1
107
2
자료실을 못 찾겠습니다 ㅜ ㅡ ㅜ
0
70
2
0/3 nodes are available
1
62
2
Back-off restarting fail~~
1
125
4





