Thanks, This is the full radiusd -X debug message.
I also attached a copy of router config. ---- Starting - reading configuration files ...reread_config: reading radiusd.confConfig: including file: /usr/local//etc/raddb/clients.confConfig: including file: /usr/local//etc/raddb/snmp.confConfig: including file: /usr/local//etc/raddb/sql.conf main: prefix = "/usr/local/" main: localstatedir = "/usr/local//var" main: logdir = "/usr/local//var/log/radius" main: libdir = "/usr/local//lib" main: radacctdir = "/usr/local//var/log/radius/radacct" main: hostname_lookups = noread_config_files: reading dictionaryread_config_files: reading clientsread_config_files: reading realmsread_config_files: reading naslist main: max_request_time = 30 main: cleanup_delay = 5 main: max_requests = 1024 main: delete_blocked_requests = 0 main: port = 0 main: allow_core_dumps = no main: log_stripped_names = no main: log_auth = no main: log_auth_badpass = no main: log_auth_goodpass = no main: pidfile = "/usr/local//var/run/radiusd/radiusd.pid" main: user = "mysql" main: group = "mysql" main: usercollide = no main: lower_user = "no" main: lower_pass = "no" main: nospace_user = "no" main: nospace_pass = "no" main: proxy_requests = no security: max_attributes = 200 security: reject_delay = 1 main: debug_level = 0read_config_files: entering modules setupModule: Library search path is /usr/local/libModule: Loaded System unix: cache = yes unix: passwd = "/etc/passwd" unix: shadow = "/etc/shadow" unix: group = "/etc/group" unix: radwtmp = "/usr/local//var/log/radius/radwtmp" unix: usegroup = no unix: cache_reload = 600HASH: Reinitializing hash structures and lists for caching... HASH: user root found in hashtable bucket 11726 HASH: user bin found in hashtable bucket 86651 HASH: user daemon found in hashtable bucket 11668 HASH: user adm found in hashtable bucket 26466 HASH: user lp found in hashtable bucket 54068 HASH: user sync found in hashtable bucket 42895 HASH: user shutdown found in hashtable bucket 71746 HASH: user halt found in hashtable bucket 7481 HASH: user mail found in hashtable bucket 79471 HASH: user news found in hashtable bucket 5375 HASH: user uucp found in hashtable bucket 38541 HASH: user operator found in hashtable bucket 21748 HASH: user games found in hashtable bucket 47657 HASH: user gopher found in hashtable bucket 47357 HASH: user ftp found in hashtable bucket 56226 HASH: user nobody found in hashtable bucket 99723 HASH: user vcsa found in hashtable bucket 25959 HASH: user mailnull found in hashtable bucket 78086 HASH: user rpm found in hashtable bucket 72383 HASH: user rpc found in hashtable bucket 72373 HASH: user rpcuser found in hashtable bucket 552 HASH: user nfsnobody found in hashtable bucket 51830 HASH: user ident found in hashtable bucket 40304 HASH: user osogbetun found in hashtable bucket 51750 HASH: user nscd found in hashtable bucket 36306 HASH: user mysql found in hashtable bucket 46314HASH: Stored 26 entries from /etc/passwdHASH: Stored 36 entries from /etc/groupModule: Instantiated unix (unix) Module: Loaded preprocess preprocess: huntgroups = "/usr/local//etc/raddb/huntgroups" preprocess: hints = "/usr/local//etc/raddb/hints" preprocess: with_ascend_hack = no preprocess: ascend_channels_per_line = 23 preprocess: with_ntdomain_hack = no preprocess: with_specialix_jetstream_hack = no preprocess: with_cisco_vsa_hack = yesModule: Instantiated preprocess (preprocess) Module: Loaded realm realm: format = "suffix" realm: delimiter = "@"Module: Instantiated realm (suffix) Module: Loaded SQL sql: driver = "rlm_sql_mysql" sql: server = "192.120.130.3" sql: port = "" sql: login = "mysql" sql: password = "passwd4me" sql: radius_db = "db_radius" sql: acct_table = "radacct" sql: acct_table2 = "radacct" sql: authcheck_table = "radcheck" sql: authreply_table = "radreply" sql: groupcheck_table = "radgroupcheck" sql: groupreply_table = "radgroupreply" sql: usergroup_table = "usergroup" sql: nas_table = "nas" sql: dict_table = "dictionary" sql: sqltrace = yes sql: sqltracefile = "/usr/local//var/log/radius/sqltrace.sql" sql: deletestalesessions = yes sql: num_sql_socks = 5 sql: sql_user_name = "%{Stripped-User-Name:-%{User-Name:-none}}" sql: authorize_check_query = "SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE Username = '%{SQL-User-Name}' ORDER BY id" sql: authorize_reply_query = "SELECT id,UserName,Attribute,Value,op FROM radreply WHERE Username = '%{SQL-User-Name}' ORDER BY id" 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" 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" sql: authenticate_query = "SELECT Value,Attribute FROM radcheck WHERE UserName = '%{User-Name}' AND ( Attribute = 'User-Password' OR Attribute = 'Password' OR Attribute = 'Crypt-Password' ) ORDER BY Attribute DESC" 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'" sql: accounting_update_query = "UPDATE radacct SET FramedIPAddress = '%{Framed-IP-Address}' WHERE AcctSessionId = '%{Acct-Session-Id}' AND UserName = '%{SQL-User-Name}' AND NASIPAddress= '%{NAS-IP-Address}' AND AcctStopTime = 0" sql: accounting_start_query = "INSERT into radacct (RadAcctId, 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')" 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}' AND AcctStopTime = 0" 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}' AND AcctStopTime = 0" sql: accounting_stop_query_alt = "INSERT into radacct (RadAcctId, 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}', '0', '%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}')" sql: connect_failure_retry_delay = 60 sql: simul_count_query = "" sql: simul_verify_query = "SELECT RadAcctId, AcctSessionId, UserName, NASIPAddress, NASPortId, FramedIPAddress, CalledStationId FROM radacct WHERE UserName='%{SQL-User-Name}' AND AcctStopTime = 0" sql: simul_zap_query = "DELETE FROM radacct WHERE RadAcctId = '%s'"rlm_sql: Driver rlm_sql_mysql loaded and linkedrlm_sql: Attempting to connect to [EMAIL PROTECTED]:/db_radiusrlm_sql: starting 0rlm_sql: Attempting to connect #0rlm_sql: Starting connect to MySQL server for #0rlm_sql: Connected new DB handle, #0rlm_sql: starting 1rlm_sql: Attempting to connect #1rlm_sql: Starting connect to MySQL server for #1rlm_sql: Connected new DB handle, #1rlm_sql: starting 2rlm_sql: Attempting to connect #2rlm_sql: Starting connect to MySQL server for #2rlm_sql: Connected new DB handle, #2rlm_sql: starting 3rlm_sql: Attempting to connect #3rlm_sql: Starting connect to MySQL server for #3rlm_sql: Connected new DB handle, #3rlm_sql: starting 4rlm_sql: Attempting to connect #4rlm_sql: Starting connect to MySQL server for #4rlm_sql: Connected new DB handle, #4Module: Instantiated sql (sql) Module: Loaded files files: usersfile = "/usr/local//etc/raddb/users" files: acctusersfile = "/usr/local//etc/raddb/acct_users" files: compat = "no"Module: Instantiated files (files) Module: Loaded detail detail: detailfile = "/usr/local//var/log/radius/radacct/%{Client-IP-Address}/detail" detail: detailperm = 384 detail: dirperm = 493 detail: locking = noModule: Instantiated detail (detail) Module: Loaded radutmp radutmp: filename = "/usr/local//var/log/radius/radutmp" radutmp: username = "%{User-Name}" radutmp: perm = 384 radutmp: callerid = yesModule: Instantiated radutmp (radutmp) Listening on IP address *, ports 1812/udp and 1813/udp.Ready to process requests.rad_recv: Access-Request packet from host 192.120.130.2:1645, id=95, length=76 NAS-IP-Address = 192.120.130.2 NAS-Port = 0 Cisco-NAS-Port = "tty0" NAS-Port-Type = Async User-Name = "cocoon" User-Password = ";\010\210\274\345\327\303\201Bi\361\263+vj\301"modcall: entering group authorize modcall[authorize]: module "preprocess" returns ok rlm_realm: Looking up realm NULL for User-Name = "cocoon" rlm_realm: No such realm NULL modcall[authorize]: module "suffix" returns noopradius_xlat: 'cocoon'sql_set_user: escaped user --> 'cocoon'radius_xlat: 'SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE Username = 'cocoon' ORDER BY id'rlm_sql: Reserving sql socket id: 4query: SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE Username = 'cocoon' ORDER BY idradius_xlat: 'SELECT radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op FROM radgroupcheck,usergroup WHERE usergroup.Username = 'cocoon' AND usergroup.GroupName = radgroupcheck.GroupName ORDER BY radgroupcheck.id'query: SELECT radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op FROM radgroupcheck,usergroup WHERE usergroup.Username = 'cocoon' AND usergroup.GroupName = radgroupcheck.GroupName ORDER BY radgroupcheck.idrlm_sql: unknown attribute Servive_typerlm_sql: Error getting data from databaseradius_xlat: 'SELECT id,UserName,Attribute,Value,op FROM radreply WHERE Username = 'cocoon' ORDER BY id'query: SELECT id,UserName,Attribute,Value,op FROM radreply WHERE Username = 'cocoon' ORDER BY idradius_xlat: 'SELECT radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op FROM radgroupreply,usergroup WHERE usergroup.Username = 'cocoon' AND usergroup.GroupName = radgroupreply.GroupName ORDER BY radgroupreply.id'query: SELECT radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op FROM radgroupreply,usergroup WHERE usergroup.Username = 'cocoon' AND usergroup.GroupName = radgroupreply.GroupName ORDER BY radgroupreply.idradius_xlat: 'SELECT Value,Attribute FROM radcheck WHERE UserName = 'cocoon' AND ( Attribute = 'User-Password' OR Attribute = 'Password' OR Attribute = 'Crypt-Password' ) ORDER BY Attribute DESC'query: SELECT Value,Attribute FROM radcheck WHERE UserName = 'cocoon' AND ( Attribute = 'User-Password' OR Attribute = 'Password' OR Attribute = 'Crypt-Password' ) ORDER BY Attribute DESCrlm_sql: Released sql socket id: 4 modcall[authorize]: module "sql" returns ok modcall[authorize]: module "files" returns notfoundmodcall: group authorize returns okauth: type Localauth: user supplied User-Password matches local User-PasswordSending Access-Accept of id 95 to 192.120.130.2:1645 Cisco-AVPair = "shell:priv-lvl=15"Finished request 0Going to the next request--- Walking the entire request list ---Waking up in 6 seconds...rad_recv: Accounting-Request packet from host 192.120.130.2:1646, id=96, length=92 NAS-IP-Address = 192.120.130.2 NAS-Port = 0 Cisco-NAS-Port = "tty0" NAS-Port-Type = Async User-Name = "cocoon" Acct-Status-Type = Start Acct-Authentic = RADIUS Service-Type = NAS-Prompt-User Acct-Session-Id = "0000001C" Acct-Delay-Time = 0modcall: entering group preacct modcall[preacct]: module "preprocess" returns noop rlm_realm: Looking up realm NULL for User-Name = "cocoon" rlm_realm: No such realm NULL modcall[preacct]: module "suffix" returns noop modcall[preacct]: module "files" returns noopmodcall: group preacct returns noopmodcall: entering group accountingradius_xlat: '/usr/local//var/log/radius/radacct/192.120.130.2/detail'rlm_detail: /usr/local//var/log/radius/radacct/%{Client-IP-Address}/detail expands to /usr/local//var/log/radius/radacct/192.120.130.2/detail modcall[accounting]: module "detail" returns ok modcall[accounting]: module "unix" returns okradius_xlat: 'cocoon' modcall[accounting]: module "radutmp" returns okmodcall: group accounting returns okSending Accounting-Response of id 96 to 192.120.130.2:1646Finished request 1Going to the next request--- Walking the entire request list ---Cleaning up request 1 ID 96 with timestamp 3dd007c6Waking up in 5 seconds...--- Walking the entire request list ---Waking up in 1 seconds...--- Walking the entire request list ---Cleaning up request 0 ID 95 with timestamp 3dd007c5Nothing to do. Sleeping until we see a request.rad_recv: Accounting-Request packet from host 192.120.130.2:1646, id=97, length=116 NAS-IP-Address = 192.120.130.2 NAS-Port = 0 Cisco-NAS-Port = "tty0" NAS-Port-Type = Async User-Name = "cocoon" Acct-Status-Type = Stop Acct-Authentic = RADIUS Service-Type = NAS-Prompt-User Acct-Session-Id = "0000001C" X-Ascend-Disconnect-Cause = 20 Acct-Session-Time = 17 X-Ascend-Data-Rate = 0 X-Ascend-Xmit-Rate = 0 Acct-Delay-Time = 0modcall: entering group preacct modcall[preacct]: module "preprocess" returns noop rlm_realm: Looking up realm NULL for User-Name = "cocoon" rlm_realm: No such realm NULL modcall[preacct]: module "suffix" returns noop modcall[preacct]: module "files" returns noopmodcall: group preacct returns noopmodcall: entering group accountingradius_xlat: '/usr/local//var/log/radius/radacct/192.120.130.2/detail'rlm_detail: /usr/local//var/log/radius/radacct/%{Client-IP-Address}/detail expands to /usr/local//var/log/radius/radacct/192.120.130.2/detail modcall[accounting]: module "detail" returns ok modcall[accounting]: module "unix" returns okradius_xlat: 'cocoon' modcall[accounting]: module "radutmp" returns okmodcall: group accounting returns okSending Accounting-Response of id 97 to 192.120.130.2:1646Finished request 2Going to the next request--- Walking the entire request list ---Cleaning up request 2 ID 97 with timestamp 3dd007d7Nothing to do. Sleeping until we see a request.MASTER: exit on signal (2) ----- Router Config.. ------- Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Test-Router ! aaa new-model aaa authentication login default group radius local aaa authentication login users group radius aaa authentication enable default enable aaa authorization exec default group radius if-authenticated local aaa accounting exec default start-stop group radius enable secret 5 $1$ki8J$dsklGayVXXJU99hQHQyAU. ! username lotto password 0 jackpot ! ! ! ! ip subnet-zero ! ! ! ! interface FastEthernet0/0 ip address xxx.xxx.xxx.xxx 255.255.255.0 no ip directed-broadcast duplex auto speed auto ! interface Serial0/0 no ip address no ip directed-broadcast shutdown ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown duplex auto speed auto ! ip classless no ip http server ! radius-server host xxx.xxx.xxx.xxx auth-port 1812 acct-port 1813 non-standard radius-server key harvey radius-server vsa send accounting radius-server vsa send authentication ! line con 0 password cisco transport input none line aux 0 line vty 0 4 ! no scheduler allocate end ------- Thanks, Gbenga. --- Alan DeKok <[EMAIL PROTECTED]> wrote: > =?iso-8859-1?q?Gbenga?= <[EMAIL PROTECTED]> > wrote: > > But somehow the users are not > > getting logged into the router in privileged mode. > > > > The following is the relevant part of my radiusd > -X > > message... > ... > > Could you please post the log *without* mangling > it? What was sent > to the list was unreadable, and therefore useless. > > Alan DeKok. > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html