Illegal division by zero at directive?
Hello,
I have a client at my server that is showing this error at the cpanel statics area. Looks like an error for calculate the bandwidth but it has 25000MB assigned.
A warning occurred while processing this directive
Illegal division by zero at /usr/local/cpanel/Cpanel/BandwidthDB/ImportRRD/Logic.pm line 182.
at /usr/local/cpanel/Cpanel/API/StatsBar.pm line 48.
Cpanel::API::StatsBar::get_stats(Cpanel::Args=HASH(0xc270234), Cpanel::Result=HASH(0xc27039c)) called at /usr/local/cpanel/Cpanel/API.pm line 177
Cpanel::API::__ANON__() called at /usr/local/cpanel/Cpanel/API.pm line 249
eval {...} called at /usr/local/cpanel/Cpanel/API.pm line 249
Cpanel::API::_eval_guard(Cpanel::Result=HASH(0xc27039c), CODE(0xc26fce4)) called at /usr/local/cpanel/Cpanel/API.pm line 177
Cpanel::API::_run_module_function(Cpanel::Args=HASH(0xc270234), Cpanel::Result=HASH(0xc27039c), "StatsBar", "get_stats") called at /usr/local/cpanel/Cpanel/API.pm line 49
Cpanel::API::_execute("StatsBar", "get_stats", HASH(0xaa309ac)) called at /usr/local/cpanel/Cpanel/StatsBar.pm line 56
Cpanel::StatsBar::api2_stat("infinitylang", "true", "rowcounter", "mainstats", "display", "diskusage|filesusage|bandwidthusage") called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 118
eval {...} called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 118
Cpanel::Api2::Exec::api2_exec("StatsBar", "stat", HASH(0xc26fe74), HASH(0xa78a07c)) called at cpanel.pl line 1096
main::real_cpexectag("\x{a} "...) called at cpanel.pl line 4107
main::dotag_finished_headers(0) called at cpanel.pl line 3926
main::cpanel_parseblock("\x{a} "...) called at cpanel.pl line 4104
main::dotag_finished_headers(0) called at cpanel.pl line 3963
main::cpanel_parseblock("\x{a}") called at cpanel.pl line 3878
main::y(GLOB(0xbbef9e4)) called at cpanel.pl line 5219
main::run_standard_mode() called at cpanel.pl line 888
-
Hello :) Do you notice any error messages when updating the bandwidth/statistics for the account? EX: /scripts/runweblogs $username
Thank you.0 -
Hello, I've executed the script and got the following result... /scripts/runweblogs fabocca Log checker loaded ok.. ==> cPanel Log Daemon version 26.0 [2015-11-25 15:28:31 -0430] [sepxferlog] [2015-11-25 15:28:31 -0430] [sepxferlog] complete [2015-11-25 15:28:31 -0430] Processing fabocca... [2015-11-25 15:28:31 -0430] Run Logs domain: example.com.ve BW Limit: 26214400000 Domains: [domain.com.ve domaintoo.net.ve somedomain.com.ve exampletoo.com.ve examplethree.com domainthree.net otherdomain.com.ve v2.domain.com.ve] info [safeapacherestart] Restart elapsed seconds: 1 [2015-11-25 15:28:52 -0430] Process bandwidth for fabocca Illegal division by zero at /usr/local/cpanel/Cpanel/BandwidthDB/ImportRRD/Logic.pm line 182.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
Please sign in to leave a comment.
Comments
3 comments