Scheduled Tasks not working with CageFS and Plesk
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and Plesk
  1. sch
  2. 04.02.2015
  3.  Subscribe via email
When i set up a scheduled task in plesk, i get this error when the job is running:
execl: couldn't exec `/usr/local/psa/bin/chrootsh'
execl: No such file or directory
The site is enabled in CageFS. If I disable CageFS for the site, it works.
Is it because the file /usr/local/psa/bin/chrootsh is missing in the skeleton?
I have created /etc/cagefs/conf.d/pleskcron.cfg
And after that i ran /usr/sbin/cagefsctl --force-update
That did change something, because now the error is:
setreuid() to root failed
system error: Operation not permitted
What is the correct way to get Scheduled Tasks to work with Plesk with CageFS?
Rate this post:
  1. 04.02.2015 14:02:58
  2. # 1
sch Accepted Answer
Posts: 2
Joined: 23.01.2015
Adding CHROOTSH=/usr/local/psa/bin/chrootsh to /etc/cagefs/proxy.commands changes the error to:
unable to determine user name, will use first found by uid=10002
Im not sure if I should add a fixed user, because it would be a different user everytime the cronjob runs, right?
  • Page :
  • 1

There are no replies made for this post yet.
Be one of the first to reply to this post!
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.