no start of radiusd after reboot : mysql connection error
Alan DeKok
aland at deployingradius.com
Fri Feb 8 13:51:22 CET 2008
mailinglists wrote:
> After reboot, freeradius does'nt start, and says this is because it
> could'nt reach the mysql database. But it doesn't even tries to contact
> it (networkingly-speaking : tcpdump sees nothing).
> Just after reboot, if root runs "/etc/init.d/radiusd start", freeradius
> starts OK, and contacts correctly the database.
> If I add a "ping database.domain.com" in the /etc/init.d/radiusd just
> before starting radiusd, it works, even at boot time !! (but it's really
> a dirty and ugly a solution, so I cant' resolv myself to such an issue !!!)
It looks to me like it's a networking issue on that machine. The
"ping" shouldn't effect anything... but it does.
FreeRADIUS is at the mercy of the networking stack && the MySQL
libraries. I don't think there's anything that can be done in
FreeRADIUS to fix that.
Alan DeKok.
More information about the Freeradius-Users
mailing list