Article ID: 1726, created on Mar 6, 2007, last review on May 11, 2014

  • Applies to:
  • Plesk for Linux/Unix


The following error occurs during domain deleting in Plesk CP:


ERROR: PleskUtilException webstatmng is failed --unset-config --domain-name=domain.tld --stat-prog=


or during domain page accessing:


Error: Unable to update hosting preferences: hosting update is failed: webstatmng is failed --unset-config --stat-prog=


This error means that incorrect value was specified in the 'webstat' field of the 'hosting' table in 'psa' database.


The 'webstat' field can be set to 'none','webalizer' or 'awstats' values. To solve this problem, update 'webstat' field in '' table for the problem 'DOMAIN' with the query like:
mysql -Ns -uadmin -p`cat /etc/psa/.psa.shadow` psa -e 'update domains d, hosting h set h.webstat="none" where and"DOMAIN"'

Note, "DOMAIN" should be replaced with the real domain name.

Note, if you use MySQL 3.x, the query should be spilt in two:

select id from domains where name="DOMAIN";
update hosting set webstat="none" where dom_id="DOMAIN_ID";

Where DOMAIN_ID is the number that you get after the first query.

Backup domains statistics directory (HTTPD_VHOSTS_D/DOMAIN/statistics/).

After that you will be able to delete domain or access it through Plesk CP and manage webstat on the domain's hosting setup page.

29d1e90fd304f01e6420fbe60f66f838 a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF