radacct/radutmp out of sync

Alan DeKok aland at deployingradius.com
Sun Jun 22 20:00:32 CEST 2008


Tuc at T-B-O-H.NET wrote:
> 	Ok, thanks. I have to do more work to see if radutmp EVER had a 
> record for the user or not. My initial thought was that when the user logged
> off and an accounting stop record was sent, that it updated the radutmp file,
> and then "SOMETHING" happened that the sql radacct didn't get updated. I never
> thought that for some reason the accounting start and interim update records
> were getting into sql but none of it ever making radutmp.

  radutmp is a historical hack.  If you're using SQL, there's no need to
use radutmp.

> 	Are radutmp entrys ONLY created during accounting start requests, and
> deleted during accounting stop records (Or Accounting On/Off for a NAS), or
> can an accounting interim-update cause the creation of a radutmp entry that
> wasn't there previously?

  I haven't looked at that module in a long time, sorry.

  I *really* suggest not using radumtp if you're using SQL.

  Alan DeKok.



More information about the Freeradius-Users mailing list