• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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