Summary: | www-misc/awstats-7.0_p20101205-r3 moved out of webapp-config, broken symlinks in /usr/bin | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rob MacKenzie <rmackenzie> |
Component: | Current packages | Assignee: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | bugs, stef+genbug, toffanin.mauro, web-apps |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Testcase, fresh install on fairly stock server
emerge --info from fresh server. |
Description
Rob MacKenzie
2011-02-04 19:56:13 UTC
I cannot reproduce this, can you please try without mucking up the files, and report what it does? Created attachment 261536 [details]
Testcase, fresh install on fairly stock server
Here is a test on a fresh server, never had awstats before.
Thanks. Can you also please add an emerge --info? I can't reproduce on my production server (which is usually the guinea pig for awstats), but will set up a VM now to see if I can reproduce it. Created attachment 261537 [details]
emerge --info from fresh server.
(In reply to comment #3) > Thanks. Can you also please add an emerge --info? I can't reproduce on my > production server (which is usually the guinea pig for awstats), but will set > up a VM now to see if I can reproduce it. I looked a little further into other servers. In previous versions there were symlinks that allowed the stock awstats.pl to work. These are removed with the new version. # ls -l /usr/share/awstats/ total 12 lrwxrwxrwx 1 root root 47 Dec 3 22:55 htdocs -> /usr/share/webapps/awstats/7.0_p20100929/htdocs lrwxrwxrwx 1 root root 62 Dec 3 22:55 lang -> /usr/share/webapps/awstats/7.0_p20100929/hostroot/cgi-bin/lang lrwxrwxrwx 1 root root 61 Dec 3 22:55 lib -> /usr/share/webapps/awstats/7.0_p20100929/hostroot/cgi-bin/lib lrwxrwxrwx 1 root root 65 Dec 3 22:55 plugins -> /usr/share/webapps/awstats/7.0_p20100929/hostroot/cgi-bin/plugins as awstats.pl searches lib dir in "$DIR/lib" and "/usr/share/awstats/lib" (where $DIR will be "/usr/bin" in our case) i suggest to add dosym wwwroot/cgi-bin/lib usr/share/awstats/lib || die in src_install() this solved the problem on my server same problem here ... stock install of www-misc/awstats-7.0_p20101205-r3 (i.e. no upgrade) *** without symlink /usr/share/awstats/lib => /usr/share/awstats/wwwroot/cgi-bin/lib claudine logs # awstats.pl --help 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. Warning: Can't read file "domains.pm" (domains 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 "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 "worms.pm" (worms detection will not work correctly). Check if file is in "/usr/bin/lib" directory and is readable. ----- awstats 7.0 (build 1.971) (c) 2000-2010 Laurent Destailleur ----- AWStats is a free web server logfile analyzer to show you advanced web statistics. AWStats comes with ABSOLUTELY NO WARRANTY. It's a free software distributed with a GNU General Public License (See LICENSE file for details). Syntax: awstats.pl -config=virtualhostname [options] (... cut for readability ...) 0 domains/countries 0 robots 0 worm's families 0 operating systems 0 browsersWarning: Can't read file "browsers_phone.pm" (browsers phone detection will not work correctly). Check if file is in "/usr/bin/lib" directory and is readable. (0 with phone browsers database) 0 search engines (and keyphrases/keywords used from them) All HTTP errors with last referrer Report by day/month/year Dynamic or static HTML or XHTML reports, static PDF reports Indexed text or XML monthly database And a lot of other advanced features and options... New versions and FAQ at http://awstats.sourceforge.net claudine logs # *** with symlink /usr/share/awstats/lib => /usr/share/awstats/wwwroot/cgi-bin/lib localhost logs # awstats.pl --help ----- awstats 7.0 (build 1.971) (c) 2000-2010 Laurent Destailleur ----- AWStats is a free web server logfile analyzer to show you advanced web statistics. AWStats comes with ABSOLUTELY NO WARRANTY. It's a free software distributed with a GNU General Public License (See LICENSE file for details). Syntax: awstats.pl -config=virtualhostname [options] (... cut for readability ...) 274 domains/countries 643 robots 5 worm's families 72 operating systems 208 browsers (592 with phone browsers database) 228 search engines (and keyphrases/keywords used from them) All HTTP errors with last referrer Report by day/month/year Dynamic or static HTML or XHTML reports, static PDF reports Indexed text or XML monthly database And a lot of other advanced features and options... New versions and FAQ at http://awstats.sourceforge.net Sorry for this coming so late but it's fixed as of 7.1-r1. Despite the fixes for www-misc/awstats-7.0 and www-misc/awstats-7.1 I have the same exact problem when invoking the command "awstats_updateall.pl now": Warning: Can't read file "search_engines.pm" (search engines detection will not work correctly). Check if file is in "/usr/share/awstats/wwwroot/lib" directory and is readable. Warning: Can't read file "worms.pm" (worms detection will not work correctly). Check if file is in "/usr/share/awstats/wwwroot/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/share/awstats/wwwroot/lib" directory and is readable. Warning: Can't read file "robots.pm" (robots detection will not work correctly). Check if file is in "/usr/share/awstats/wwwroot/lib" directory and is readable. Warning: Can't read file "browsers.pm" (browsers detection will not work correctly). Check if file is in "/usr/share/awstats/wwwroot/lib" directory and is readable. Warning: Can't read file "mime.pm" (mime detection will not work correctly). Check if file is in "/usr/share/awstats/wwwroot/lib" directory and is readable. qfile search_engines.pm worms.pm operating_systems.pm robots.pm browsers.pm mime.pm www-misc/awstats (/usr/share/awstats/wwwroot/cgi-bin/lib/operating_systems.pm) www-misc/awstats (/usr/share/awstats/wwwroot/cgi-bin/lib/worms.pm) www-misc/awstats (/usr/share/awstats/wwwroot/cgi-bin/lib/mime.pm) www-misc/awstats (/usr/share/awstats/wwwroot/cgi-bin/lib/search_engines.pm) www-misc/awstats (/usr/share/awstats/wwwroot/cgi-bin/lib/robots.pm) www-misc/awstats (/usr/share/awstats/wwwroot/cgi-bin/lib/browsers.pm) clearly the hardcoded path "/usr/share/awstats/wwwroot/lib" is missing a "cgi-bin". |