freeradius- update radacct

tnt at kalik.net tnt at kalik.net
Tue Oct 28 13:32:47 CET 2008


I've got only a few lines of debug.

Ivan Kalik
Kalik Informatika ISP

Dana 28/10/2008, "Oguzhan Kayhan" <oguzhank at bilkent.edu.tr> piše:

>>>I have freeradius virtual configurations.
>>>Until today all were working without a problem.
>>>But today i created a new one and i have a tiny problem about it.
>>>It doesnt update sql queries until the user logs off. SO i can not track
>>>the statistics of online users and transferred data etc via mysql.
>>>But as i see freeradius gets the following packets below in normal
>>> intervals
>>>And if it was an error about sql.conf i think it wont write the data when
>>>user disconnected too.It just does not update the online users data..and
>>> i
>>>wonder why..Seems like it does not create user data at the begining so it
>>>can not update the data too.
>>>
>>
>> If server doesn't get accounting start packet it will use alternative
>> update query (INSERT) because there is nothing to update. That is if
>> this is an update packet at all. You will need to post the request that
>> was processed as well.
>>
>
>I am sending the debug mode ouput of a login-disconnect process from
>freeradius on the attachment.
>
>
>> If you are not getting updates from the NAS at all you need to fix that
>> on the NAS or by sending Acct-Interim-Inetrval in the Access-Accept
>> reply. No guarantee that your NAS will respect it.
>>
>Acct_Interim-Interval was set to 60 seconds for users.And i am receiving
>the update msgs too.I am using this NAS config with my other virtual
>radius servers too without any problem.
>
>And one more thing about this, as i see freeradius does not send
>connection or update packets as soon as it receives it, seems like it
>waits a while then sends all logs to mysql in a few mins..
>Is there any config that i can change the update interval of mysql via
>freeradius?
>
>
>
>
>> Ivan Kalik
>> Kalik Informatika ISP
>>
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>>
>
>




More information about the Freeradius-Users mailing list