리눅스 분류
Awstats 설치후....조회수,히트수 모두 0 으로만 표시됩니다 ㅜㅜ!
작성자 정보
- 이용석 작성
- 작성일
컨텐츠 정보
- 1,849 조회
- 3 댓글
- 0 추천
- 목록
본문
awstats 설치했는데요....
모든 카운트가.....0으로 만 표시 됩니다...
하루꼬박... 찾아헤맷는데요~~~~ 답이 안나옵니다..
포기상태 입니다.
도와 주세요!!!!!!!! 의심가는 부분이 있다면...
# /usr/share/awstats/wwwroot/cgi-bin/awstats.pl -update - [했을결우] 아래와 같이 나타납니다. ㅜㅜ]
[root@/usr/share/awstats/wwwroot/cgi-bin/awstats.pl -update -config=Create/Update database for config "/etc/awstats/awstats.conf" by AWStats version 6.9 (build 1.912)
From data in log file "/var/log/httpd/access_log"...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
AWStats did not find any valid log lines that match your LogFormat parameter, in the 50th first non commented lines read of your log.
Your log file /var/log/httpd/access_log must have a bad format or LogFormat parameter setup does not match this format.
Your AWStats LogFormat parameter is:
1
This means each line in your web server log file need to have "combined log format" like this:
111.22.33.44 - - [10/Jan/2001:02:14:14 +0200] "GET / HTTP/1.1" 200 1234 "http://www.fromserver.com/from.htm" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
And this is an example of records AWStats found in your log file (the record number 50 in your log):
66.249.72.79 - - [12/Oct/2008:19:03:29 +0900] "GET /?mid=q3_QandA&page=4&document_srl=1430&sort_index=regdate&order_type=asc HTTP/1.1" 200 9045
Setup ('/etc/awstats/awstats..conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
[root@~]#
DirData="/var/lib/awstats"
/var/lib/awstats --->>> 그리고 폴더안에 파일이 안만들어 집니다.
모든 카운트가.....0으로 만 표시 됩니다...
하루꼬박... 찾아헤맷는데요~~~~ 답이 안나옵니다..
포기상태 입니다.
도와 주세요!!!!!!!! 의심가는 부분이 있다면...
# /usr/share/awstats/wwwroot/cgi-bin/awstats.pl -update - [했을결우] 아래와 같이 나타납니다. ㅜㅜ]
[root@/usr/share/awstats/wwwroot/cgi-bin/awstats.pl -update -config=Create/Update database for config "/etc/awstats/awstats.conf" by AWStats version 6.9 (build 1.912)
From data in log file "/var/log/httpd/access_log"...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
AWStats did not find any valid log lines that match your LogFormat parameter, in the 50th first non commented lines read of your log.
Your log file /var/log/httpd/access_log must have a bad format or LogFormat parameter setup does not match this format.
Your AWStats LogFormat parameter is:
1
This means each line in your web server log file need to have "combined log format" like this:
111.22.33.44 - - [10/Jan/2001:02:14:14 +0200] "GET / HTTP/1.1" 200 1234 "http://www.fromserver.com/from.htm" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
And this is an example of records AWStats found in your log file (the record number 50 in your log):
66.249.72.79 - - [12/Oct/2008:19:03:29 +0900] "GET /?mid=q3_QandA&page=4&document_srl=1430&sort_index=regdate&order_type=asc HTTP/1.1" 200 9045
Setup ('/etc/awstats/awstats..conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
[root@~]#
DirData="/var/lib/awstats"
/var/lib/awstats --->>> 그리고 폴더안에 파일이 안만들어 집니다.
관련자료
-
이전
-
다음
댓글 3
늦둥이님의 댓글
- 늦둥이
- 작성일
해당 디렉토리의 퍼미션을 확인해보셔야 할듯 합니다.
이용석님의 댓글
- 이용석
- 작성일
해결했습니다. ㅜㅜ
옵션설정의 삽질끝에...결국은 해결되는군요!!!! 아 정말!
페도라9 사용자 분들은----->
/etc/awstats/awstats(자신의도메인).conf --->> 파일 옵션 내용줄
logformat=1 --->>> "1"을 "4"로 바꿔주니 되는군요!!!!!!!!
옵션설정의 삽질끝에...결국은 해결되는군요!!!! 아 정말!
페도라9 사용자 분들은----->
/etc/awstats/awstats(자신의도메인).conf --->> 파일 옵션 내용줄
logformat=1 --->>> "1"을 "4"로 바꿔주니 되는군요!!!!!!!!
늦둥이님의 댓글
- 늦둥이
- 작성일
힉..한번 볼래떠니 그세 잠궈놓으셨넹.ㅋ
암튼 해결된거 ㅊㅋ해요~ㅎ
암튼 해결된거 ㅊㅋ해요~ㅎ