mod_cband 문제....
지금 CentOS 5.0에 httpd 2.2 를 설치 후에 mod_cband 를 설치 하였습니다.
VirtualHost 설정은 아래와 같이 하였습니다.
DocumentRoot /web/home/kty/html ServerName kty.com ServerAlias www.kty.com CBandLimit 1G CBandPeriod 1D CBandScoreboard /var/log/httpd/kty.com.scoreboard Redirect /weblog http://kty.com/awstats/awstats.pl?config=kty.com CustomLog "|/usr/local/sbin/cronolog --symlink=/var/log/httpd/kty.com-log /var/log/httpd/%Y%m%d.kty.com-log" combined
물론 kty.com은 내부에서 테스트 할라고 제가 임의로 설정 한것입니다.
/var/log/httpd/ 경로에 kty.com.scoreboard 파일 생성후 권한apache.apache로 변경 하고 혹시 몰라서 퍼미션도 777 로 주었습니다.
문제는 위와 같이 설정후 httpd restart를 하고 traffic 관리 페이지 가서 확인 하면 정상적으로 나오며, httpd restart를 해도 트래픽 초기화가 안되는것을 확인 하였습니다.
근데 /var/log/httpd/error.log 에 apache2_mod_cband: cannot open scoreboard file /var/log/httpd/kty.com.scoreboard 가 접속 할때 마다 나오네요 ㅠㅠ
제가 모 설정을 잘못한것이나, 참고 할만한 것이 있는지 조언좀 부탁 드릴께요 ㅠㅠ
답변 부탁 드리겠습니다.
댓글 달기