Issue
503 errors on the websites.
The logs show:
lscgid (226517): LVE jail(1060) result: -1, error: Unable to create directory /home/username/.cagefs/var/log/alt-php72-newrelic (Permission denied) !
Environment
- CageFS
Solution
Please check the permissions for the corresponding folders, e.g.:
root@server [~]# ls -dl /home/username/.cagefs/var/log/
drw-rw-rw- 2 username username 6 May 16 09:38 /home/username/.cagefs/var/log/
It should be 700 and owned by the corresponding CageFS user.
Correct it if needed:
chmod 700 /home/username/.cagefs/var/log/
Cause
The cause of the issue may be incorrect permissions or the owner of directories inside /home/username.
Comments
0 comments
Please sign in to leave a comment.