sun's longitude:242 01 10.51 
· 자유게시판 · 묻고답하기 · 알파문서 · RPMS list
· 사용자문서 · 팁/FAQ모음 · 리눅스Links · 자료실
· 서버정보 · 운영자 · Books/FAQ · FreeBSD
/board/read.php:소스보기  

질문과 답변 게시판입니다.

현재 실시간으로 이곳 서버의 설정파일(몇개)를 보여주고 있습니다.
서버의 설정내용에 관한 질문은 먼저 이곳 서버의 설정내용을 참고하시길 바랍니다.

[*** 쓰기 금지단어 패턴 ***]
글 본문 중간에 업로드할 이미지를 추가하는 방법 : @@이미지이름@@
ex) @@foo.gif@@
1297 번 글의 답장글: Re: mod_bandwidth설치 문제
글쓴이: 산이 [홈페이지] 글쓴날: 2003년 01월 22일 20:07:16 수(저녁) 조회: 2846
[김영남]님이 남기신 글:

>
>안녕하십니다.
 대역폭을 제한하기위해서
 mod_bandwidth 설치하려고
>삽질을 하다가 질문을 던집니다.
>
> Redhat 8.0 
> httpd-2.0.40-11 
> 
> 아래의 링크를 보고 설치를 하려고 하는데 잘되질
않네요.
>
> http://www.nzeo.com/bbs/zboard.php?id=p_server&page=1&sn1=&divpage=1
&sn=off&ss=on&sc=on&keyword=역폭&select_arrange=headnum&desc=asc&no=227

>
> 먼저 mod_bandwidth.c를 받아서 모듈을 적재하기 위해 root
방에서
> 명령어를 치면 아래처럼 나옵니다. 
> 
> 
> 혹시 redhat8.0 에는 대역폭을 제한 하는 프로그램
설치하는방법이
 틀린지
> 아니면 아파치때문인지
 mod_bandwidth 외에도 mod_throttle 있는것으로
> 아는데 redhat8.0 httpd-2.0.40-11  에서 설치가 잘되고
트래픽제어만
> 가능하면 됩니다. 설치방법이 틀린건지 자세한
답변부탁드립니다.
 
