Cannot login to Plesk: "Permission denied Hierarchical.php"

Created:

2016-11-16 12:56:31 UTC

Modified:

2017-04-24 11:32:38 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot login to Plesk: "Permission denied Hierarchical.php"

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

  • After logging in to Plesk, the following error is shown:

    Error message or request description : Message  Permission denied
    File Hierarchical.php
    Line 105
    Type Exception
  • also the following error might be shown:

    ERROR: Exception Permission denied
  • two core packages are installed on the server:

    # rpm -qa | grep plesk-core
    plesk-core-11.5.30-cos6.build115130819.13.x86_64
    plesk-core-12.0.18-cos6.build1200140606.15.x86_64

Cause

This is a result of failed Plesk upgrade: plesk-core package is not installed properly or two plesk-core versions are installed.

Resolution

  1. If two core packages are installed on the server:

    1.1 Remove both packages as below:

    # rpm -e plesk-core-12.0.18-cos6.build1200140606.15.x86_64 --nodeps --noscripts
    # rpm -e plesk-core-11.5.30-cos6.build115130819.13.x86_64 --nodeps --noscripts
    # rpm -e --nodeps --justdb --noscripts plesk-core

    1.2 Reinstall plesk-core through autoinstaller:

    # /usr/local/psa/admin/bin/autoinstaller

    Please select the components of Parallels Plesk Panel you want to install:

    1. [=] Base packages of Parallels Plesk Panel
    2. [ ] Parallels Plesk Panel <<<----------- select to install Plesk.
    3. [=] BIND DNS server support
    4. [=] Plesk Updater
    5. [ ] PostgreSQL server support
    6. [=] Plesk migration manager
    7. [=] Health monitor
  2. If only 1 core package is installed on the server:

    2.1 Download plesk-core package for same version from Plesk installer URL like:

    http://autoinstall.plesk.com/PSA_12.0.18/dist-rpm-CentOS-6-x86_64/base/

    2.2 Update the package using the command below:

    rpm -Uvh http://autoinstall.plesk.com/PSA_12.0.18/dist-rpm-CentOS-6-x86_64/base/plesk-core-12.0.18-cos6.build1200140606.15.x86_64.rpm --force
Have more questions? Submit a request
Please sign in to leave a comment.