歡迎您光臨本站 註冊首頁

radius伺服器測試沒有Access-Accept的消息,請教一下大致是什麼地方出現了問題?

radiusd -X列印出來的信息如下:


rad_recv: Access-Request packet from host 127.0.0.1:32769, id=4, length=56
        User-Name = "test"
        User-Password = "123456"
        NAS-IP-Address = 255.255.255.255
        NAS-Port = 0
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 2
  modcall: module "preprocess" returns ok for request 2
  modcall: module "chap" returns noop for request 2
  modcall: module "mschap" returns noop for request 2
    rlm_realm: No '@' in User-Name = "test", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall: module "suffix" returns noop for request 2
  rlm_eap: No EAP-Message, not doing EAP
  modcall: module "eap" returns noop for request 2
    users: Matched entry DEFAULT at line 152
    users: Matched entry test at line 215
  modcall: module "files" returns ok for request 2
radius_xlat:  'test'
rlm_sql (sql): sql_set_user escaped user --> 'test'
radius_xlat:  'SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE Username = 'test' ORDER BY id'
rlm_sql (sql): Ignoring unconnected handle 4..
rlm_sql (sql): Ignoring unconnected handle 3..
rlm_sql (sql): Ignoring unconnected handle 2..
rlm_sql (sql): Ignoring unconnected handle 1..
rlm_sql (sql): Ignoring unconnected handle 0..
rlm_sql (sql): There are no DB handles to use! skipped 5, tried to connect 0
  modcall: module "sql" returns fail for request 2
modcall: group authorize returns fail for request 2
Finished request 2
Going to the next request
--- Walking the entire request list ---
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 127.0.0.1:32769, id=4, length=56
Discarding duplicate request from client localhost:32769 - ID: 4
--- Walking the entire request list ---
Waking up in 3 seconds...
rad_recv: Access-Request packet from host 127.0.0.1:32769, id=4, length=56
Discarding duplicate request from client localhost:32769 - ID: 4
--- Walking the entire request list ---
Cleaning up request 2 ID 4 with timestamp 48122384
Nothing to do.  Sleeping until we see a request.


請教各位大蝦,我的配置中大致那一塊出現了問題,請幫忙指點一下思路,多謝!
《解決方案》

——我感覺

——找不到 MySQL 的動態連接庫。
《解決方案》

你先別掛載SQL文看看能不能成功?

[火星人 ] radius伺服器測試沒有Access-Accept的消息,請教一下大致是什麼地方出現了問題?已經有561次圍觀

http://coctec.com/docs/service/show-post-30595.html