Article ID: 122077, created on Jun 19, 2014, last review on Oct 9, 2016

  • Applies to:
  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Windows


After upgrading to Plesk 12, it is not possible to access certain areas of the panel. The "Permission denied" error appears.

The following error can be found in /var/log/plesk/panel.log

    Exception: Permission denied 
    file: /opt/psa/admin/plib/Lock/Manager/Hierarchical.php 
    line: 105
    code: 0
    trace: #0 /opt/psa/admin/plib/Lock/Manager/Hierarchical.php(105): LockManagerClient->__construct()
    #1 /opt/psa/admin/plib/Lock/Manager/Hierarchical.php(182): Plesk\Lock\Manager_Hierarchical->_getClient()
    #2 /opt/psa/admin/plib/Lock/Manager/Hierarchical.php(146): Plesk\Lock\Manager_Hierarchical->_applyLockIfFree('', Object(Plesk\Lock\Resource))
    #3 /opt/psa/admin/plib/Lock/Manager.php(97): Plesk\Lock\Manager_Hierarchical->lockIfFree(Object(Plesk\Lock\Resource), '')
    #4 /opt/psa/admin/plib/Lock.php(56): Plesk\Lock\Manager->lockIfFree(1, Array, '')
    #5 /opt/psa/admin/plib/Template/Configuration/Applier.php(74): Plesk\Lock::writeIfFree(Object(Plesk\Lock\Object_Service), '', Array)
    #6 /opt/psa/admin/plib/CommonPanel/Controller/Helper/WebService.php(47): Template_Configuration_Applier::blockStartTransaction()
    #7 /opt/psa/admin/application/admin/controllers/HomeController.php(179): CommonPanel_Controller_Helper_WebService::getFailedConfigurationError()
    #8 /opt/psa/admin/application/admin/controllers/HomeController.php(44): Admin_HomeController->_prepareSystemOverview()
    #9 /opt/psa/admin/externals/Zend/Controller/Action.php(516): Admin_HomeController->adminAction()
    #10 /opt/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('adminAction')
    #11 /opt/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
    #12 /opt/psa/admin/plib/Application/Web.php(38): Zend_Controller_Front->dispatch(NULL)
    #13 /opt/psa/admin/htdocs/application.php(15): Plesk\Application_Web->run()
    #14 {main}


cannot create directory: Permission denied: "/var/lock/lmlib/container_locks"


Incorrect permissions, psaadm user is not included into the lock-manager group, missing /dev/shm/ folder.


For Windows, please refer to

  1. On RedHat/CentOS/CloudLinux/Debian 6/Ubuntu 10, /dev/shm should be mounted as a tmpfs file system:

    # mount | grep shm
    tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0")

    If it is missing, the following line should be added to /etc/fstab:

    tmpfs   /dev/shm    tmpfs   defaults    0 0

    Execute the following command:

    # mount tmpfs

    Restart sw-engine:

    # /etc/init.d/sw-engine restart     
  2. On Debian 7.0 and Ubuntu 12.04, /dev/shm is usually a symlink to /run/shm:

    #ls  -ld /dev/shm
    lrwxrwxrwx 1 root root 8 май 30 18:23 /dev/shm -> /run/shm
    #mount | grep shm 
    tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=2085020k)

    Make sure that /dev/shm is symlink on /run/shm.

  3. Remove Plesk cache and restart sw-engine service:

    # service sw-engine stop
    # rm -rf /var/lock/lmlib/container_locks
    # rm -f /usr/local/psa/var/cache/*
    # service sw-engine start 
  4. Make sure that these folders have permissions as below:

    # stat /usr/local/psa/var/cache/ /usr/local/psa/var/ | egrep "File|Uid"  
    File: ‘/usr/local/psa/var/cache/’  
    Access: (0700/drwx------) Uid: ( 997/ psaadm) Gid: ( 0/ root)  
    File: ‘/usr/local/psa/var/’  
    Access: (0755/drwxr-xr-x) Uid: ( 997/ psaadm) Gid: ( 1000/ psaadm)  

Search Words

permission denied

unable to open plesk admin

Internal error: Permission denied Message Permission denied File Hierarchical.php Line 105 Type Exception

Lock Manager error Permission denied

Blank page instead of login screen

Permission denied on login plesk


Permission denied

login issue

Plesk broken after installing migration manager


permission issues

terminate called after throwing an instance of 'std::runtime_error' what(): Unable to init lock manager shared memory file: Current user is not permitted to use lock manager shared memory


Unable to login to control panel Permission denied

Permissions denied error when logging into Plesk control panel.

file not found: hierarchical.php

Unable to get plesk home

ERROR: Zend_Controller_Exception: Permission denied


ERROR: Exception permission denied login

BUSY: Update operation was locked by another update process.

Plesk login page is blank


Permission denied Hierarchical.php

Message Permission denied File Hierarchical.php

plesk updated can not log in ERROR: Exception

29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 742559b1631652fadd74764ae8be475e 01bc4c8cf5b7f01f815a7ada004154a2 0a53c5a9ca65a74d37ef5c5eaeb55d7f ed7be2b984f9c27de1d2dc349dc19c6d 85a92ca67f2200d36506862eaa6ed6b8 a766cea0c28e23e978fa78ef81918ab8

Email subscription for changes to this article
Save as PDF