Freeradius 3.0 with mySQL Database on Qnap-Server

Jorge Pereira jpereira at
Tue Oct 22 19:45:20 CEST 2019

> On 22 Oct 2019, at 12:50, at wrote:
>   Hi everyboday,


>   I have an issue with Freeradius running on a raspberry pi. The mySQL
>   database is on a qnap TS559pro+. Everything runs fine, but the
>   Harddisks of the QNAP will go to Sleep-Mode after an hour.
>   The issue is, that my Cisco Switch sends out requests to the radius and
>   gets a reject reply because the database on the Qnap needs some time to
>   restart the Harddisks.

Well, It could be pretty simple to just remove the Sleep-Mode (I have a similar QNAP here and I disabled it).
Btw, have you tried to start the radiusd in debug mode? e.g: radiusd -Xx, its helpful to see if the problem is
Really related to the delay caused by the Sleep-Mode.

Probably, you should see something in the logs about Failed/Timeout connection with sql

>   How can i configre the delay-time for the RADIUS until he sends out the
>   reject reply to the Switch?
>   Spartacus
> -
> List info/subscribe/unsubscribe? See

Jorge Pereira
jpereira at <mailto:jpereira at>

More information about the Freeradius-Users mailing list