FreeRADIUS FreeBSD port

Mike Jakubik mikej at rogers.com
Mon Jan 22 19:05:08 CET 2007


On Sun, January 21, 2007 7:55 pm, David Wood wrote:

> I'm not saying that I've got everything yet, but I think the port is now
> in good shape. If anyone wants to suggest further changes, or audits the
> port and finds any problems, I'm listening. Patches are particularly
> welcome, of course.

Thanks for taking the time to support the port. The only issue i have, and
this may very well not be this ports fault, is that when defined to use
mysql, the port starts before mysql is ready for it, so it dies, and never
effectively starts up by itself. Here is an example of what goes on in the
log:

---
Sat Jan 20 23:31:35 2007 : Info: rlm_exec: Wait=yes but no output defined.
Did you mean output=none?
Sat Jan 20 23:31:36 2007 : Info: rlm_sql (sql): Driver rlm_sql_mysql
(module rlm_sql_mysql) loaded and linked
Sat Jan 20 23:31:36 2007 : Info: rlm_sql (sql): Attempting to connect to
root at localhost:/radius
Sat Jan 20 23:31:36 2007 : Info: rlm_sql_mysql: Starting connect to MySQL
server for #0
Sat Jan 20 23:31:36 2007 : Error: rlm_sql_mysql: Couldn't connect socket
to MySQL server root at localhost:radius
Sat Jan 20 23:31:36 2007 : Error: rlm_sql_mysql: Mysql error 'Can't
connect to local MySQL server through socket '/tmp/mysql.sock
Sat Jan 20 23:31:36 2007 : Error: rlm_sql (sql): Failed to connect DB
handle #0
Sat Jan 20 23:31:36 2007 : Info: rlm_sql (sql): There are no DB handles to
use! skipped 5, tried to connect 0
Sat Jan 20 23:31:36 2007 : Error: rlm_sql (sql): generate_sql_clients()
returned error
Sat Jan 20 23:31:36 2007 : Error: radiusd.conf[14]: sql: Module
instantiation failed.
Sat Jan 20 23:31:36 2007 : Error: radiusd.conf[1798] Unknown module "sql".
Sat Jan 20 23:31:36 2007 : Error: radiusd.conf[1727] Failed to parse
authorize section.





More information about the Freeradius-Users mailing list