[日志] awstats问题????(以解决)

高手请帮忙解决,谢谢!
  我假如启用了两个站点,一个是a.web.com, 另一个是b.web.com,我现在想对这两个站点,我现

在分析这两个日志,原来awstats.a.web.com.conf日志文件的配置信息为:
LogFile="E:\databack\site\a\Log\W3SVC287078791\ex%YY-0%MM-0%DD-0.log"
现在改为:LogFile="E:/databack/site/a/cgi-bin/logresolvemerge.pl

E:/databack/site/a/Log/W3SVC287078791/ex%YY-0%MM-0%DD-0.log

E:/databack/site/b/Log/W3SVC1857510694/ex%YY-0%MM-0%DD-0.log |"
其它的配置参数修改没问题,因为针对"awstats.a.web.com.conf"更新时没问题,可以升级.但是改

成上面那样就不能升级了, E:\databack\site\a\cgi-bin>perl awstats.pl -config=a.web.com

-lang=cn

就出现以下错误提示:
Update for config "./awstats.a.web.com.conf"
With data in log file "E:/databack/site/a/cgi-bin/logresolvemerge.pl E:/dat
aback/site/a/Log/W3SVC287078791/ex070423.log E:/databack/site/b/Log/W3S
VC1857510694/ex070423.log |"...
Phase 1 : First bypass old records, searching new record...
Direct access to last remembered record has fallen on another record.
So 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 E:/databack/site/a/cgi-bin/logresolvemerge.pl E:/databack/sit
e/a/Log/W3SVC287078791/ex070423.log E:/databack/site/b/Log/W3SVC1857510
694/ex070423.log | must have a bad format or LogFormat parameter setup does not
match this format.
Your AWStats LogFormat parameter is:
2
This means each line in your web server log file need to have "MSIE Extended W3C
log format" like this:
date time c-ip c-username cs-method cs-uri-sterm sc-status sc-bytes cs-version c
s(User-Agent) cs(Referer)
And this is an example of records AWStats found in your log file (the record num
ber 50 in your log):
2007-04-22 16:00:02 GET /images/hotflash_top_right.gif - 124.114.179.106 HTTP/1.
1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1) http://b.web.com/C
ategory.aspx?CategoryID=19 200 1459
Setup ('./awstats.a.web.com.conf' file, web server or permissions) may be w
rong.
Check config file, permissions and AWStats documentation (in 'docs' directory).

请高手帮忙指教,我是在IIS,windows 2003环境下的配置
高手请帮忙解决,谢谢!
  我假如启用了两个站点,一个是a.web.com, 另一个是b.web.com,我现在想对这两个站点,我现

在分析这两个日志,原来awstats.a.web.com.conf日志文件的配置信息为:
LogFile="E:\databack\site\a\Log\W3SVC287078791\ex%YY-0%MM-0%DD-0.log"
现在改为:LogFile="E:/databack/site/a/cgi-bin/logresolvemerge.pl

E:/databack/site/a/Log/W3SVC287078791/ex%YY-0%MM-0%DD-0.log

E:/databack/site/b/Log/W3SVC1857510694/ex%YY-0%MM-0%DD-0.log |"
其它的配置参数修改没问题,因为针对"awstats.a.web.com.conf"更新时没问题,可以升级.但是改

成上面那样就不能升级了, E:\databack\site\a\cgi-bin>perl awstats.pl -config=a.web.com

-lang=cn

就出现以下错误提示:
Update for config "./awstats.a.web.com.conf"
With data in log file "E:/databack/site/a/cgi-bin/logresolvemerge.pl E:/dat
aback/site/a/Log/W3SVC287078791/ex070423.log E:/databack/site/b/Log/W3S
VC1857510694/ex070423.log |"...
Phase 1 : First bypass old records, searching new record...
Direct access to last remembered record has fallen on another record.
So 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 E:/databack/site/a/cgi-bin/logresolvemerge.pl E:/databack/sit
e/a/Log/W3SVC287078791/ex070423.log E:/databack/site/b/Log/W3SVC1857510
694/ex070423.log | must have a bad format or LogFormat parameter setup does not
match this format.
Your AWStats LogFormat parameter is:
2
This means each line in your web server log file need to have "MSIE Extended W3C
log format" like this:
date time c-ip c-username cs-method cs-uri-sterm sc-status sc-bytes cs-version c
s(User-Agent) cs(Referer)
And this is an example of records AWStats found in your log file (the record num
ber 50 in your log):
2007-04-22 16:00:02 GET /images/hotflash_top_right.gif - 124.114.179.106 HTTP/1.
1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1) http://b.web.com/C
ategory.aspx?CategoryID=19 200 1459
Setup ('./awstats.a.web.com.conf' file, web server or permissions) may be w
rong.
Check config file, permissions and AWStats documentation (in 'docs' directory).

请高手帮忙指教,我是在IIS,windows 2003环境下的配置
我看提示说是Log格式的问题,但我针对一个日志文件更新却没问题,能更新成功和查

看日志统计,一旦把LogFile="E:\databack\site\artlib\Log\W3SVC287078791\ex%YY-0%MM-0%DD-0.log"
改成为:
LogFile="E:/databack/site/artlib/cgi-bin/logresolvemerge.pl E:/databack/site/artlib/Log/W3SVC287078791/ex%YY-0%MM-0%DD-0.log E:\databack\site\news\Log\W3SVC277230576\ex%YY-0%MM-0%DD-0.log |"

就报下列错误:
Update for config "./awstats.artlib.web.com.conf"
With data in log file "E:/databack/site/artlib/cgi-bin/logresolvemerge.pl E:/dat
aback/site/artlib/Log/W3SVC287078791/ex070423.log E:/databack/site/news/Log/W3S
VC1857510694/ex070423.log |"...
Phase 1 : First bypass old records, searching new record...
Direct access to last remembered record has fallen on another record.
So 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 E:/databack/site/artlib/cgi-bin/logresolvemerge.pl E:/databack/sit
e/artlib/Log/W3SVC287078791/ex070423.log E:/databack/site/news/Log/W3SVC1857510
694/ex070423.log | must have a bad format or LogFormat parameter setup does not
match this format.
Your AWStats LogFormat parameter is:
2
This means each line in your web server log file need to have "MSIE Extended W3C
log format" like this:
date time c-ip c-username cs-method cs-uri-sterm sc-status sc-bytes cs-version c
s(User-Agent) cs(Referer)
And this is an example of records AWStats found in your log file (the record num
ber 50 in your log):
2007-04-22 16:00:02 GET /images/hotflash_top_right.gif - 124.114.179.106 HTTP/1.
1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1) http://artlib.web.com/C
ategory.aspx?CategoryID=19 200 1459
Setup ('./awstats.artlib.web.com.conf' file, web server or permissions) may be w
rong.
Check config file, permissions and AWStats documentation (in 'docs' directory).

请问还需要设置什么?单个站点配置都是没问题的


QUOTE:
原帖由 justin_hua 于 2007-4-23 14:42 发表
我看提示说是Log格式的问题,但我针对一个日志文件更新却没问题,能更新成功和查

看日志统计,一旦把LogFile="E:\databack\site\artlib\Log\W3SVC287078791\ex%YY-0%MM-0%DD-0.log"
改成为:
Log ...

你的回复了,win32系统通常不可直接执行pl脚本