Freeradius + MySQL At System Boot = Freeradius Failure

James Duffy eastcork75 at
Tue Sep 8 00:36:46 CEST 2009


Do you use MySQL for NAS authentication? I have noticed that Freeradius can re-connect to the database for user authentication later in the process. However as NAS is only read during startup then if MySQL is not ready its understandable why Freeradius would bomb out. 


From: Marinko Tarlac <mangia81 at>
To: FreeRadius users mailing list <freeradius-users at>
Sent: Sunday, September 6, 2009 6:28:19 PM
Subject: Re: Freeradius + MySQL At System Boot = Freeradius Failure

same here... I never had similar problem when mysqld is started after 

You should check your mysql logs to see is there any problem which 
causes slow start...

Alan Buxey wrote:
> Hi,
>> I would have thought that a simple option in freeradius that allows it to wait for mysql to startup would be nice. Am I missing something obvious here? Is there a REAL solution or does freeradius not actually work with mysql properly due to the fact its too quick to abandon it during bootup??
> chkconfig mysqld on
> chkconfig radiusd on
> thats all i've ever done and it works fine
> alan
> -
> List info/subscribe/unsubscribe? See

List info/subscribe/unsubscribe? See

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list