cband 설치중.. 조언좀 부탁드립니다.

Anermy의 이미지

계정별 트래픽을 관리해야 하는 상황인데요.
apache 2.2대를 사요하고 있어서 throttle 설치가 어렵다고 들었습니다.
해서 알아보니 cband 를 사용하면 가능 할꺼 같더군요.
여자저차.. 다운받고 설치하려고 하니
./configure 까지는 정상적으로 되는데..
make에서 오류가 나네요..

[root@localhost mod-cband-0.9.7.4]# pwd
/usr/local/src/mod-cband-0.9.7.4
[root@localhost mod-cband-0.9.7.4]# ./configure --with-apxs=/usr/local/apache/bi
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether make sets $(MAKE)... yes
checking for apr_palloc in -laprutil... no
checking for an ANSI C-conforming const... yes
checking apxs --with-apxs=/usr/local/apache/bin/... found
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for string.h... (cached) yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
configure: creating ./config.status
config.status: creating Makefile
[root@localhost mod-cband-0.9.7.4]#
[root@localhost mod-cband-0.9.7.4]#
[root@localhost mod-cband-0.9.7.4]# make
 
/usr/local/apache/bin/ -Wc,-Wall -Wc,-DDST_CLASS=3 -c src/mod_cband.c
make: execvp: /usr/local/apache/bin/: 허가 거부됨
make: *** [src/.libs/mod_cband.so] 오류 127
[root@localhost mod-cband-0.9.7.4]#

조언좀 부탁드려봅니다.....

 /usr/local/apache/bin/: 허가 거부됨
이게 허가 거부되었다는 말이 뭔지;;;

혹시 apache 데몬이 띄워져 있어서 그런건가요;; 웁스..
새벽에 해봐야 겠군요. ㅎ

이런.. 새벽에 아파치 죽이고 했는데.. 똑같은 에러가.. 킁...
도움좀 부탁드립니다.

세이군의 이미지

apxs의 위치를 찾아서 실행을 해야 하는데 문제가 있어서 파일명을 못 찾는 오류가 생겼네요.
증거 자료

Quote:

[root@localhost mod-cband-0.9.7.4]# ./configure --with-apxs=/usr/local/apache/bi
checking apxs --with-apxs=/usr/local/apache/bin/... found

분명 찾았다고 나왔으나.
Quote:

[root@localhost mod-cband-0.9.7.4]# make

/usr/local/apache/bin/ -Wc,-Wall -Wc,-DDST_CLASS=3 -c src/mod_cband.c
make: execvp: /usr/local/apache/bin/: 허가 거부됨
make: *** [src/.libs/mod_cband.so] 오류 127


이 부분에 보시면 /usr/local/apache/bin/apxs 라고 나와야 하는데 /usr/local/apache/bin/ 까지만 나왔습니다.
따라서 디렉토리를 실행하려고 하니 허가거부라고 나온 것입니다.

/usr/local/apache/bin에 apxs라는 파일이 실제로 존재하고 실행가능한지 확인을 해 주시기 바랍니다.

Anermy의 이미지

우여곡절끝에 설치완료하였습니다. 다만..
적용하고 모니터링을 해보니, 트래픽 데이터가 정상인지 모르겠군요.
아무도 접속하지 않는 2차 도메인 virtual host에 적용해보니..
한 20페이지 로드하고 트래픽을 보니 13MB정도 되버리네요..
이미지가 좀 많긴해도..
이게 정상이온지..

기회는 준비된 자에게만 온다.
(twitter @httpds)

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.