Plesk awstats not updating

[bash]# /usr/local/nagios/libexec/check_tcp -H hostname -S -p 995 -D 1 OK – Certificate will expire on 02/26/2011 .# /usr/local/nagios/libexec/check_tcp -H hostname -S -p 465 -D 1 CRITICAL – Certificate expired on 02/09/2010 .

By default, Awstats doesn’t show countries visitors are visiting from, but there is a plugin called Geo IP could do it.

Scheduled tasks, which was a component of Plesk control panel, is a GUI tool for web masters to manage cron job easily and flexibly.

First, install required perl modules (Geo:: IP), take Cent OS for example.

/usr/local/psa/admin/sbin/statistics –calculate-one –domain-name= ————————————————————- * To switch from webalizer to awstats …

/usr/local/psa/admin/sbin/webstatmng –set-configs –stat-prog=awstats –domain-name= ————————————————————- *.. /usr/local/psa/admin/sbin/webstatmng –clean –domain-name= /usr/local/psa/admin/sbin/webstatmng –unset-configs –stat-prog=webalizer –domain-name= /usr/local/psa/admin/sbin/webstatmng –set-configs –stat-prog=webalizer –domain-name= /usr/local/psa/admin/sbin/statistics –calculate-one –domain-name= ————————————————————– * …

Update awstats and you can see the countries information your visitors are visiting from.

plesk awstats not updating-81

Please see the link below to see how to make the bat file.

Then, I had to "apply" empty changes (it doesn't matter if anything actually changed or not) via Plesk's "PHP settings" page so that all the configurations were put together properly and the correct services restarted... I spent two days tracking this ugly bugaboo all because Plesk's "additonal directives" field doesn't work as advertized.

You have to register on parallels website to download any product.

This is generally that the log files are too large, to open/process.

rm -fr /home/httpd/vhosts/*/statistics/logs/*rm -fr /home/httpd/vhosts/*/statistics/logs/*.1 rm -fr /home/httpd/vhosts/*/statistics/logs/*.2 rm -fr /home/httpd/vhosts/*/statistics/logs/*.3 rm -fr /home/httpd/vhosts/*/statistics/logs/*.4 rm -fr /home/httpd/vhosts/*/statistics/logs/*.processed then examine the sizes of all the access logs with ls -l -a /home/httpd/vhosts/*/statistics/logs/access_log =========================================================== /usr/local/psa/admin/sbin/mchk –help Synopsis: mchk [OPTION] –without-spam – restore all settings except for Spam Assassin configuration –with-spam – restore all settings –spam-only – restore only Spam Assassin settings ———————————————————————————————————————————- How to grant all privileges to a mysql user mysql grant all privileges on dbname.* to [email protected] identified by “pass”; …………………………………………………………………………………………………………….

Leave a Reply