|
|
现在的需求是做www.A.com的日志分析 ..
但是担心负载问题, 就把日志定时传到负载比较小的ftp.A.com这台服务器上.
我是个linux新手,现在遇到了很多麻烦,也很认真的google一下,看了车东写的教程,但是天资愚钝,麻烦各位弃书赐教 ...
首先是这一段:
root@ftp:/usr/local/awstats-6.4/wwwroot/cgi-bin# perl awstats.pl -config=www.A.com -update
Update for config "/etc/awstats/awstats.www.A.com.conf"
With data in log file "/log/access.log.20051027"...
Error: Couldn't open server log file "/log/access.log.20051027" : No such file or directory
Setup ('/etc/awstats/awstats.www.A.com.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
LogFile我是这么写的 ..
LogFile="/log/access.log.%YYYY-24%MM-24%DD-24"
是不是因为apache本身的日志是不支持日志分段的?然后要安装cronolog??
我安装以后也不知道怎么用 ... 不是我不去读文档, 时间比较紧 .. 随后一定补上课 ..
我写成LogFile="/log/access.log"可以完成对access.log的分析并生成页面 ..
另外 .. 我生成的网页无法访问应该和什么有关 ????? .... |
|