• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue 500 Internal Server Error - Permission denied Hierarchical.php:189

aria

New Pleskian
We have 2 Plesk servers the following configurations :

Windows Server 2022
Memory : 64 GB
CPU : 24 Core
Plesk Version : 18.0.56 Update 1



we get the following errors intermittently :

Server Error
500 Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error. More information about this error may be available in the server error log.








we reviewed log files and found the following errors : Permission denied (Hierarchical.php: various lines)

ERROR: UnknownError: Unable to create file: C:/Program Files (x86)/Plesk/var/locks/container_locks/session.057f96ad6b8c42bb99661a4770dc0454.lock: Permission denied (Hierarchical.php:201)
ERROR: Exception: Unable to create file: C:/Program Files (x86)/Plesk/var/locks/container_locks/session.057f96ad6b8c42bb99661a4770dc0454/service.lock: Permission denied (Hierarchical.php:189)
ERROR: Exception: Unable to create file: C:/Program Files (x86)/Plesk/var/locks/container_locks/session.057f96ad6b8c42bb99661a4770dc0454/service.lock: Permission denied (Hierarchical.php:189)
ERROR: Plesk\Lock\Exception: Lock Manager error: 'Unable to create file: C:/Program Files (x86)/Plesk/var/locks/authorizer.lock: Permission denied'. (Hierarchical.php:126)
ERROR: Exception: Unable to create file: C:/Program Files (x86)/Plesk/var/locks/container_locks/session.057f96ad6b8c42bb99661a4770dc0454/service.lock: Permission denied (Hierarchical.php:189)
ERROR: Exception: Unable to create file: C:/Program Files (x86)/Plesk/var/locks/container_locks/session.057f96ad6b8c42bb99661a4770dc0454/service.lock: Permission denied (Hierarchical.php:189)
ERROR: Exception: Unable to create file: C:/Program Files (x86)/Plesk/var/locks/container_locks/session.057f96ad6b8c42bb99661a4770dc0454/service.lock: Permission denied (Hierarchical.php:189)
ERROR: Plesk\Lock\Exception: Lock Manager error: 'Unable to create file: C:/Program Files (x86)/Plesk/var/locks/authorizer.lock: Permission denied'. (Hierarchical.php:126)



it things that the control panel wants to create a few files but it cant. how ever we checked the permissions and all required permissions are all ready there.

C:/Program Files (x86)/Plesk/var/locks/container_locks/session.057f96ad6b8c42bb99661a4770dc0454/service.lock



all the suggestions in the following KB were followed with no success.







Do you have solution for this issue?
 
It could be caused by a missing user psaadm_users for the folder and all the subfolder/files of C:/Program Files (x86)/Plesk/var/locks/
  1. Connect to the server via RDP
  2. Open properties of C:/Program Files (x86)/Plesk/var/locks/ folder mentioned in the error and switch to the Security tab.
  3. Add the username psaadm_users with all the permission as allow:
    locks.PNG
  4. Click Ok to save.
 
It could be caused by a missing user psaadm_users for the folder and all the subfolder/files of C:/Program Files (x86)/Plesk/var/locks/
  1. Connect to the server via RDP
  2. Open properties of C:/Program Files (x86)/Plesk/var/locks/ folder mentioned in the error and switch to the Security tab.
  3. Add the username psaadm_users with all the permission as allow:
    locks.PNG
  4. Click Ok to save.



Thanks for your reply Peter.
Sadly, all the folders up to C:\ has full control for group psaadm_users.
Any other ideas/suggestions are greatly appreciated.



plesk-new-1.PNG



plesk-new-2.PNG
 
Back
Top