• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

crontabmng: execve failed

Status
Not open for further replies.

kram@

Regular Pleskian
Hello All,

I recieved a call from a client today saying that he was unable to setup a scheduled task.
When I try access the scheduled task via the domain or via Tools & Settings --> Tools & Resources --> Scheduled Tasks, I get the following error

Code:
ERROR: PleskFatalException
	
Up Level
crontabmng: execve failed for /usr/local/psa/admin/sbin/crontabmng: Permission denied

System error 13: Permission denied

Search for related Knowledge Base articles

Any thoughts or suggestions?
 
Make sure that you have correct permissions for file:

# ls -la /usr/local/psa/admin/sbin/wrapper
---s--x--- 1 root psaadm 14336 Aug 19 2013 /usr/local/psa/admin/sbin/wrapper
 
Thanks IgorG

I checked the permissions on /usr/local/psa/admin/sbin/wrapper - mine were totally wrong.
I reset the permissions with chmod 4110

# ls -la /usr/local/psa/admin/sbin/wrapper
---s--x--- 1 root psaadm 19368 Aug 19 2013 /usr/local/psa/admin/sbin/wrapper

I then tried to allow user with enabled chrooted shell run scheduled tasks outside chrooted environment
http://kb.parallels.com/en/115889

when I ran that command, I got the following error.

# /usr/local/psa/bin/server_pref --update -crontab-secure-shell ""

2014-05-14T15:55:09+02:00 ERR (3) [util_exec]: proc_close() failed
crontabmng: execve failed for /usr/local/psa/admin/sbin/crontabmng: Permission denied

System error 13: Permission denied

# ls -la /usr/local/psa/admin/sbin/crontabmng
---------- 1 root root 27992 Aug 19 2013 /usr/local/psa/admin/sbin/crontabmng

I then changed the permissions

# chmod 750 /usr/local/psa/admin/sbin/crontabmng

# ls -la /usr/local/psa/admin/sbin/crontabmng
-rwxr-x--- 1 root root 27992 Aug 19 2013 /usr/local/psa/admin/sbin/crontabmng

Re run the command which was successful.

#/usr/local/psa/bin/server_pref --update -crontab-secure-shell ""
SUCCESS: Server preferences are successfully updated

I can also access the Scheduled tasks via the Panel interface.
 
Status
Not open for further replies.
Back
Top