[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] divide by zero in cobalt-gui...



One of my clients is getting a "divide by zero" error when the active
monitor disk-usage part of the gui is accessed.  He's getting an
"Internal Service Error" message on his browser, plus this error:

Illegal division by zero at
/usr/admserv/cgi-bin/.cobalt/diskUsage/diskUsage.cgi line 204.

Line 204 contains the following:

    my $sitePercent = ($siteTotal) ?
        sprintf $fmt, $siteUsed / $siteTotal * 100 : '?';

Anyone have any idea what we can fix so active monitor will start giving
us a green light, and statistics, once more <wry grin>?

Oh yes, he's got a blinking red active monitor, and nothing else appears
to be amiss.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
Linux and Cobalt/Sun/RaQ Consulting
nobaloney.net
P. O. Box 52672, Riverside, CA  92517
voice: (909) 778-9980  *  fax: (702) 548-9484