>
>apxs -c mod_bandwidth.c 파일을 /root에 복사한후
>
>[root@cookie root]# apxs -c mod_bandwidth.c 
>/usr/lib/httpd/build/libtool --silent --mode=compile gcc -prefer-pic -O2
-march=i386 -mcpu=i686 -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread
-DNO_DBM_REWRITEMAP -I/usr/include/httpd  -c -o mod_bandwidth.lo mod_bandwidth.c &&
touch mod_bandwidth.slo
>mod_bandwidth.c:421: parse error before "array_header"
>mod_bandwidth.c:421: warning: no semicolon at end of struct or union
>mod_bandwidth.c:422: warning: data definition has no type or storage
class
>mod_bandwidth.c:423: parse error before '*' token
>mod_bandwidth.c:423: warning: data definition has no type or storage
class
>mod_bandwidth.c:425: parse error before '}' token
>mod_bandwidth.c:425: warning: data definition has no type or storage
class
>mod_bandwidth.c:444: parse error before '*' token
>mod_bandwidth.c: In function `create_bw_config':
>mod_bandwidth.c:445: `new' undeclared (first use in this function)
>mod_bandwidth.c:445: (Each undeclared identifier is reported only once
>mod_bandwidth.c:445: for each function it appears in.)
>mod_bandwidth.c:446: parse error before ')' token
>mod_bandwidth.c:447: `p' undeclared (first use in this function)
>mod_bandwidth.c:450: `path' undeclared (first use in this function)
>mod_bandwidth.c: At top level:
>mod_bandwidth.c:454: parse error before '*' token
>mod_bandwidth.c: In function `create_bw_server_config':
>mod_bandwidth.c:457: `p' undeclared (first use in this function)
>mod_bandwidth.c: At top level:
>mod_bandwidth.c:468: parse error before "bandwidth_config"
>mod_bandwidth.c: In function `bandwidthmodule':
>mod_bandwidth.c:471: `cmd' undeclared (first use in this function)
>mod_bandwidth.c:472: `flag' undeclared (first use in this function)
>mod_bandwidth.c: In function `set_bandwidth_data_dir':
>mod_bandwidth.c:478: warning: assignment makes pointer from integer without a
cast
>mod_bandwidth.c:480: warning: passing arg 1 of `ap_is_directory' from incompatible
pointer type
>mod_bandwidth.c:480: too few arguments to function `ap_is_directory'
>mod_bandwidth.c: At top level:
>mod_bandwidth.c:487: parse error before "bandwidth_config"
>mod_bandwidth.c: In function `setpulse':
>mod_bandwidth.c:490: `pulse' undeclared (first use in this function)
>mod_bandwidth.c: In function `bandwidth':
>mod_bandwidth.c:504: `conf' undeclared (first use in this function)
>mod_bandwidth.c:504: parse error before ')' token
>mod_bandwidth.c:517: warning: assignment makes pointer from integer without a
cast
>mod_bandwidth.c: In function `minbandwidth':
>mod_bandwidth.c:523: `conf' undeclared (first use in this function)
>mod_bandwidth.c:523: parse error before ')' token
>mod_bandwidth.c:533: warning: assignment makes pointer from integer without a
cast
>mod_bandwidth.c: In function `largefilelimit':
>mod_bandwidth.c:539: `conf' undeclared (first use in this function)
>mod_bandwidth.c:539: parse error before ')' token
>mod_bandwidth.c: At top level:
>mod_bandwidth.c:568: warning: initialization from incompatible pointer
type
>mod_bandwidth.c:570: warning: initialization from incompatible pointer
type
>mod_bandwidth.c:572: warning: initialization from incompatible pointer
type
>mod_bandwidth.c:578: warning: initialization from incompatible pointer
type
>mod_bandwidth.c:651: parse error before "array_header"
>mod_bandwidth.c: In function `get_bw_rate':
>mod_bandwidth.c:652: `a' undeclared (first use in this function)
>mod_bandwidth.c:656: `r' undeclared (first use in this function)
>mod_bandwidth.c:656: too few arguments to function `ap_get_remote_host'
>mod_bandwidth.c: At top level:
>mod_bandwidth.c:672: parse error before "array_header"
>mod_bandwidth.c: In function `get_bw_filesize':
>mod_bandwidth.c:673: `a' undeclared (first use in this function)
>mod_bandwidth.c:677: `filesize' undeclared (first use in this function)
>mod_bandwidth.c: In function `handle_bw':
>mod_bandwidth.c:735: `conf' undeclared (first use in this function)
>mod_bandwidth.c:736: parse error before ')' token
>mod_bandwidth.c:769: structure has no member named `st_size'
>mod_bandwidth.c:773: structure has no member named `st_mode'
>mod_bandwidth.c:775: `NOT_FOUND' undeclared (first use in this
function)
>mod_bandwidth.c:778: structure has no member named `st_mtime'
>mod_bandwidth.c:782: structure has no member named `st_size'
>mod_bandwidth.c:782: void value not ignored as it ought to be
>mod_bandwidth.c:814: warning: assignment makes pointer from integer without a
cast
>mod_bandwidth.c:818: warning: passing arg 4 of `ap_log_error' makes integer from
pointer without a cast
>mod_bandwidth.c:818: warning: passing arg 5 of `ap_log_error' from incompatible
pointer type
>mod_bandwidth.c:819: `FORBIDDEN' undeclared (first use in this
function)
>mod_bandwidth.c:873: structure has no member named `st_size'
>mod_bandwidth.c: At top level:
>mod_bandwidth.c:1148: parse error before "bw_handlers"
>mod_bandwidth.c:1149: warning: braces around scalar initializer
>mod_bandwidth.c:1149: warning: (near initialization for
`bw_handlers[0]')
>mod_bandwidth.c:1149: warning: initialization makes integer from pointer without a
cast
>mod_bandwidth.c:1149: warning: excess elements in scalar initializer
>mod_bandwidth.c:1149: warning: (near initialization for
`bw_handlers[0]')
>mod_bandwidth.c:1150: warning: braces around scalar initializer
>mod_bandwidth.c:1150: warning: (near initialization for
`bw_handlers[1]')
>mod_bandwidth.c:1150: warning: initialization makes integer from pointer without a
cast
>mod_bandwidth.c:1151: warning: data definition has no type or storage
class
>mod_bandwidth.c:1154: `this_module_needs_to_be_ported_to_apache_2_0' undeclared
here (not in a function)
>mod_bandwidth.c:1154: initializer element is not constant
>mod_bandwidth.c:1154: (near initialization for
`bandwidth_module.version')
>mod_bandwidth.c:1155: warning: initialization makes integer from pointer without a
cast
>mod_bandwidth.c:1156: warning: initialization makes integer from pointer without a
cast
>mod_bandwidth.c:1160: warning: initialization makes integer from pointer without a
cast
>mod_bandwidth.c:1161: warning: initialization from incompatible pointer
type
>mod_bandwidth.c:1169: warning: excess elements in struct initializer
>mod_bandwidth.c:1169: warning: (near initialization for
`bandwidth_module')
>apxs:Error: Command failed with rc=65536 

========================================

apache 2.0.x 버전은 아직 3-party 모듈에 대해서 안정적으로
설치되지 않습니다.

apache 2.0.x 버전용으로 mod_bandwidth 모듈이 빌드되었는지
모르겠네요..



 
이전글 : mod_bandwidth설치 문제
다음글 : samba xinetd에서 작동확인 방법?  
 from 61.254.75.40
JS(Redhands)Board 0.4 +@

mod_bandwidth설치 문제 samba xinetd에서 작동확인 방법?
인쇄용 


apache lighttpd linuxchannel.net 
Copyright 1997-2024. linuxchannel.net. All rights reserved.

Page loading: 0.01(server) + (network) + (browser) seconds