cband 설치중.. 조언좀 부탁드립니다.
글쓴이: Anermy / 작성시간: 수, 2007/09/05 - 3:40오전
계정별 트래픽을 관리해야 하는 상황인데요.
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 데몬이 띄워져 있어서 그런건가요;; 웁스..
새벽에 해봐야 겠군요. ㅎ
이런.. 새벽에 아파치 죽이고 했는데.. 똑같은 에러가.. 킁...
도움좀 부탁드립니다.
Forums:
apxs의 위치를 찾아서
apxs의 위치를 찾아서 실행을 해야 하는데 문제가 있어서 파일명을 못 찾는 오류가 생겼네요.
증거 자료
분명 찾았다고 나왔으나.
이 부분에 보시면 /usr/local/apache/bin/apxs 라고 나와야 하는데 /usr/local/apache/bin/ 까지만 나왔습니다.
따라서 디렉토리를 실행하려고 하니 허가거부라고 나온 것입니다.
/usr/local/apache/bin에 apxs라는 파일이 실제로 존재하고 실행가능한지 확인을 해 주시기 바랍니다.
답변감사합니다..
우여곡절끝에 설치완료하였습니다. 다만..
적용하고 모니터링을 해보니, 트래픽 데이터가 정상인지 모르겠군요.
아무도 접속하지 않는 2차 도메인 virtual host에 적용해보니..
한 20페이지 로드하고 트래픽을 보니 13MB정도 되버리네요..
이미지가 좀 많긴해도..
이게 정상이온지..
기회는 준비된 자에게만 온다.
(twitter @httpds)
댓글 달기