SQL modul

Fajar A. Nugraha work at fajar.net
Wed Dec 22 05:34:37 CET 2010


2010/12/22 Norman Diamond <n0diamond at yahoo.co.jp>:
> Fajar A. Nugraha wrote:
>> Norman Diamond wrote:
>>> Fajar A. Nugraha wrote:
>>>>
>>>> What does the debug log show?
>>>
>>> OK, I ran radiusd -XXXC and it's the same.  Output
>>> lines now have the word Debug in them but the
>>> contents are the same.  It successfully links to
>>> rlm_realm and configures that, as used by
>>> inner-tunnel.  (If I unconfigure sql in
>>> inner-tunnel then the last successful operation
>>> comes somewhat later in default.)  Immediately
>>> after that success, it says:
>>> Failed to load module "sql".
>>> It does not give any additional information about
>>> what part of the load operation failed.
>>
>> From http://wiki.freeradius.org/Radiusd
>> "Ask questions on the mailing list. When asking
>> questions, include the output from debugging mode
>> ( radiusd -X ). This information will allow
>> people to help you. Without it, your message will
>> get ignored."
>
> Yahoo's web mail interface wraps lines, sorry.

If you just use "radiusd -X" (like the wiki says) the output would be
much easier to read.

> Anyway I think you'll detect that my wording
> described the output:

> /etc/raddb/sites-enabled/inner-tunnel[118]: Failed to load
> module "sql".

... and if you've included the debug output from start you'd see that
sql.conf was never loaded.
Probably because you haven't bothered looking at radiusd.conf and
uncomment the line

#       $INCLUDE sql.conf

without that, the sql module is not initialized, and would give an
error when you call "sql" in the config file.

-- 
Fajar




More information about the Freeradius-Users mailing list