Unable to open Websites & Domains tab: Permission denied

Created:

2016-11-16 12:57:34 UTC

Modified:

2017-07-14 11:18:53 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to open Websites & Domains tab: Permission denied

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Symptoms :

Unable to open Websites & Domains tab of 'example.com' subscription, the following error appears:

Warning: Permission denied

Cause

Database inconsistency.

Resolution

  1. Create psa database backup according to article KB213904125
  2. Access psa database and check whether there is a database inconsistency:

    mysql> SELECT id, name, cl_id, webspace_id, parentDomainId FROM domains WHERE name LIKE '%example.com%';
    +------+----------------------+-------+-------------+----------------+
    | id | name | cl_id | webspace_id | parentDomainId |
    +------+----------------------+-------+-------------+----------------+
    | 719 | example.com | 395 | 0 | 0 |
    | 1075 | subdom1.example.com | 500 | 719 | 719 |
    | 1165 | subdom2.example.com | 395 | 719 | 0 |
    +------+----------------------+-------+-------------+----------------+

    All subdomains should have 'parentDomainId' equal to 'id' of main domain.

    'cl_id' should be the same for domain and its subdomains.

  3. Fix database inconsistency:

    mysql> UPDATE domains SET cl_id=395 WHERE id=1075;
    mysql> UPDATE domains SET parentDomainId=719 WHERE id=1165;
Have more questions? Submit a request
Please sign in to leave a comment.