![]() ![]() Lrwxrwxrwx 1 root root 11 Jun 26 22:57 awstats -> awstats-7. Now I hoped to just copy over the old awstats data files and re-genarate the static pages to be included by /stats/index.php But is keeps only showing the current month in the 'Jump to previous stats:' selection. Just confirm scripts]# ll /usr/share/cagefs-skeleton/usr/local Justin Albstmeijer Member Hi, I moved a website to an ispconfig3 based setup. My only problem is, that I canât resolve, how can I add this feature for a domain, created with Virtualmin. Because the virtualmin plugin didnât contained it (or just I couldnât find it), I already copied from another server. usr/sbin/cagefsctl -force-updatewhich should copy everything over to the cagefs-skeleton/usr/local path. Dear Sirs Iâve been using awstats for a time, with one of itâs tools, called. Paths=/usr/local/awstats/, /usr/local/ awstats-7.7/, /usr/local/awstats, /usr/local/php.where the bold bits are new. ![]() etc/cagefs/conf.d/directadmin.cfgand add 2 values, so beginning of the line looks like this, assuming : usr/share/cagefs-skeleton/usr/local/To get around that, edit: Continuing normallyĬan't open perl script "/usr/local/awstats/tools/awstats_": No such file or directoryĬ likely means the data has not been copied over to the skeleton folder in ![]() ![]() awstats_process.sh user Ĭonversion not required. I've checked everything I can think of here, shy of diving into the perl code.If your awstats are not working with CageFS and you're getting an error like this when testing it scripts]#. It seems related to this question, but there's no accepted solution there (and the suggestions didn't help either). It's just the web interface that's broken. Oddly enough, the awstats_ command will generate reports that contain all the expected data. Contrariwise, if the user needs specific reports, then the usage of with the option -output should be.This script produces all the pages, like your script, but also can produce pdf files for the reports. This is running on a RHEL server, and SELinux is not enforcing. This describes how to produce the static HTML pages by using the included Perl script.There are log entries from several virtual hosts in the log file, but the SiteDomain="and the HostAliases=" 127.0.0.1 localhost".The DirData is /usr/local/awstats/I changed this from /var/lib/awstats to be sure it was readable by the webserver user (and I verified that it is, by making the data files temporarily accessible via web browser).The configuration file is in /etc/awstats/awstats.It started with some ideas from this post and I also gleaned some useful ideas from this help item. We wanted to generate pages for all months we had history. AWStats is in /usr/local/awstats (with tools and wwwroot directories inside). AWStats comes with a utility called to generate static pages, but it only does the most recent monthâs data by default.Phase 1 : First bypass old records, searching new record.Äirect access after last parsed record (after line 566848)įlush history file on disk (unique hosts reach flush limit of 20000) Output from an update run looks like: $ sudo /usr/local/awstats/-configdir=/etc/awstats/Ĭreate/Update database for config "/etc/awstats/ AWStats version 7.3 (build 20140126)įrom data in log file "/var/log/httpd/access_log". I recently installed awstats 7.3, but Im having trouble viewing reports through its web interface. However, I am able to generate static reports with valid data using the awstats_ command. The web interface shows "Never updated" and all the data is empty and/or zeros. I recently installed awstats 7.3, but I'm having trouble viewing reports through its web interface. ![]()
0 Comments
Leave a Reply. |