<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello list, I have problem at the time to debug my
radiusd, this is the log....</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>#radiusd -X<BR>Starting - reading configuration
files ...<BR>reread_config: reading radiusd.conf<BR>Config:
including file: /usr/local/etc/raddb/clients.conf<BR>Config:
including file: /usr/local/etc/raddb/snmp.conf<BR>Config: including
file: /usr/local/etc/raddb/eap.conf<BR>Config: including file:
/usr/local/etc/raddb/sql.conf<BR>Config: including file:
/usr/local/etc/raddb/sqlippool.conf<BR> main: prefix =
"/usr/local"<BR> main: localstatedir = "/usr/local/var"<BR> main:
logdir = "/usr/local/var/log/radius"<BR> main: libdir =
"/usr/local/lib"<BR> main: radacctdir =
"/usr/local/var/log/radius/radacct"<BR> main: hostname_lookups =
no<BR> main: max_request_time = 30<BR> main: cleanup_delay =
5<BR> main: max_requests = 1024<BR> main: delete_blocked_requests =
0<BR> main: port = 0<BR> main: allow_core_dumps = no<BR> main:
log_stripped_names = no<BR> main: log_file =
"/usr/local/var/log/radius/radius.log"<BR> main: log_auth =
yes<BR> main: log_auth_badpass = yes<BR> main: log_auth_goodpass =
yes<BR> main: pidfile =
"/usr/local/var/run/radiusd/radiusd.pid"<BR> main: user =
"(null)"<BR> main: group = "(null)"<BR> main: usercollide =
no<BR> main: lower_user = "no"<BR> main: lower_pass =
"no"<BR> main: nospace_user = "no"<BR> main: nospace_pass =
"no"<BR> main: checkrad = "/usr/local/sbin/checkrad"<BR> main:
proxy_requests = no<BR> security: max_attributes = 200<BR> security:
reject_delay = 1<BR> security: status_server = no<BR> main:
debug_level = 0<BR>read_config_files: reading
dictionary<BR>read_config_files: reading naslist<BR>Using deprecated
naslist file. Support for this will go away
soon.<BR>read_config_files: reading clients<BR>read_config_files:
reading realms<BR>radiusd: entering modules setup<BR>Module: Library
search path is /usr/local/lib<BR>Module: Loaded exec<BR> exec: wait =
yes<BR> exec: program = "(null)"<BR> exec: input_pairs =
"request"<BR> exec: output_pairs = "(null)"<BR> exec: packet_type =
"(null)"<BR>rlm_exec: Wait=yes but no output defined. Did you mean
output=none?<BR>Module: Instantiated exec (exec)<BR>Module: Loaded
expr<BR>Module: Instantiated expr (expr)<BR>Module: Loaded PAP<BR> pap:
encryption_scheme = "crypt"<BR>Module: Instantiated pap (pap)<BR>Module: Loaded
eap<BR> eap: default_eap_type = "md5"<BR> eap: timer_expire =
60<BR> eap: ignore_unknown_eap_types = no<BR> eap:
cisco_accounting_username_bug = no<BR>rlm_eap: Loaded and initialized type
md5<BR>rlm_eap: Loaded and initialized type leap<BR> gtc: challenge =
"Password: "<BR> gtc: auth_type = "PAP"<BR>rlm_eap: Loaded and initialized
type gtc<BR> mschapv2: with_ntdomain_hack = no<BR>rlm_eap: Loaded and
initialized type mschapv2<BR>Module: Instantiated eap (eap)<BR>Module: Loaded
preprocess<BR> preprocess: huntgroups =
"/usr/local/etc/raddb/huntgroups"<BR> preprocess: hints =
"/usr/local/etc/raddb/hints"<BR> preprocess: with_ascend_hack =
no<BR> preprocess: ascend_channels_per_line = 23<BR> preprocess:
with_ntdomain_hack = no<BR> preprocess: with_specialix_jetstream_hack =
no<BR> preprocess: with_cisco_vsa_hack = no<BR> preprocess:
with_alvarion_vsa_hack = no<BR>Module: Instantiated preprocess
(preprocess)<BR>Module: Loaded Acct-Unique-Session-Id<BR> acct_unique: key
= "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address,
NAS-Port"<BR>Module: Instantiated acct_unique (acct_unique)<BR>Module: Loaded
files<BR> files: usersfile = "/usr/local/etc/raddb/users"<BR> files:
acctusersfile = "/usr/local/etc/raddb/acct_users"<BR> files:
preproxy_usersfile = "/usr/local/etc/raddb/preproxy_users"<BR> files:
compat = "no"<BR>Module: Instantiated files (files)<BR>Module: Loaded
detail<BR> detail: detailfile =
"/usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d"<BR> detail:
detailperm = 384<BR> detail: dirperm = 493<BR> detail: locking =
no<BR>Module: Instantiated detail (detail)<BR>Module: Loaded
System<BR> unix: cache = no<BR> unix: passwd = "(null)"<BR> unix:
shadow = "(null)"<BR> unix: group = "(null)"<BR> unix: radwtmp =
"/usr/local/var/log/radius/radwtmp"<BR> unix: usegroup = no<BR> unix:
cache_reload = 600<BR>Module: Instantiated unix (unix)<BR>Module: Loaded
radutmp<BR> radutmp: filename =
"/usr/local/var/log/radius/radutmp"<BR> radutmp: username =
"%{User-Name}"<BR> radutmp: case_sensitive = yes<BR> radutmp:
check_with_nas = yes<BR> radutmp: perm = 384<BR> radutmp: callerid =
yes<BR>Module: Instantiated radutmp (radutmp)<BR>Module: Loaded
SQL<BR> sql: driver = "rlm_sql_mysql"<BR> sql: server =
"localhost"<BR> sql: port = ""<BR> sql: login = "radius"<BR> sql:
password = "dialup"<BR> sql: radius_db = "radius"<BR> sql: nas_table =
"nas"<BR> sql: sqltrace = no<BR> sql: sqltracefile =
"/usr/local/var/log/radius/sqltrace.sql"<BR> sql: readclients =
no<BR> sql: deletestalesessions = yes<BR> sql: num_sql_socks =
5<BR> sql: sql_user_name = "%{User-Name}"<BR> sql:
default_user_profile = ""<BR> sql: query_on_not_found = no<BR> sql:
authorize_check_query = "SELECT id, UserName, Attribute, Value,
op FROM
radcheck WHERE
Username =
'%{SQL-User-Name}'
ORDER BY id"<BR> sql: authorize_reply_query = "SELECT id, UserName,
Attribute, Value, op
FROM radreply WHERE
Username =
'%{SQL-User-Name}'
ORDER BY id"<BR> sql: authorize_group_check_query = "SELECT
radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op
FROM radgroupcheck,usergroup WHERE usergroup.Username = '%{SQL-User-Name}' AND
usergroup.GroupName = radgroupcheck.GroupName ORDER BY
radgroupcheck.id"<BR> sql: authorize_group_reply_query = "SELECT
radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op
FROM radgroupreply,usergroup WHERE usergroup.Username = '%{SQL-User-Name}' AND
usergroup.GroupName = radgroupreply.GroupName ORDER BY
radgroupreply.id"<BR> sql: accounting_onoff_query = "UPDATE radacct SET
AcctStopTime='%S', AcctSessionTime=unix_timestamp('%S') -
unix_timestamp(AcctStartTime), AcctTerminateCause='%{Acct-Terminate-Cause}',
AcctStopDelay = '%{Acct-Delay-Time}' WHERE AcctSessionTime=0 AND AcctStopTime=0
AND NASIPAddress= '%{NAS-IP-Address}' AND AcctStartTime <=
'%S'"<BR> sql: accounting_update_query = "UPDATE
radacct SET
FramedIPAddress =
'%{Framed-IP-Address}',
AcctSessionTime =
'%{Acct-Session-Time}',
AcctInputOctets =
'%{Acct-Input-Octets}',
AcctOutputOctets =
'%{Acct-Output-Octets}'
WHERE AcctSessionId =
'%{Acct-Session-Id}'
AND UserName =
'%{SQL-User-Name}'
AND NASIPAddress= '%{NAS-IP-Address}'"<BR> sql: accounting_update_query_alt
= "INSERT into radacct (AcctSessionId, AcctUniqueId, UserName, Realm,
NASIPAddress, NASPortId, NASPortType, AcctStartTime, AcctSessionTime,
AcctAuthentic, ConnectInfo_start, AcctInputOctets, AcctOutputOctets,
CalledStationId, CallingStationId, ServiceType, FramedProtocol, FramedIPAddress,
AcctStartDelay) values('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}',
'%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{NAS-Port}',
'%{NAS-Port-Type}', DATE_SUB('%S',INTERVAL (%{Acct-Session-Time:-0} +
%{Acct-Delay-Time:-0}) SECOND), '%{Acct-Session-Time}', '%{Acct-Authentic}', '',
'%{Acct-Input-Octets}', '%{Acct-Output-Octets}', '%{Called-Station-Id}',
'%{Calling-Station-Id}', '%{Service-Type}', '%{Framed-Protocol}',
'%{Framed-IP-Address}', '0')"<BR> sql: accounting_start_query = "INSERT
into radacct (AcctSessionId, AcctUniqueId, UserName, Realm, NASIPAddress,
NASPortId, NASPortType, AcctStartTime, AcctStopTime, AcctSessionTime,
AcctAuthentic, ConnectInfo_start, ConnectInfo_stop, AcctInputOctets,
AcctOutputOctets, CalledStationId, CallingStationId, AcctTerminateCause,
ServiceType, FramedProtocol, FramedIPAddress, AcctStartDelay, AcctStopDelay)
values('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}',
'%{Realm}', '%{NAS-IP-Address}', '%{NAS-Port}', '%{NAS-Port-Type}', '%S', '0',
'0', '%{Acct-Authentic}', '%{Connect-Info}', '', '0', '0',
'%{Called-Station-Id}', '%{Calling-Station-Id}', '', '%{Service-Type}',
'%{Framed-Protocol}', '%{Framed-IP-Address}', '%{Acct-Delay-Time}',
'0')"<BR> sql: accounting_start_query_alt = "UPDATE radacct SET
AcctStartTime = '%S', AcctStartDelay = '%{Acct-Delay-Time}', ConnectInfo_start =
'%{Connect-Info}' WHERE AcctSessionId = '%{Acct-Session-Id}' AND UserName =
'%{SQL-User-Name}' AND NASIPAddress = '%{NAS-IP-Address}'"<BR> sql:
accounting_stop_query = "UPDATE radacct SET AcctStopTime = '%S', AcctSessionTime
= '%{Acct-Session-Time}', AcctInputOctets = '%{Acct-Input-Octets}',
AcctOutputOctets = '%{Acct-Output-Octets}', AcctTerminateCause =
'%{Acct-Terminate-Cause}', AcctStopDelay = '%{Acct-Delay-Time}',
ConnectInfo_stop = '%{Connect-Info}' WHERE AcctSessionId = '%{Acct-Session-Id}'
AND UserName = '%{SQL-User-Name}' AND NASIPAddress =
'%{NAS-IP-Address}'"<BR> sql: accounting_stop_query_alt = "INSERT into
radacct (AcctSessionId, AcctUniqueId, UserName, Realm, NASIPAddress, NASPortId,
NASPortType, AcctStartTime, AcctStopTime, AcctSessionTime, AcctAuthentic,
ConnectInfo_start, ConnectInfo_stop, AcctInputOctets, AcctOutputOctets,
CalledStationId, CallingStationId, AcctTerminateCause, ServiceType,
FramedProtocol, FramedIPAddress, AcctStartDelay, AcctStopDelay)
values('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}',
'%{Realm}', '%{NAS-IP-Address}', '%{NAS-Port}', '%{NAS-Port-Type}',
DATE_SUB('%S', INTERVAL (%{Acct-Session-Time:-0} + %{Acct-Delay-Time:-0})
SECOND), '%S', '%{Acct-Session-Time}', '%{Acct-Authentic}', '',
'%{Connect-Info}', '%{Acct-Input-Octets}', '%{Acct-Output-Octets}',
'%{Called-Station-Id}', '%{Calling-Station-Id}', '%{Acct-Terminate-Cause}',
'%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '0',
'%{Acct-Delay-Time}')"<BR> sql: group_membership_query = "SELECT GroupName
FROM usergroup WHERE UserName='%{SQL-User-Name}'"<BR> sql:
connect_failure_retry_delay = 60<BR> sql: simul_count_query =
""<BR> sql: simul_verify_query = "SELECT RadAcctId, AcctSessionId,
UserName, NASIPAddress, NASPortId, FramedIPAddress, CallingStationId,
FramedProtocol FROM radacct WHERE UserName='%{SQL-User-Name}' AND AcctStopTime =
0"<BR> sql: postauth_query = "INSERT into radpostauth (id, user, pass,
reply, date) values ('', '%{User-Name}', '%{User-Password:-Chap-Password}',
'%{reply:Packet-Type}', NOW())"<BR> sql: safe-characters =
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_:
/"<BR>rlm_sql (sql): Could not link driver rlm_sql_mysql: rlm_sql_mysql.so:
cannot open shared object file: No such file or directory<BR>rlm_sql (sql): Make
sure it (and all its dependent libraries!) are in the search path of your
system's ld.<BR>radiusd.conf[14]: sql: Module instantiation
failed.<BR>radiusd.conf[1826] Unknown module "sql".<BR>radiusd.conf[1821] Failed
to parse session section.<BR></DIV></FONT>
<DIV><FONT face=Arial size=2>Look like that the module sql failed, What I must
to do?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanx for everything</FONT></DIV>
<DIV><FONT face=Arial size=2>Abel</FONT></DIV></BODY></HTML>