Radcheck gives Accept but still moves onto Radgroupcheck

Alan DeKok aland at deployingradius.com
Thu Jun 12 03:14:46 CEST 2014

Brent Wilkinson wrote:
> I am setting up a new Radius server or a mikrotik hotspot system. I am
> getting a wierd issue that I have not been able to solve or find hints
> to what to do to fix it. I have setup the system with mysql. I see the
> radcheck happen and show it retrieved a record. ( I have verified the
> sql statments do actually pull something).  I am not sending any reply
> so nothing is found in that table. At this point from what I understand
> in reading how the sql module works at this point it should send back a
> Access-Accept.

  Perhaps.  See:


  That explains how the module works.

> Unfortunatly it does not and continues to do group checks
> and I end up with a reject.

  No.  See the debug log.

> Hoping someone can give me a idea of what I need to look at or what I
> can read up more on to track the issue I am having down.

  Read the debug log.  Look for "Reject".

> [sql_log]              expand: /var/log/freeradius/radacct/sql-relay ->
> /var/log/freeradius/radacct/sql-relay
> [sql_log] Couldn't open file /var/log/freeradius/radacct/sql-relay: No
> such file or directory
> ++[sql_log] returns fail

  That seems pretty clear.  It has nothing to do with radcheck, or

  Alan DeKok.

More information about the Freeradius-Users mailing list