• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

AWStats: How to Disable Globally in Plesk 11

TMCent1

New Pleskian
Plesk 11 seem to be overwhelming server when AWStats is running compilation. I need to turn it off globally, but easily have the option of turning it back on (I've seen links to disable on a per domain or a global script to turn off, but need to be able to turn back on easily) Can anyone tell me the UI / service / config to do this? TIA!
 
You could completely remove awstats package from your server

Not sure because of dependences:

# rpm -e --test awstats
error: Failed dependencies:
awstats >= 6.8 is needed by (installed) plesk-web-hosting-11.5.30-cos5.build115130715.19.i386

I suggest to use following script which will disable Awstats for all domains:

# for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do /usr/local/psa/admin/bin/webstatmng --unset-configs --stat-prog=awstats --domain-name=$i; done
 
I suggest use this:
for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do plesk bin domain --update $i -webstat none; done
because webstatmng only delete config and does not disable awstat for domain
 
Back
Top