• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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