On Apr 2, 2005 11:50 AM, Blake <[EMAIL PROTECTED]> wrote:
[snip]
> I don't see the option in sql.conf.  Here is what I do have
> 
> sql {
> 
>         driver = "rlm_sql_mysql"
>         server = "localhost"
>         login = "sqladmin"
>         password = "***"
>         radius_db = "radius"
[snip]

Here's your connection settings.  server = "localhost" is what I was
referencing.  You're using "localhost", which is not to be confused
with 127.0.0.1. localhost only uses the unix socket, otherwise a
decimal dotted IP (or a hostname that will resolve to an IP) will be
used via TCP.

Just to fiddle, try switching to 127.0.0.1 and start freeradius.  I
don't expect it to work any different, but if it does, you've narrowed
it down.  If I were stuck in this situation, I would consider using
strace on "radius -X" and maybe even mysql (to different log files). 
You'll have to use a few terms for this (and read those fine man
pages).  I'm not sure what else to try at this point, save to revert
the configs, and carefully reconfigure from defaults.

Best of luck!


Scott Edwards
-- 
Daxal Communications - http://www.daxal.com
Surf the USA - http://www.surfthe.us

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to