Webalizer停止以生成统计信息。
当我尝试检查数据库时,我看到:
# webalizer --db-info
Stone Steps Webalizer v3.10.2.5 (Linux 4.6.4-grsec-zfs+)
Using database /home/www/1/statystyka/webalizer.db
Reading history file... /home/www/1/statystyka/webalizer.hist
Cannot find the last URL (ID: 752154) of an active visit (ID: 3)
Saving history information...当我在其他网站上这样做时,我看到:
# webalizer --db-info
Stone Steps Webalizer v3.10.2.5 (Linux 4.6.4-grsec-zfs+)
Using database /home/www/2/statystyka/webalizer.db
Reading history file... /home/www/2/statystyka/webalizer.hist
Creating output in /home/www/2/statystyka
Database : /home/www/2/statystyka/webalizer.db
Created by : 3.10.2.5
Last updated by : 3.10.2.5
First day : 2017/12/01
Log time : 2017/12/27 01:18:15
Active visits : 2
Active downloads: 0
Incremental : yes
Batch : no
Maintenance time is 0.00 seconds
Total run time is 0.00 seconds
Saving history information...我试图运行webalizer --end-month,但失败了。
如何解决这个问题?
发布于 2017-12-29 20:39:35
我的解决办法是:
在损坏前从备份中获取webalizer数据库,并使用日志重建数据库:
/usr/local/sbin/webalizer -c /etc/webalizer/webalizer-1.conf -q -T /var/log/apache/1.access.loghttps://stackoverflow.com/questions/48004833
复制相似问题