AWSTATS errors

Aza

Verified User
Joined
Feb 6, 2013
Messages
25
Location
Washington DC
Installed AWSTATS with the provided scripts using DirectAdmin 1.51.4. AWSTATS is not also running as a plugin.

When accessing AWSTATS the user gets a stream of warnings:

Warning: Can't find language files for "en". English will be used.
Warning: Can't read file "status_http.pm" (status http detection will not work correctly).
Check if file is in "/usr/local/awstats/wwwroot/cgi-bin/lib" directory and is readable.
Warning: Can't read file "search_engines.pm" (search engines detection will not work correctly).
Check if file is in "/usr/local/awstats/wwwroot/cgi-bin/lib" directory and is readable.
Warning: Can't read file "domains.pm" (domains detection will not work correctly).
Check if file is in "/usr/local/awstats/wwwroot/cgi-bin/lib" directory and is readable.
Warning: Can't read file "operating_systems.pm" (operating systems detection will not work correctly).
Check if file is in "/usr/local/awstats/wwwroot/cgi-bin/lib" directory and is readable.
Warning: Can't read file "robots.pm" (robots detection will not work correctly).
Check if file is in "/usr/local/awstats/wwwroot/cgi-bin/lib" directory and is readable.
Warning: Can't read file "browsers.pm" (browsers detection will not work correctly).
Check if file is in "/usr/local/awstats/wwwroot/cgi-bin/lib" directory and is readable.
Warning: Can't read file "mime.pm" (mime detection will not work correctly).
Check if file is in "/usr/local/awstats/wwwroot/cgi-bin/lib" directory and is readable.​

The warnings seem valid. For example, there indeed is no "status_http.pm" file in /usr/local/awstats/wwwroot/

Does anyone know if this is just a cosmetic issue and how the warnings can be turned off -- or is this an issue that must be resolved in another way?

Upgrading DirectAdmin to 1.52000 did not change this problem.

Suggestions for a solution are appreciated. The warnings tend to worry users.

Regards,

Aza D. Oberman
 
Installed AWSTATS with the provided scripts using DirectAdmin 1.51.4. AWSTATS is not also running as a plugin.[cut]

I am not sure wich script you refer to when you say "provided scripts", however you should use custombuild to install AWStats:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build set awstats yes
./build awstats
 
Problem is quite possibly when stats were created

Some months have the errors. Some don't. That suggests that some other factor than AWSTATS caused the errors.

Regards,

Aza
 
Back
Top