hello. i run this and... # awstats.pl --update --config="host.ru" Warning: Can't read file "search_engines.pm" (search engines detection will not work correctly). Check if file is in "/usr/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/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/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/bin/lib" directory and is readable. Create/Update database for config "/etc/awstats/awstats.host.ru.conf" by AWStats version 6.9 (build 1.925) From data in log file "/var/log/apache-access.log"... Phase 1 : First bypass old records, searching new record... Direct access after last parsed record (after line 23043) Jumped lines in file: 23043 Found 23043 already parsed records. Parsed lines in file: 9 Found 0 dropped records, Found 0 corrupted records, Found 0 old records, Found 9 new qualified records. stat64("/usr/bin/lib/robots.pm", 0x8149380) = -1 ENOENT (No such file or directory) stat64("/usr/share/awstats/lib/robots.pm", 0x8149380) = -1 ENOENT (No such file or directory) write(1, "Warning: Can't read file \"robots."..., 143) = 143 # equery f awstats | egrep 'search_engines.pm|operating_systems.pm|browsers.pm' /usr/share/webapps/awstats/6.9/hostroot/cgi-bin/lib/browsers.pm /usr/share/webapps/awstats/6.9/hostroot/cgi-bin/lib/operating_systems.pm /usr/share/webapps/awstats/6.9/hostroot/cgi-bin/lib/search_engines.pm # eix awstats [I] net-www/awstats Available versions: 6.9!m {apache2 geoip vhosts} Installed versions: 6.9!m(23:08:44 12/07/08)(apache2 geoip vhosts) Passible i am mistake, but don't find DirConfig to browsers, operating_systems and search_engines. Excuse me for my english. Reproducible: Always
anybody here?
I'm having the same problem here. The reason seems to be that /usr/bin/awstats.pl is just a symlink to /usr/share/webapps/awstats/6.9/hostroot/cgi-bin/awstats.pl and awstats.pl wants to read the relative directory lib/ which of course doesn't exist in /usr/bin/ or at least doesn't contain the files it's looking for. For now, it works to use the absolute path to /usr/share/webapps/awstats/6.9/hostroot/cgi-bin/awstats.pl or maybe $(readlink -f $(which awstats.pl)) --update --config=...
fixed in 6.9-r1 thanks