Help - Search - Members - Calendar
Full Version: /scripts/upcp cron emails stopped:
The Planet Forums > Control Panels > cPanel/WHM
neonix
I have not received the /scripts/upcp cron email for a few days now. I do receive the logwatch and bfd and backup emails but not this one...any suggestions:

This is my crontab -e output

*/15 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
2,58 * * * * /usr/local/bandmin/bandmin
0 0 * * * /usr/local/bandmin/ipaddrmap
0 6 * * * /scripts/exim_tidydb > /dev/null 2>&1
0 23 * * * /scripts/upcp
0 2 * * * /scripts/cpbackup
*/5 * * * * /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1



This is the output of pico -w /var/log/cron

Jun 24 22:55:00 nix1 CROND[14440]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
Jun 24 22:58:00 nix1 CROND[14614]: (root) CMD (/usr/local/bandmin/bandmin)
Jun 24 23:00:00 nix1 CROND[14746]: (root) CMD (/usr/local/sbin/bfd -q)
Jun 24 23:00:00 nix1 CROND[14750]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
Jun 24 23:00:00 nix1 CROND[14753]: (root) CMD (/usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/nul$
Jun 24 23:00:00 nix1 CROND[14748]: (root) CMD (/scripts/upcp)
Jun 24 23:00:12 nix1 crontab[15084]: (root) LIST (root)
Jun 24 23:00:12 nix1 crontab[15086]: (root) LIST (root)
Jun 24 23:00:12 nix1 crontab[15087]: (root) LIST (root)
Jun 24 23:00:12 nix1 crontab[15088]: (root) REPLACE (root)
Jun 24 23:01:06 nix1 crond[11638]: (root) RELOAD (cron/root)
Jun 24 23:01:06 nix1 CROND[15325]: (root) CMD (run-parts /etc/cron.hourly)
Jun 24 23:02:00 nix1 CROND[15387]: (root) CMD (/usr/local/bandmin/bandmin)
Jun 24 23:05:00 nix1 CROND[15666]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
rogergraves
Did anyone get to the bottom of this? Same thing has been happening on my machine.


QUOTE (neonix)
I have not received the /scripts/upcp cron email for a few days now. I do receive the logwatch and bfd and backup emails but not this one...any suggestions:  

This is my crontab -e output

*/15 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
2,58 * * * * /usr/local/bandmin/bandmin
0 0 * * * /usr/local/bandmin/ipaddrmap
0 6 * * * /scripts/exim_tidydb > /dev/null 2>&1
0 23 * * * /scripts/upcp
0 2 * * * /scripts/cpbackup
*/5 * * * * /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1



This is the output of pico -w /var/log/cron

Jun 24 22:55:00 nix1 CROND[14440]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
Jun 24 22:58:00 nix1 CROND[14614]: (root) CMD (/usr/local/bandmin/bandmin)
Jun 24 23:00:00 nix1 CROND[14746]: (root) CMD (/usr/local/sbin/bfd -q)
Jun 24 23:00:00 nix1 CROND[14750]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
Jun 24 23:00:00 nix1 CROND[14753]: (root) CMD (/usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/nul$
Jun 24 23:00:00 nix1 CROND[14748]: (root) CMD (/scripts/upcp)
Jun 24 23:00:12 nix1 crontab[15084]: (root) LIST (root)
Jun 24 23:00:12 nix1 crontab[15086]: (root) LIST (root)
Jun 24 23:00:12 nix1 crontab[15087]: (root) LIST (root)
Jun 24 23:00:12 nix1 crontab[15088]: (root) REPLACE (root)
Jun 24 23:01:06 nix1 crond[11638]: (root) RELOAD (cron/root)
Jun 24 23:01:06 nix1 CROND[15325]: (root) CMD (run-parts /etc/cron.hourly)
Jun 24 23:02:00 nix1 CROND[15387]: (root) CMD (/usr/local/bandmin/bandmin)
Jun 24 23:05:00 nix1 CROND[15666]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
gordonrp
service crond restart

if the output looks like this:

QUOTE
service crond restart
Stopping crond:                                            [FAILED]
Starting crond:                                            [  OK  ]


Then crond had stoped previously, sometimes this happens after an auto cpanel update.
rogergraves
Doing a cron restart took care of the problem. Thanks!
gordonrp
QUOTE (rogergraves)
Doing a cron restart took care of the problem.  Thanks!
pleasure.
neonix
In my case, restarting cron did not work but adding this to crontab took care of the problem.

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.