# service radiusd start
启动 RADIUS 服务:Wed Apr 19 17:11:50 2006 : Info: Starting - reading configuration files ...
Wed Apr 19 17:11:50 2006 : Error: /etc/raddb/clients.conf: Line is not in 'attribute = value' format
Wed Apr 19 17:11:50 2006 : Error: Errors reading radiusd.conf
[失败]
然后我查看我的clients.conf文件:
client 172.17.*.*(我ROUTEROS的IP地址)
#
#The shared secret use to "encrypt" and "sign" packets between
#the NAS and FreeRADIUS.You MUST change this secret from the
#default, otherwise it's not a secret any more!
#
#The secret can be any string, up to 32 characters in length.
#
secret = admin (这里和ROUTEROS设置的一致的)
#
#The short name is used as an alias for the fully qualified
#domain name, or the IP address.
#
shortname = 172.17.*.*(我ROUTEROS的IP地址)
#
# the following three fields are optional, but may be used by
# checkrad.pl for simultaneous use checks
#
#
# The nastype tells 'checkrad.pl' which NAS-specific method to
#use to query the NAS for simultaneous use.
#
#Permitted NAS types are:
#
# cisco
# computone
# livingston
# max40xx
# multitech
# netserver
# pathras
# patton
# portslave
# tc
# usrhiper
# other # for all other types
#
nastype = other
这个文件设置有问题吗?问题会出在哪里? 难道就没有一个人可以帮忙吗? 太深奥了!~ Wed Apr 19 17:11:50 2006 : Error: /etc/raddb/clients.conf: Line is not in 'attribute = value' format
Wed Apr 19 17:11:50 2006 : Error: Errors reading radiusd.conf
问题解决了是clients.conf文件里少了一个"{"。
可是运行后还是有下面的提示:
# service radiusd start
启动 RADIUS 服务:Wed Apr 19 17:11:50 2006 : Info: Starting - reading configuration files ...
[失败]
有谁知道? 现在的问题是,运行RADIUSD -X 后:
]# radiusd -x
Starting - reading configuration files ...
Using deprecated naslist file.Support for this will go away soon.
Module: Loaded exec
rlm_exec: Wait=yes but no output defined. Did you mean output=none?
Module: Instantiated exec (exec)
Module: Loaded expr
Module: Instantiated expr (expr)
Module: Loaded PAP
Module: Instantiated pap (pap)
Module: Loaded CHAP
Module: Instantiated chap (chap)
Module: Loaded MS-CHAP
Module: Instantiated mschap (mschap)
Module: Loaded System
Module: Instantiated unix (unix)
Module: Loaded eap
rlm_eap: Loaded and initialized type md5
rlm_eap: Loaded and initialized type leap
rlm_eap: Loaded and initialized type gtc
rlm_eap: Loaded and initialized type mschapv2
Module: Instantiated eap (eap)
Module: Loaded preprocess
Module: Instantiated preprocess (preprocess)
Module: Loaded realm
Module: Instantiated realm (suffix)
Module: Loaded files
Module: Instantiated files (files)
Module: Loaded SQL
rlm_sql (sql): Could not link driver rlm_sql_mysql: rlm_sql_mysql.so: cannot open shared object file: No such file or directory
rlm_sql (sql): Make sure it (and all its dependent libraries!) are in the search path of your system's ld.
radiusd.conf: sql: Module instantiation failed.
可我搜索不到rlm_sql_mysql.so这个文件,在哪里?
大家帮忙,我快成功了!!! 同样问题
求解啊
页:
1
[2]