pre1 dies on startup: generate_sql_clients() returned error

Norbert Wegener norbert.wegener at siemens.com
Mon Aug 27 11:44:16 CEST 2007


I have a larger list of clients, that is read from a mysql database.
Freeradius starts loading the clients, but when having loaded the first 
2442 clients, it dies.
Unfortunately gdb is not very helpfull:
.....
rlm_sql (sql_base): Read entry 
nasname=192.168.36.73,shortname=192.168.36.73,secret=maxen^M
rlm_sql (sql_base): Adding client 192.168.36.73 (192.168.36.73) to 
clients list^M
rlm_sql (sql_base): generate_sql_clients() returned error
rlm_sql (sql_base): Closing sqlsocket 4
rlm_sql (sql_base): Closing sqlsocket 3
rlm_sql (sql_base): Closing sqlsocket 2
rlm_sql (sql_base): Closing sqlsocket 1
rlm_sql (sql_base): Closing sqlsocket 0
radiusd.conf[46]: sql_base: Module instantiation failed.
radiusd.conf[2032] Failed to find module "sql_base".
radiusd.conf[2032] Failed to parse "sql_base" entry.
radiusd.conf[1928] Failed to parse authorize section.
Errors setting up modules

Program exited with code 01.
(gdb) bt
No stack.
(gdb)

Norbert Wegener





More information about the Freeradius-Users mailing list