cronjob error message
Hello!
Since a couple of days I'm getting one daily email with this:
/etc/cron.daily/summarize-api1-logs:
Can't locate Cpanel/Analytics/KnownPages/Api1.pm in @INC (you may need to install the Cpanel::Analytics::KnownPages::Api1 module) (@INC contains: /var/cpanel/perl /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux /usr/local/cpanel/3rdparty/perl/536/cpanel-lib /usr/local/cpanel/3rdparty/perl/536/lib/x86_64-linux /usr/local/cpanel/3rdparty/perl/536/lib /opt/cpanel/perl5/536/site_lib/x86_64-linux /opt/cpanel/perl5/536/site_lib) at /etc/cron.daily/summarize-api1-logs line 30.
BEGIN failed--compilation aborted at /etc/cron.daily/summarize-api1-logs line 30.
run-parts: /etc/cron.daily/summarize-api1-logs exited with return code 2
How can I fix it?
-
Hey there! Are you running in a Ubuntu system? We have actually removed the summarize-api1-logs tool from CentOS/AlmaLinux, but it didn't get removed from Ubuntu, which leads to this error. For now, you can ignore the error, but this is fixed in version 116 when that is released as part of case CPANEL-43416. 0 -
Yes, thanks! Only happens on my ubuntu servers. 0 -
Great - I'm glad to hear that's it! So yes, just ignore it for now and it'll disappear in a future update. 0 -
Great - I'm glad to hear that's it! So yes, just ignore it for now and it'll disappear in a future update.
Ignoring crontabs is a mug's game as they'll accumulate and annoy (and foment 'cry-wolf'ism where one ignores all crontabs). Any way to turn this warning off if this module is deprecated for Ubuntu?0 -
I don't know of a way to turn this one off, unfortunately. 0 -
I assume the only way to turn this notice off it to edit /etc/crontab and add > /dev/null 2>&1 to the end of cron.daily line. However I recommend against doing this as it will ignore all of cron.daily crons messages. 0
Please sign in to leave a comment.
Comments
6 comments