On Thu, 3 Oct 2002, Marcelo da Silva wrote:

> please , i need  help, anyone answer, my question;;
>
>
>
>  have one problem in version 0.7 of  freeradius .
>    in the  accounting in  freeradius,  the registers  is not updated, the
> freeradius write one register when user connect and other register when user
> disconnect;
>
> mysql> select AcctSessionId,UserName,AcctStartTime,AcctStopTime from radacct
> where AcctSessionId='470003FC';
> +---------------+----------+---------------------+---------------------+
> | AcctSessionId | UserName | AcctStartTime       | AcctStopTime        |
> +---------------+----------+---------------------+---------------------+
> | 470003FC      | mariner  | 2002-10-03 09:58:28 | 0000-00-00 00:00:00 |
> | 470003FC      | mariner  | 0000-00-00 00:00:00 | 2002-10-03 10:04:38 |
> +---------------+----------+---------------------+---------------------+
>

It seems that accounting_stop_query fails and the sql module falls back to
accounting_stop_query_alt. Check that you get NASIPAddress in the
accounting-request and that it matches the one in sql. Add NASIPAddress in the
above query and check them out. Run radiusd in debug mode (radiusd -X) and check
the output.

--
Kostas Kalevras         Network Operations Center
[EMAIL PROTECTED]      National Technical University of Athens, Greece
Work Phone:             +30 210 7721861
'Go back to the shadow' Gandalf


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to