Add New Cron Job error
Hi ,
Cpanel to add cron jop error :
CLOUDLINUX 7.2 x86_64 vmware Cpanel last update RELEASE 11.56.0.9
Add a cron job did not work after the last update..
[2016-05-02 09:44:23 +0300] warn [jail_safe_crontab] Cpanel::Wrap::send_cpwrapd_request The adminbin "cron" in the "Cpanel" namespace call to function "FETCH" ended prematurely: The subprocess reported error number 5 when it ended.: namespace=[Cpanel] module=[cron] function=[FETCH]: set error in context : raw_response=[{"error":1,"exit_code":1280,"status":1,"mode":"full","statusmsg":"The adminbin "cron" in the "Cpanel" namespace call to function "FETCH" ended prematurely: The subprocess reported error number 5 when it ended.","version":"2.4","data":"(XID 2axefn) "/usr/bin/crontab" reported error code "1" when it ended.\n","timeout":0,"action":"run"}] at /usr/local/cpanel/Cpanel/Wrap.pm line 110.
Cpanel::Wrap::send_cpwrapd_request("namespace", "Cpanel", "module", "cron", "function", "FETCH", "env", HASH(0xe9b420)) called at bin/jail_safe_crontab.pl line 230 main::_get_crontab_text() called at bin/jail_safe_crontab.pl line 31 [2016-05-02 09:44:23 +0300] warn [jail_safe_crontab] Cpanel::Wrap::send_cpwrapd_request error: namespace=[Cpanel] module=[cron] function=[FETCH]: set error in context : statusmsg=[The adminbin "cron" in the "Cpanel" namespace call to function "FETCH" ended prematurely: The subprocess reported error number 5 when it ended.] at /usr/local/cpanel/Cpanel/Wrap.pm line 119. Cpanel::Wrap::send_cpwrapd_request("namespace", "Cpanel", "module", "cron", "function", "FETCH", "env", HASH(0xe9b420)) called at bin/jail_safe_crontab.pl line 230 main::_get_crontab_text() called at bin/jail_safe_crontab.pl line 31 Can't use string ("(XID 2axefn) "/usr/bin/cron"...) as a HASH ref while "strict refs" in use at bin/jail_safe_crontab.pl line 242.
We are receiving an error in adding new cron after update
-
Hello :), Check your cPanel error logs file and let me know what exact error are your getting. Also, try to update cPanel on your server with --force options (/scripts/upcp --force) 0 -
Hello, This was addressed with CPANEL-5914 in cPanel 56.0.13: Fixed case CPANEL-5914: Cronjobs cannot be added on CentOS7 if the cron file is missing. Thank you. 0 -
I am seeing this issue as well, even when moving back to a CentOS6.7 server with 56.0 b15. When checking the crons with crontab -e -u they are all there, but in cPanel no jobs show and I cannot add any new ones. If needed I can start a ticket, but figured it would not hurt to see if there are any places I can check/change first. CentOS7.2 server build was fairly new as had upgraded, and the 6.7 one is brand new build of cPanel. Went back to 6 due to the myriad of issues in both cPanel and 3 party apps that I have been seeing on 7. 0 -
Forums would not let me edit the last reply. Used the transfer tool to move everything over to the new CentOS6 box. Not sure if that would point to an issue in the file structure of the cPanel itself. 0 -
Not sure if this has any relevance to your CentOS 7 box, but you may like to look at this thread regarding CentOS 6: Configured cron-jobs not displayed on Cpanel > Cron Jobs 0 -
Thanks for that. Works well for the CentOS6 box. Cheers! 0 -
Hello, Yes, as mentioned on the referenced thread, the issue is addressed in cPanel version 56.0.17: Fixed case CPANEL-6197: Resolve JS error on paper_lantern cron page. Thank you. 0
Please sign in to leave a comment.
Comments
7 comments