Issue
Sometimes you may face an issue with the failure of the cron task which running on behalf of the psaadm user.
In the error log you will see the following errors:
pam_lve[229119]: Error Entering into CageFS -1 Invalid regexps: no match for path to base home directory
crond[229119]: (psaadm) PAM ERROR (Cannot make/remove an entry for the specified session)
crond[229119]: (psaadm) FAILED to open PAM security session (Cannot make/remove an entry for the specified session)
Environment
- CloudLinux 7/8
- Plesk
Solution
Please make sure that the /etc/cagefs/exclude/pleskuserlist
is present in your system and that this file contains the username of the psaadm user, if not, please do the following:
1) Create a file manually and add the following entries to it:
psaadm
popuser
psaftp
apache
sw-cp-server
horde_sysuser
2) Run the following command to apply changes:
cagefsctl --update-etc
Comments
0 comments
Please sign in to leave a comment.