今天刚开始用awstats 分析apache的日志,刚上来就出错了,出现了下面的错误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.app
说明个人分析日志的服务器时间不对,用date一看,还真是不对,服务器的日期比日志的日期还早,因此出现了上面的错误。dom