클러스터링을 하기위해서
ipvs-0.8.3.tar.gz 을 받아서 설치했습니다.(리눅스는 6.1 이구요)
신병준님이 쓰신 문서보고 했구요...
화일 풀고 컴파일하고 다음에 패치하는 부분이 있더라구요..
cd /usr/src/linux
cat /usr/src/ipvs-0.8.3-2.2.12/ipvs-0.8.3-2.2.12.patch | patch -p1
이렇게 했는데...
patching file `Documentation/Configure.help'
Hunk #1 succeeded at 3925 with fuzz 1 (offset 1282 lines).
patching file `include/linux/ip_masq.h'
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file `include/net/ip_masq.h'
Hunk #1 succeeded at 66 with fuzz 2 (offset 52 lines).
Hunk #2 FAILED at 96.
Hunk #3 succeeded at 196 with fuzz 2 (offset 136 lines).
Hunk #4 FAILED at 243.
2 out of 4 hunks FAILED -- saving rejects to include/net/ip_masq.h.rej
The next patch would create the file `include/net/ip_vs.h',
which already exists! Assume -R? [n] y
patching file `include/net/ip_vs.h'
patching file `net/ipv4/Config.in'
Reversed (or previously applied) patch detected! Assume -R? [n] y
Hunk #1 succeeded at 50 with fuzz 1 (offset -2 lines).
patching file `net/ipv4/Makefile'
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file `net/ipv4/ip_input.c'
Reversed (or previously applied) patch detected! Assume -R? [n] y
Hunk #1 succeeded at 261 (offset -5 lines).
patching file `net/ipv4/ip_masq.c'
Reversed (or previously applied) patch detected! Assume -R? [n] y
Hunk #14 succeeded at 1065 (offset 4 lines).
Hunk #16 succeeded at 1361 (offset 4 lines).
Hunk #18 succeeded at 1770 (offset 4 lines).
Hunk #20 succeeded at 2022 (offset 4 lines).
Hunk #22 succeeded at 2062 (offset 4 lines).
Hunk #24 succeeded at 2177 (offset 4 lines).
Hunk #26 succeeded at 2304 (offset 4 lines).
Hunk #28 succeeded at 2533 (offset 4 lines).
patching file `net/ipv4/ip_masq_app.c'
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file `net/ipv4/ip_masq_ftp.c'
Reversed (or previously applied) patch detected! Assume -R? [n] y
The next patch would create the file `net/ipv4/ip_vs.c',
which already exists! Assume -R? [n] y
patching file `net/ipv4/ip_vs.c'
Hunk #1 FAILED at 1.
File `net/ipv4/ip_vs.c' is not empty after patch, as expected.
1 out of 1 hunk FAILED -- saving rejects to net/ipv4/ip_vs.c.rej
The next patch would create the file `net/ipv4/ip_vs_rr.c',
which already exists! Assume -R? [n] y
patching file `net/ipv4/ip_vs_rr.c'
The next patch would create the file `net/ipv4/ip_vs_wlc.c',
which already exists! Assume -R? [n] y
patching file `net/ipv4/ip_vs_wlc.c'
The next patch would create the file `net/ipv4/ip_vs_wrr.c',
which already exists! Assume -R? [n] y
patching file `net/ipv4/ip_vs_wrr.c'
이런식으로 나옴니다...몰라서 다 y라고 쳤거든요...
정말 모르겠네요...~~~~
lvps에대한 질문 찾다찾다 못찾아서 올립니다....
좀 알려주세요...도저히 안돼네요~~~~~지금 2주째 lvsp랑 놀고 있는데 넘 힘드네요...
이상태로는 커널 컴파일도 에러 납니다....에휴~~~~~~~~
--
눈아포ㅠ.ㅠ