TITLE:
CGroups dont start a session scope on create (Filemanager error)
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:Plesk Onyx, Version 17.0.17 Update #20, Ubuntu 16.04.2 LTS, 64 Bit VM
PROBLEM DESCRIPTION:Various errors in filemanager related to CGroups.
Error messsages:
Once a new web is created, there are permission problems and the path to the web can not be found etc.
Syslog:
Systemctl --failed:
Systemctl status session-c73869.scope:
STEPS TO REPRODUCE:Error messsages:
Code:
Error: Unable to find the file /var/www/vhosts/WEB/ at the specified location
or
Warning: Symlinks out of webspace are prohibited /: Access to realpath denied: /var/www/vhosts/WEB/ to /var/www/vhosts/WEB.
Once a new web is created, there are permission problems and the path to the web can not be found etc.
Syslog:
Code:
Apr 4 00:26:26 srv-01 systemd[1]: user-10017.slice: Start request repeated too quickly.
Apr 4 00:26:26 srv-01 systemd[1]: Failed to start user-10017.slice.
Apr 4 00:26:26 srv-01 systemd[1]: Dependency failed for User Manager for UID 10017.
Apr 4 00:26:26 srv-01 systemd[1]: [email protected]: Job [email protected]/start failed with result 'dependency'.
Systemctl --failed:
Code:
● session-c73869.scope loaded failed failed Session c73869 of user XXXXX
Systemctl status session-c73869.scope:
Code:
● session-c73869.scope - Session c73869 of user XXXX
Loaded: loaded
Transient: yes
Drop-In: /run/systemd/system/session-c73869.scope.d
└─50-After-systemd-logind\x2eservice.conf, 50-After-systemd-user-sessions\x2eservice.conf, 50-Description.conf,
Active: failed (Result: resources)
Apr 04 00:21:47 srv-01 systemd[1]: session-c73869.scope: Failed to add PIDs to scope's control group: No such process
Apr 04 00:21:47 srv-01 systemd[1]: Failed to start Session c73869 of user XXXX.
Apr 04 00:21:47 srv-01 systemd[1]: session-c73869.scope: Unit entered failed state.
Create a customer, create a web and activate CGRoups. Then go to the filemanager....
ACTUAL RESULT:Filemanager not working!
EXPECTED RESULT:With deactivated cgroups, filemanager now work...
ANY ADDITIONAL INFORMATION:To solve the problem, a PHP file must be called once under the web. Then the session is properly registered and everything works.
After open PHP File:
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:After open PHP File:
Code:
Apr 4 00:27:03 srv-01 systemd[1]: Created slice user-10017.slice.
Apr 4 00:27:03 srv-01 systemd[1]: Starting User Manager for UID 10017...
Apr 4 00:27:03 srv-01 systemd[1]: Started Session c73971 of user XXXX.
Confirm bug
Last edited: