sher 发表于 2019-1-30 08:08:06

Awstats基于日志的站点统计系统的构建

  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 /usr/local/httpd/logs/dummy-host.fish.tac.idv.tw.com-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 - - "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):
  210.67.35.102 - - "GET /image/image4.jpg HTTP/1.1" 304 -
  Setup ('/usr/local/awstats/wwwroot/cgi-bin/awstats.x.x.x.conf' file, web server or permissions) may be wrong.
  Check config file, permissions and AWStats documentation (in 'docs' directory).
  如果出现上面错误,说明你的apache

页: [1]
查看完整版本: Awstats基于日志的站点统计系统的构建