[quote]
# wwwroot/cgi-bin/awstats.pl -update -config=localhost
Error: AWStats database directory defined in config file by 'DirData' parameter [color=red][b](/var/lib/awstats) does not exist or is not writable[/b][/color].
Setup ('/etc/awstats/awstats.localhost.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
[/quote]
没有权限,刚开始我就奇怪了,这个/etc/awstats/awstats.localhost.conf明明是程序自己创建的怎么可能没有权限,而且我还是root。。
折腾了很久,才发现没有创建/var/lib/awstats...
郁闷。。一般我看错误都只看后面,不看前面的,粗心一直改不了。。。
# wwwroot/cgi-bin/awstats.pl -update -config=localhost
Error: AWStats database directory defined in config file by 'DirData' parameter [color=red][b](/var/lib/awstats) does not exist or is not writable[/b][/color].
Setup ('/etc/awstats/awstats.localhost.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
[/quote]
没有权限,刚开始我就奇怪了,这个/etc/awstats/awstats.localhost.conf明明是程序自己创建的怎么可能没有权限,而且我还是root。。
折腾了很久,才发现没有创建/var/lib/awstats...
郁闷。。一般我看错误都只看后面,不看前面的,粗心一直改不了。。。