![]() ![]() Use Time::Local # use Time::Local 'timelocal_nocheck' is faster but not supported by all Time::Local modules The awstats database, which is really a collection of text files, needs to be created/updated before any statistics can be viewed. #use diagnostics # Must be used in test mode only. #use warnings # Must be used in test mode only. Changes since 6.7 6.9 New features/improvements: - With postfix that support DSN (Delivery Status Notifications) we exclude some lines to avoid counting mails twice in script. Databasebreakday mean: summary file will create in daily basis: each day will have it own summary file :. what are the permissions on, as which user are you executing it and so on at 9:16 Ah I think you hit the nail on the head there. You can do it manually by adding the following command to your cron: /usr/local/awstats/Or if you have several config files and prefer having only one command: /usr/local/awstats/tools/ now Press ENTER to continue. It's mean: each month will have it own summary file : . Josh Mountain 123 1 7 You should show more details. # $Revision: 1.44 $ - $Author: eldy $ - $Date: 7 09:22:48 $ Awstats read log file and create summary text file in monthly basis by default. # See COPYING.TXT file about AWStats GNU General Public License. ![]() ![]() Lrwxrwxrwx 1 root root 11 Jun 26 22:57 awstats -> awstats-7.# Launch awstats with -staticlinks option to build all static pages. ![]() Just confirm scripts]# ll /usr/share/cagefs-skeleton/usr/local usr/sbin/cagefsctl -force-updatewhich should copy everything over to the cagefs-skeleton/usr/local path. 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 : The first step was just to install AWStats on Ubuntu using these apt commands (note: the last 2 are only needed if you want to track stats by country): sudo aptitude. The only output I get from awstats is from the Monthly History section. usr/share/cagefs-skeleton/usr/local/To get around that, edit: I'm trying to analyze these with awstats with the following Logformat in my awstats config file: LogFormat'\'hostr\' host logname logname time1 methodurl code bytesd refererquot uaquot'. It can also call HTMLDOC to convert generated reports to PDF. 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 is used to create multiple static reports by multiple calls to. awstats_process.sh user Ĭonversion not required. The second is offline mode, in which AWStats analyzes data and creates static reports as HTML pages publishable via any standard Web server. Some years ago I used awstats to create static html pages with a commandline like that: perl -configmyconfiga -dirC:tempreports -buildpdf. When used in online mode, AWStats updates its reports on request. If your awstats are not working with CageFS and you're getting an error like this when testing it scripts]#. The first is interactive, or online, mode. ![]()
0 Comments
Leave a Reply. |