xiaoyu28 发表于 2018-11-24 09:24:14

awstats 分析apache日志出错

  今天刚开始用awstats 分析apache的日志,刚上来就出错了,出现了下面的错误
  

  
WARNING: LastLine parameter in history file is '20130608034136' so in future. May be you need to correct manually the line LastLine in some awstats*.domain.com .conf files.  

  本来是分析20130608一天数据的,可是出现错误以后,就从3点41分36秒断了,后面的数据都没有出现,这是为什么呢?找baidu,不行,更本没有什么有用的信息,还是用谷歌吧。在谷歌中找到下面的一句话
  It usually happens because the server time was re-set to an earlier time. The log files it is seeing are time stamped in the future.
  

  说明我的分析日志的服务器时间不对,用date一看,还真是不对,服务器的日期比日志的日期还早,所以出现了上面的错误。
  




页: [1]
查看完整版本: awstats 分析apache日志出错