Never mind, I think I got it.  It seems that the
modules section defines module attributes and alias and
any sections below that references a module will
cause that module being instantiated and loaded, am I correct?


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alex Chen
Sent: Thursday, June 26, 2003 4:03 PM
To: [EMAIL PROTECTED]
Subject: How do I know if SQL module is loaded?


I am trying to build FreeRadius 0.8.1 to use MySQL DB on RH LINUX 8.0 .
Previously I did not install MySQL header file package so rlm_sql_mysql was
not even built.

After I installed that and did a clean rebuild, that module was built and
put under
/usr/local/lib. But when I started radiusd with the '-X' flag, I still did
not see a message
saying the SQL module was loaded, although the sql was in the modules
section.

The file radiusd.conf has the following entry for SQL:
modules {
         pap {...}
         chap {...}
         pam {...}
         unix {...}
         ....
         files {...}
           $INCLUDE  ${confdir}/sql.conf
         ...
        }

If I added 'sql' in the 'instantiate' section, then the SQL module were
loaded fine.
But there was only two modules, expr and sql, in that section.

What determines which module will be instantiated?


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


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

Reply via email to