• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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