> I'm running policyd V2 from the SVN ("branches"). Everything seems
> to be ok, with exception of Quotas. Probably I'm goofing...
>
> I'm getting the error:
>
> {CBPOLICYD] DEBUG: Running module: Quotas Plugin
> [CBPOLICYD] ERROR: Error running module request_process(): Illegal
> division by zero at /usr/local/lib/policyd-2.0/vbp/modules/Quotas.pm
> line 248, <_READ> line 16614
>
> The line 248 from Quotas.pm
>
> # Percent used
> my $pused = sprintf('%.1f', ( $newCounters($qtrack->{'QuotasLimitID'}}
> / $qtrack->{'CounterLimit'} ) * 100);
>
> I'm using the quota example from the Documention.
>
> Any clue ? I am clueless :)
>
This is rather odd. Could you show me the contents of the
quotas_tracking and quotas config tables?
Which SVN revision are you using? also which database?
-N
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users