MySQL + freeradius problem

Alan DeKok aland at deployingradius.com
Thu Aug 14 17:29:23 CEST 2008


Igor Sawczuk wrote:
> Hi,
> I have problem with freeradius and MySQL.
> I run successfully freeradius using users file, but I wanted to
> migrate to MySQL,and from then I have a lot of problems.
> First of all, I got errors in radius.log that I not understand:
> Thu Aug 14 16:16:17 2008 : Error: rlm_radutmp: Logout for NAS XXXX
> port 285213359, but no Login record

  The NAS is sending out of order packets.  If you're not using
rlm_radutmp, then delete the references to it from the configuration files.

> Thu Aug 14 16:16:17 2008 : Error: rlm_sql (sql) in sql_accounting:
> stop packet with zero session length. [user 'user_XXX', nas
> '172.16.2.3']

  That message can be ignored.

> Thu Aug 14 16:16:21 2008 : Auth: Login OK: [user_XXX] (from client
> XXXX port 285213359 cli #XXX#ZZZ#VVV)
> 
> I get this logs, when I shutdown old radius, and start new which is using MySQL.
> I don't know why, NAS is still asking for user_XXX and radius always
> gives error msg (above).
> 
> The question is:
> 1. Should I change something in my radius+MySQL configuration? (for
> ex. add additional atributes radreply)

  No.

> 2. Should I wait, until everybody logout from old radius, and the start new.

  No.

  Alan DeKok.



More information about the Freeradius-Users mailing list