Cannot activate domain: "Turn on domain failed"

Created:

2016-11-16 13:18:37 UTC

Modified:

2017-08-16 15:51:35 UTC

3

Was this article helpful?


Have more questions?

Submit a request

Cannot activate domain: "Turn on domain failed"

Applicable to:

  • Plesk for Linux
  • Plesk 12.5 for Windows

Symptoms

Domain example.com is listed as inactive in the domains list. Unable to activate the domain:

     An error occurred during domain update: Turn on domain failed

Cause

Database inconsistency

Resolution

Set the "active" status for the domain in the Plesk database.

To access the Plesk database, use the following command:

# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin psa

Retrieve the current domain status and make sure that the query returns one row:

mysql> select name, status from domains where name='example.com';
+--------------------+--------+
| name | status |
+--------------------+--------+
| example.com | 16 |
+--------------------+--------+

To activate the domain, set status as follows:

mysql> update domains set status=0 where name='example.com';

Then de-activate and activate domain anew in Domains menu

Have more questions? Submit a request
Please sign in to leave a comment.