Unexpected Accounting Response

Alan DeKok aland at ox.org
Thu Sep 29 20:39:14 CEST 2005


Giuseppe <gaaw at interfree.it> wrote:
> This Accounting Response is unexpected to me because RFC 2866 says:
> "If the RADIUS accounting server is unable to successfully record the 
> accounting packet it MUST NOT send an Accounting-Response acknowledgment 
> to the client".

  It appears to be an issue with the SQL module:

> rlm_sql_oracle: execute query failed in sql_query: ORA-00001: unique 
> constraint (RADUSER.RADACCT_IDX2) violated
> rlm_sql (sql): failed after re-connect
> rlm_sql (sql): Couldn't insert SQL accounting START record - ORA-00001: 
> unique constraint (RADUSER.RADACCT_IDX2) violated
...
> rlm_sql (sql): Released sql socket id: 4
>   modcall[accounting]: module "sql" returns ok for request 0

  If something fails, the SQL module shouldn't return "ok".

  Alan DeKok.



More information about the Freeradius-Users mailing list