Instantiation failed for module "sql" Errors initializing modules

Phil Mayers p.mayers at
Wed Jan 9 12:30:31 CET 2013

On 01/09/2013 06:29 AM, Elizabeth Fife wrote:
> Hi
> I am using MAC OSX server. I was checking out the inbuilt freeradius. I
> have not altered files related to this service and simply tried
> radiusd -X
> The following error was received
> FreeRADIUS Version 2.1.3, for host i386-apple-darwin10.0, built on Apr

This is ancient. Upgrade.

> /private/etc/raddb/sqlite_radius_client_database for #4
> rlm_sql_sqlite: sqlite3_open() = 0
> rlm_sql (sql): Connected new DB handle, #4
> rlm_sql_sqlite: sqlite3_prepare() = 1
> rlm_sql (sql): failed after re-connect

Your sqlite database is failing. Check it exists, has the schema 
defined, and that permissions allow FreeRADIUS to read it.

More information about the Freeradius-Users mailing list