http://centossrv.com/awstats.shtml
このサイトを見ながら設定を進めているのですが、
http://Webサーバー名/awstats/awstats.pl
このurlにアクセスすると、
Error: Couldn't open config file "awstats.192.168.0.3.conf" nor "awstats.conf" after searching in path "/var/www/awstats,/etc/awstats,/usr/local/etc/awstats,/etc,/etc/opt/awstats": No such file or directory
- Did you use the correct URL ?
Example: http://localhost/awstats/awstats.pl?config=mysite
Example: http://127.0.0.1/cgi-bin/awstats.pl?config=mysite
- Did you create your config file 'awstats.192.168.0.3.conf' ?
If not, you can run "awstats_configure.pl" from command line, or create it manually.
Check config file, permissions and AWStats documentation (in 'docs' directory).
このようなエラーになります。
また、
http://Webサーバー名/awstatsreport/
にアクセスすると、
String found where operator expected at /var/www/awstats/lib/search_engines.pm line 194, near "'google\.co\.jp'"
(Missing semicolon on previous line?)
String found where operator expected at /var/www/awstats/lib/search_engines.pm line 401, near "'infoseek\.co\.jp'"
(Missing semicolon on previous line?)
String found where operator expected at /var/www/awstats/lib/search_engines.pm line 676, near "'google\.co\.jp'"
(Missing semicolon on previous line?)
String found where operator expected at /var/www/awstats/lib/search_engines.pm line 920, near "'googlejapan'"
(Missing semicolon on previous line?)
String found where operato7itjyr expected at /var/www/awstats/lib/search_engines.pm line 1173, near "'googlejapan'"
(Missing semicolon on previous line?)
syntax error at /var/www/awstats/lib/search_engines.pm line 194, near "'google\.co\.jp'"
syntax error at /var/www/awstats/lib/search_engines.pm line 401, near "'infoseek\.co\.jp'"
syntax error at /var/www/awstats/lib/search_engines.pm line 676, near "'google\.co\.jp'"
syntax error at /var/www/awstats/lib/search_engines.pm line 920, near "'googlejapan'"
syntax error at /var/www/awstats/lib/search_engines.pm line 1173, near "'googlejapan'"
Compilation failed in require at /var/www/awstats/awstats.pl line 2092.
というエラーになります。
どのようにすれば解決できるでしょうか。また、いつも思うのですが、このようなエラーに遭遇したときにはどのように解決すればいいのでしょうか?googleなどで検索しようにもどのようなワードで検索すればいいのかすらわかりません。