• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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