<br><font size=2 face="sans-serif">Check the scripts dir that came with
the freeradius source; there is a rc.radiusd file to do that.</font>
<br><font size=2 face="sans-serif">regards<br>
Hernan Antolini<br>
<br>
</font><tt><font size=2>freeradius-users-bounces+antolini=ar.ibm.com@lists.freeradius.org
wrote on 11/24/2006 03:52:53 AM:<br>
<br>
> <br>
> hello<br>
>             i configure chillispot and
freeradius and it is working. But<br>
> whenever i reboot this radiusd server i have to run manually all the
time.<br>
> So how to run this radiusd server at boot time.<br>
>             chillispot ,apche and mysql
all run at boot time but radiusd is<br>
> not.i try it by writing script in /etc/rc.local and also directly
copy<br>
> /usr/local/sbin/radiusd file to /etc/rc.d/init.d but it don't work
. So<br>
> please give me any ideas to start radiusd server at boot time.<br>
> <br>
> regards<br>
> rina <br>
> <br>
> <br>
> <br>
> Diniz Da Rocha wrote:<br>
> > <br>
> > HI,<br>
> > <br>
> > I have currently setup FreeRadius 1.0.4 with ldap authentication
and<br>
> > authorization as well as mysql authorization and its all working
fine. My<br>
> > only problem is that when I boot the server (Fedora Core 4) and
radiusd<br>
> > starts up there is a rlm_sql_mysql error:<br>
> > <br>
> > Wed Feb 15 18:38:51 2006 : Info: rlm_sql (sql): Trying to (re)connect<br>
> > unconnected handle 4..<br>
> > Wed Feb 15 18:38:51 2006 : Info: rlm_sql_mysql: Starting connect
to MySQL<br>
> > server for #4<br>
> > Wed Feb 15 18:38:51 2006 : Error: rlm_sql_mysql: Couldn't connect
socket<br>
> > to<br>
> > MySQL server radius_client@myip:radius<br>
> > Wed Feb 15 18:38:51 2006 : Error: rlm_sql_mysql: Mysql error
'Can't<br>
> > connect<br>
> > to MySQL server on 'myip' (13)'<br>
> > Wed Feb 15 18:38:51 2006 : Error: rlm_sql (sql): Failed to connect
DB<br>
> > handle<br>
> > #4<br>
> > <br>
> > <br>
> > The MySQL server is on another server with ip "myip"
I initially thought<br>
> > it<br>
> > was a firewall block but even with no firewall I get this error.
But once<br>
> > the server has started and I run "service radiusd restart"
from a terminal<br>
> > the connect to the MySQL server works fine and has no problems.
I even<br>
> > tried<br>
> > running the service from rc.local but it still fails did anyone
have this<br>
> > problem??? is anyone running the MySQL server on another machine????
Is<br>
> > there a fix for this???<br>
> > <br>
> > thanks<br>
> > <br>
> > diniz<br>
> > <br>
> > - <br>
> > List info/subscribe/unsubscribe? See<br>
> > http://www.freeradius.org/list/users.html<br>
> > <br>
> <br>
> -- <br>
> View this message in context: http://www.nabble.com/FreeRadius-and-<br>
> MySQL-boot-problem-tf1191658.html#a7518565<br>
> Sent from the FreeRadius - User mailing list archive at Nabble.com.<br>
> <br>
> - <br>
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html<br>
</font></tt>