Freeradius + MySQL At System Boot = Freeradius Failure

2009-09-05 Thread James Duffy
Hi, Am having problems using freeradius and mysql. Basically they are both set to start at system boot but as MySQL takes longer to get going freeradius bombs out with Mysql error 'Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)' type errors. I can 'fix'

Re: Pre-release of 2.1.7

2009-09-05 Thread Alan DeKok
Joe Maimon wrote: The last time I had a problem with libltdl, I has to execute a make manually in the source tree libltdl directory. After that everything worked, including rebuilds. Hmm... that means it was *trying* to use the system libltdl, and failed. That's annoying, and I'm not

Re: Pre-release of 2.1.7

2009-09-05 Thread Alan DeKok
Joe Maimon wrote: The last time I had a problem with libltdl, I has to execute a make manually in the source tree libltdl directory. After that everything worked, including rebuilds. It turns out it's a problem with newer versions of libltdl. Warning: this message is long and complicated.

Re: Freeradius + MySQL At System Boot = Freeradius Failure

2009-09-05 Thread Fajar A. Nugraha
On Sat, Sep 5, 2009 at 1:23 PM, James Duffyeastcor...@ymail.com wrote: Hi, Am having problems using freeradius and mysql. Basically they are both set to start at system boot but as MySQL takes longer to get going freeradius bombs out with Mysql error 'Can't connect to local MySQL server

Re: Freeradius + MySQL At System Boot = Freeradius Failure

2009-09-05 Thread James Duffy
Based on the reply from Fajar I came up with this as my rc.local: # MySQL startup if [ -x /usr/local/bin/mysqld_safe ]; then /usr/local/bin/mysqld_safe --user=_mysql echo -n ' mysqld ' fi # Wait for the NAS table to come online - otherwise freeradius bombs!! while !