Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250215 - net-www/awstats-6.9 search *.pm files
Summary: net-www/awstats-6.9 search *.pm files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-07 22:11 UTC by calculator
Modified: 2009-01-24 10:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description calculator 2008-12-07 22:11:13 UTC
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
Comment 1 calculator 2008-12-10 09:05:35 UTC
anybody here?
Comment 2 Ronny Multrus 2009-01-22 08:19:28 UTC
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=...
Comment 3 Benedikt Böhm (RETIRED) gentoo-dev 2009-01-24 10:51:17 UTC
fixed in 6.9-r1 thanks