1. rlm_eap: SSL error error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt
rlm_eap_tls: Error reading private key file /usr/local/etc/raddb/certs/server.pem
rlm_eap: Failed to initialize type tls
/usr/local/etc/f[17]: Instantiation failed for module "eap"
/usr/local/etc/raddb/sites-enabled/default[310]: Failed to load module "eap".
/usr/local/etc/raddb/sites-enabled/default[252]: Errors parsing authenticate section.
f中private_key_password的值与caf中[req]input password,output password属性值不一致。
2. 如果接收到类似于这样的信息:rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=222, length=38。
    可以到usr/local/var/log去查看freeradius的日志。在安装过程我就接收到这样的信息,百思不得其解,以为是安装出了问题,后来是查看日志,发现如下信息:
    141 WARNING: Found User-Password == "...".
    142 WARNING: Are you sure you don't mean Cleartext-Password?
    143 WARNING: See "man rlm_pap" for more information.
    144 rlm_sql: Failed to create the pair: Invalid octet string "Yes,Good!" for attribute name "Repley-Message"
    145 rlm_sql (sql): Error getting data from database
    146 [sql] SQL query error; rejecting user
安装mysql失败    147 rlm_sql (sql): Released sql socket id: 1
    从而发现我在表radrepley中的数据记录内容是错误的,删除这条记录后,问题得到解决
   出错
   1、如果出现“rlm_sql (sql): Could not link driver rlm_sql_mysql: rlm_sql_mysql.so: cannot open shared object file: No such file or directory
   ”不到驱动包的错误,就要
   a:先安装mysql-devel
   b:然后进入到freeradius的安装文件目录下的src/modules/rlm_sql/drivers/rlm_sql_mysql? 运行命令:
./configure --with-mysql-dir=/usr/share/mysql/ --with-mysql-lib-dir=/usr/lib/mysql/
   c:make;make intall  这时候会把rlm_sql_mysql的驱动安装到/usr/local/lib目录下,但是必须把这些驱动copy到/usr/lib目录下才能正常运行:
#cp -a /usr/local/lib/rlm_sql_mysql* /usr/lib?
   还有可能出现关于eap的错误,说什么server.pem证书读取失败,实际上server.pem证书根本没有.进到/usr/local/etc/raddb/certs/目录下.运行里面的bootstrap文件
#./bootstrap 会自动创建证书.实在不明白,里面还有个README文件可做参考.

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。