> login on stat web page (my page is in french, I've translated it) > #- Test from scratch WRONG PERMISSIONS. > AllowToUpdateStatsFromBrowser=0 -> AllowToUpdateStatsFromBrowser=1 Running '"/usr/share/awstats/by AWStats version 7.0 (build 1.971)ĭirect access after last parsed record (after line 1932) Phase 2 : Now process new records (Flush history on disk after 20000 hosts). Searching new records from beginning of log file. Phase 1 : First bypass old records, searching new record. Running '"/usr/share/awstats/-configdir="/etc/awstats"' to update config localhost.localdomainĬreate/Update database for config "/etc/awstats/" by AWStats version 7.0 (build 1.971)įrom data in log file "/var/log/httpd/access_log". SetEnv PERL5LIB /usr/share/awstats/lib:/usr/share/awstats/plugins ScriptAlias /awstats/ "/usr/share/awstats/wwwroot/cgi-bin/" > Something is probably messed up with the cron script.Įxec /usr/share/awstats/tools/awstats_ now -configdir="/etc/awstats" -awstatsprog="/usr/share/awstats/wwwroot/cgi-bin/" >/dev/nullĪlias /awstatsclasses "/usr/share/awstats/wwwroot/classes/"Īlias /awstatscss "/usr/share/awstats/wwwroot/css/"Īlias /awstatsicons "/usr/share/awstats/wwwroot/icon/" ![]() If I click again on the update now button, the changes are taken into account. I DO NOT SEE ANY changes in the awstat webpage I get no errors with the update script (full log below) usr/share/awstats/tools/awstats_ now -configdir="/etc/awstats" -awstatsprog="/usr/share/awstats/wwwroot/cgi-bin/" This error happens because awstats is runed by apache, while /var/lib/awstats/ is owned by root.Īn easy fix (that may have been done with the package install is) : Setup ('/etc/awstats/' file, web server or permissions) may be wrong.Ĭheck config file, permissions and AWStats documentation (in 'docs' directory). > click on `` Mise à jour immédiate'' (update now)Įrror: Couldn't open file "/var/lib/awstats/.1951" for write: Permission denied Last update : Never updated(See 'Build/Update', page awstats_setup.html) Login on stat web page (my page is in french, I've translated it)ĭernière mise à jour: Jamais mis à jour (Voir 'Build/Update', page awstats_setup.html) HostAliases="REGEX" -> HostAliases="REGEX "ĪllowFullYearView=2 -> AllowFullYearView=3ĪllowToUpdateStatsFromBrowser=0 -> AllowToUpdateStatsFromBrowser=1 SiteDomain="tentacule" -> SiteDomain="tentacule.be" The file /etc/awstats/ was magickly created by the installation Nano /etc/httpd/conf.d/nf (see detail below) I've tryed to reconfigure everything from scratch, and I can still reproduce the bug, here is a full list of what I've done. ![]() Perl tools/awstats_ -dir=stats -output=pagetype -config=brand -awstatsprog=wwwroot/cgi-bin/awstats.What do you exactly means by ``configuration''? ![]() Perl tools/awstats_ -configdir=wwwroot/cgi-bin -awstatsprog=wwwroot/cgi-bin/ now My generation script looks like this: rm stats/*.txtĬat access_log | grep brand > brand_access_log ![]() The only output I get from awstats is from the Monthly History section. LogFormat="\"%host_r\" %host %logname %logname %time1 %methodurl %code %bytesd %refererquot %uaquot" I'm trying to analyze these with awstats with the following Logformat in my awstats config file: NET CLR )"ġ0 items in the log format, 10 items in the log. I have a custom log file format in Apache like so: "\"%i\""Ī line from my log file looks like this: "" 176.32.1.18 - "GET /Product/lookup HTTP/1.1" 200 5585 "" "Mozilla/4.0 (compatible MSIE 7.0 Windows NT 5.1 InfoPath.1. Since the file can be so huge, I have a script that greps out each subdomain into its own file. I have a site with several subdomains, all subdomains are logged to the same access_log file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |