Permission on /usr/bin/crontab are wrong (4755). Please set to 4755.
As the title states I am getting the error:
Permission on "/usr/bin/crontab" are wrong (4755). Please set to 4755.
This only shows us when using the x3 theme on my cpanel. When I use the paper lantern I get the following error when I try to set an email or create a cronjob:
Insecure dependency in require while running setuid.
BEGIN failed--compilation aborted.
This issue is very weird since the 4755 is obviously already set per the first error message.
Any help would be awesome.
-
Hello :) Do you notice any additional error messages in /usr/local/cpanel/logs/error_log when this occurs? Thank you. 0 -
Hello :) Do you notice any additional error messages in /usr/local/cpanel/logs/error_log when this occurs? Thank you.
The only errors in that log are similar to this: warn [Cron::set_email] Encountered error in Cron::set_email: Insecure dependency in require while running setuid. BEGIN failed--compilation aborted. warn [Cron::add_line] Encountered error in Cron::add_line: Insecure dependency in require while running setuid. BEGIN failed--compilation aborted. info [cpanel] Permissions check for /usr/bin/crontab failed. Not executable. Unable to use user cronjobs via cPanel. Insecure dependency in require while running setuid. BEGIN failed--comilation aborted.0 -
It's possible this is related to an internal case opened for cron jobs on certain versions of cPanel and certain operating systems. Please post the output from: cat /usr/local/cpanel/version cat /etc/redhat-release
Thank you.0 -
cat /usr/local/cpanel/version 11.50.0.29 cat /etc/redhat-release CentOS Linux release 7.1.1503 (Core) 0 -
Internal case CPANEL-376 is open to address an issue where crontab on CentOS 7 will not work if a user renamed /usr/bin/crontab.relink.# (ex: /usr/bin/crontab.relink.1437150286) to something such as /usr/bin/crontab.relink.disabled. Could you post the output from the following command to see if that's the case on this system: ls -al /usr/bin|grep crontab
Thank you.0 -
Internal case CPANEL-376 is open to address an issue where crontab on CentOS 7 will not work if a user renamed /usr/bin/crontab.relink.# (ex: /usr/bin/crontab.relink.1437150286) to something such as /usr/bin/crontab.relink.disabled. Could you post the output from the following command to see if that's the case on this system:
ls -al /usr/bin|grep crontab
Thank you.
ls -al /usr/bin|grep crontab lrwxrwxrwx. 1 root root 39 Aug 2 23:16 crontab -> /usr/local/cpanel/bin/jail_safe_crontab* -rwsr-xrx. 1 root root 57536 Jul 30 2014 crontab.relink.1438571809*0 -
To clarify, could you check the permissions of the /usr/local/cpanel/bin/jail_safe_crontab file? EX: stat /usr/local/cpanel/bin/jail_safe_crontab
Thank you.0 -
To clarify, could you check the permissions of the /usr/local/cpanel/bin/jail_safe_crontab file? EX:
stat /usr/local/cpanel/bin/jail_safe_crontab
Thank you.
stat /usr/local/cpanel/bin/jail_safe_crontab File: "/usr/local/cpanel/bin/jail_safe_crontab" Size: 3973629 Blocks: 7768 IO Block: 4096 regular file Device: fd00h/64768d Inode: 70923892 Links: 1 Access: (4755/-rwsr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Context: unconfined_u:object_r:usr_t:s0 Access: 2015-08-13 05:03:47.090373863 -0400 Modify: 2015-08-02 22:48:17.718002781 -0400 Change: 2015-08-13 05:03:41.856373260 -0400 Birth: -
0 -
Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you. 0 -
Support Request Id 7026953 0 -
and issue was resolved. your ticket system is a little cumbersome, but the guys working the tickets are very knowledgeable and quick to the fix. 0 -
and issue was resolved. your ticket system is a little cumbersome, but the guys working the tickets are very knowledgeable and quick to the fix.
Lou, glad I was able to help, the issue just so everyone is aware was that "/ usr/local/cpanel/bin/jail_safe_crontab" was set to 4755 when it should be set to 755 it does not need nor allow the setuid bit.0
Please sign in to leave a comment.
Comments
12 comments