Because there are no file named rlm_sql_mysql under RADIUSPATH/lib then under
sql.conf i tried to change the driver into "rlm_sql" instead of
"rlm_sql_mysql"
and the result is:
sql: simul_verify_query = "SELECT RadAcctId, AcctSessionId, UserName,
NASIPAddress, NASPortId, FramedIPAddress, CallingStationId, FramedProtocol
FROM radacct WHERE UserName='%{SQL-User-Name}' AND AcctStopTime = 0"
rlm_sql (sql): Driver rlm_sql (module SQL) loaded and linked
rlm_sql (sql): Attempting to connect to [EMAIL PROTECTED]:/radius
rlm_sql (sql): starting 0
rlm_sql (sql): Attempting to connect SQL #0
Segmentation fault
[EMAIL PROTECTED]:/usr/local/radiusd/etc/raddb#
Need help, thanks ..
Regards,
Rio Martin.
On Tuesday 09 September 2003 18:47, Ulrich Walcher wrote:
> I guess you'll have to add the configure options for mysql like:
> > sql: simul_verify_query = "SELECT RadAcctId, AcctSessionId, UserName,
> > NASIPAddress, NASPortId, FramedIPAddress, CallingStationId,
> > FramedProtocol FROM radacct WHERE UserName='%{SQL-User-Name}' AND
> > AcctStopTime = 0" rlm_sql (sql): Could not link driver rlm_sql_mysql:
> > file not found rlm_sql (sql): Make sure it (and all its dependent
> > libraries!) are in the search path of your system's ld.
> > radiusd.conf[14]: sql: Module instantiation failed.
> > --
> >
> > I wonder why still not worked ? Of course FAQ given the right instruction
> > right ? I ve tried google, answer to related problem is just the same as
> > written in FAQ. Do i missed something ?
> >
> > Regards,
> > Rio Martin.
> >
> >
> > -
> > List info/subscribe/unsubscribe? See
> > http://www.freeradius.org/list/users.html
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html