Freeradius 3.0 with mySQL Database on Qnap-Server
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. How can i configre the delay-time for the RADIUS until he sends out the reject reply to the Switch? Spartacus
On 22 Oct 2019, at 12:50, spartacus.forum@web.de wrote:
Hi everyboday,
Hi,
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 http://www.freeradius.org/list/users.html
--- Jorge Pereira jpereira@networkradius.com <mailto:jpereira@networkradius.com>
On Oct 22, 2019, at 11:50 AM, spartacus.forum@web.de wrote:
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.
How can i configre the delay-time for the RADIUS until he sends out the reject reply to the Switch?
You don't. You fix the DB so that it doesn't go away. If FreeRADIUS depends on a critical system, then make sure that the critical system works. Anything else is a work-around which will create problems. Alan DeKok.
participants (3)
-
Alan DeKok -
Jorge Pereira -
spartacus.forum@web.de