全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
楼主: Meiam
打印 上一主题 下一主题

[疑问] PPTPD+L2TP+RADIUSCLIENT 对接 Radius Manager 3.9 失败 求原因

[复制链接]
21#
发表于 2011-12-9 16:15:10 | 只看该作者
再看日志,看问题处在哪儿
22#
 楼主| 发表于 2011-12-9 16:15:59 | 只看该作者
Dec  9 15:38:07 Centos pppd[14549]: /usr/local/etc/radiusclient/radiusclient.conf: line 86: unrecognized keyword: bindaddr
Dec  9 15:38:07 Centos pppd[14549]: RADIUS: Can't read config file /usr/local/etc/radiusclient/radiusclient.conf
Dec  9 15:38:07 Centos pppd[14549]: Peer user failed CHAP authentication
Dec  9 15:38:07 Centos pppd[14549]: Connection terminated.
Dec  9 15:38:07 Centos pppd[14549]: Exit.
Dec  9 15:38:07 Centos pptpd[14548]: CTRL: Client 192.168.1.10 control connection finished
Dec  9 15:38:10 Centos pptpd[14581]: MGR: connections limit (100) reached, extra IP addresses ignored
Dec  9 15:38:10 Centos pptpd[14582]: MGR: Manager process started
Dec  9 15:38:10 Centos pptpd[14582]: MGR: Maximum of 100 connections available
Dec  9 15:38:13 Centos pptpd[14584]: CTRL: Client 192.168.1.10 control connection started
Dec  9 15:38:13 Centos pptpd[14584]: CTRL: Starting call (launching pppd, opening GRE)
Dec  9 15:38:13 Centos pppd[14585]: Plugin /usr/lib/pppd/2.4.4/radius.so loaded.
Dec  9 15:38:13 Centos pppd[14585]: RADIUS plugin initialized.
Dec  9 15:38:13 Centos pppd[14585]: Plugin /usr/lib/pppd/2.4.4/radattr.so loaded.
Dec  9 15:38:13 Centos pppd[14585]: RADATTR plugin initialized.
Dec  9 15:38:13 Centos pppd[14585]: pppd 2.4.4 started by root, uid 0
Dec  9 15:38:13 Centos pppd[14585]: Using interface ppp0
Dec  9 15:38:13 Centos pppd[14585]: Connect: ppp0 <--> /dev/pts/1
Dec  9 15:38:13 Centos pppd[14585]: /usr/local/etc/radiusclient/radiusclient.conf: line 86: unrecognized keyword: bindaddr
Dec  9 15:38:13 Centos pppd[14585]: RADIUS: Can't read config file /usr/local/etc/radiusclient/radiusclient.conf
Dec  9 15:38:13 Centos pppd[14585]: Peer user failed CHAP authentication
Dec  9 15:38:13 Centos pppd[14585]: Connection terminated.
Dec  9 15:38:13 Centos pppd[14585]: Exit.
Dec  9 15:38:13 Centos pptpd[14584]: GRE: read(fd=6,buffer=8059a40,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Dec  9 15:38:13 Centos pptpd[14584]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Dec  9 15:38:13 Centos pptpd[14584]: CTRL: Client 192.168.1.10 control connection finished
Dec  9 15:42:47 Centos init: Trying to re-exec init
Dec  9 15:44:13 Centos pptpd[22233]: MGR: connections limit (100) reached, extra IP addresses ignored
Dec  9 15:44:13 Centos pptpd[22234]: MGR: Manager process started
Dec  9 15:44:13 Centos pptpd[22234]: MGR: Maximum of 100 connections available
Dec  9 15:44:59 Centos pptpd[22238]: CTRL: Client 192.168.1.10 control connection started
Dec  9 15:44:59 Centos pptpd[22238]: CTRL: Starting call (launching pppd, opening GRE)
Dec  9 15:44:59 Centos pppd[22239]: Plugin /usr/lib/pppd/2.4.4/radius.so loaded.
Dec  9 15:44:59 Centos pppd[22239]: RADIUS plugin initialized.
Dec  9 15:44:59 Centos pppd[22239]: Plugin /usr/lib/pppd/2.4.4/radattr.so loaded.
Dec  9 15:44:59 Centos pppd[22239]: RADATTR plugin initialized.
Dec  9 15:44:59 Centos pppd[22239]: pppd 2.4.4 started by root, uid 0
Dec  9 15:44:59 Centos pppd[22239]: Using interface ppp0
Dec  9 15:44:59 Centos pppd[22239]: Connect: ppp0 <--> /dev/pts/1
Dec  9 15:44:59 Centos pptpd[22238]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Dec  9 15:44:59 Centos pppd[22239]: /usr/local/etc/radiusclient/radiusclient.conf: line 83: unrecognized keyword: radius_deadtime
Dec  9 15:44:59 Centos pppd[22239]: RADIUS: Can't read config file /usr/local/etc/radiusclient/radiusclient.conf
Dec  9 15:44:59 Centos pppd[22239]: Peer user failed CHAP authentication
Dec  9 15:44:59 Centos pppd[22239]: Connection terminated.
Dec  9 15:44:59 Centos pppd[22239]: Exit.
Dec  9 15:44:59 Centos pptpd[22238]: CTRL: Client 192.168.1.10 control connection finished
Dec  9 16:08:21 Centos pptpd[25889]: MGR: connections limit (100) reached, extra IP addresses ignored
Dec  9 16:08:21 Centos pptpd[25890]: MGR: Manager process started
Dec  9 16:08:21 Centos pptpd[25890]: MGR: Maximum of 100 connections available
Dec  9 16:08:48 Centos pptpd[25892]: CTRL: Client 192.168.1.10 control connection started
Dec  9 16:08:48 Centos pptpd[25892]: CTRL: Starting call (launching pppd, opening GRE)
Dec  9 16:08:48 Centos pppd[25893]: Plugin /usr/lib/pppd/2.4.4/radius.so loaded.
Dec  9 16:08:48 Centos pppd[25893]: RADIUS plugin initialized.
Dec  9 16:08:48 Centos pppd[25893]: Plugin /usr/lib/pppd/2.4.4/radattr.so loaded.
Dec  9 16:08:48 Centos pppd[25893]: RADATTR plugin initialized.
Dec  9 16:08:48 Centos pppd[25893]: pppd 2.4.4 started by root, uid 0
Dec  9 16:08:48 Centos pppd[25893]: Using interface ppp0
Dec  9 16:08:48 Centos pppd[25893]: Connect: ppp0 <--> /dev/pts/1
Dec  9 16:08:48 Centos pptpd[25892]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Dec  9 16:08:49 Centos pppd[25893]: Peer user failed CHAP authentication
Dec  9 16:08:49 Centos pppd[25893]: Connection terminated.
Dec  9 16:08:49 Centos pppd[25893]: Exit.
Dec  9 16:08:49 Centos pptpd[25892]: CTRL: Client 192.168.1.10 control connection finished
Dec  9 16:08:53 Centos pptpd[25907]: CTRL: Client 192.168.1.10 control connection started
Dec  9 16:08:53 Centos pptpd[25907]: CTRL: Starting call (launching pppd, opening GRE)
Dec  9 16:08:53 Centos pppd[25908]: Plugin /usr/lib/pppd/2.4.4/radius.so loaded.
Dec  9 16:08:53 Centos pppd[25908]: RADIUS plugin initialized.
Dec  9 16:08:53 Centos pppd[25908]: Plugin /usr/lib/pppd/2.4.4/radattr.so loaded.
Dec  9 16:08:53 Centos pppd[25908]: RADATTR plugin initialized.
Dec  9 16:08:53 Centos pppd[25908]: pppd 2.4.4 started by root, uid 0
Dec  9 16:08:53 Centos pppd[25908]: Using interface ppp0
Dec  9 16:08:53 Centos pppd[25908]: Connect: ppp0 <--> /dev/pts/1
Dec  9 16:08:53 Centos pptpd[25907]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Dec  9 16:08:54 Centos pppd[25908]: Peer user failed CHAP authentication
Dec  9 16:08:54 Centos pppd[25908]: Connection terminated.
Dec  9 16:08:54 Centos pppd[25908]: tcflush failed: Input/output error
Dec  9 16:08:54 Centos pppd[25908]: Exit.
Dec  9 16:08:54 Centos pptpd[25907]: CTRL: Client 192.168.1.10 control connection finished
Dec  9 16:08:57 Centos pptpd[25922]: CTRL: Client 192.168.1.10 control connection started
Dec  9 16:08:57 Centos pptpd[25922]: CTRL: Starting call (launching pppd, opening GRE)
Dec  9 16:08:57 Centos pppd[25923]: Plugin /usr/lib/pppd/2.4.4/radius.so loaded.
Dec  9 16:08:57 Centos pppd[25923]: RADIUS plugin initialized.
Dec  9 16:08:57 Centos pppd[25923]: Plugin /usr/lib/pppd/2.4.4/radattr.so loaded.
Dec  9 16:08:57 Centos pppd[25923]: RADATTR plugin initialized.
Dec  9 16:08:57 Centos pppd[25923]: pppd 2.4.4 started by root, uid 0
Dec  9 16:08:57 Centos pppd[25923]: Using interface ppp0
Dec  9 16:08:57 Centos pppd[25923]: Connect: ppp0 <--> /dev/pts/1
Dec  9 16:08:57 Centos pptpd[25922]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Dec  9 16:08:58 Centos pppd[25923]: Peer user failed CHAP authentication
Dec  9 16:08:58 Centos pppd[25923]: Connection terminated.
Dec  9 16:08:58 Centos pppd[25923]: Exit.
Dec  9 16:08:58 Centos pptpd[25922]: CTRL: Client 192.168.1.10 control connection finished
Dec  9 16:12:47 Centos pptpd[25943]: CTRL: Client 192.168.1.10 control connection started
Dec  9 16:12:47 Centos pptpd[25943]: CTRL: Starting call (launching pppd, opening GRE)
Dec  9 16:12:47 Centos pppd[25944]: Plugin /usr/lib/pppd/2.4.4/radius.so loaded.
Dec  9 16:12:47 Centos pppd[25944]: RADIUS plugin initialized.
Dec  9 16:12:47 Centos pppd[25944]: Plugin /usr/lib/pppd/2.4.4/radattr.so loaded.
Dec  9 16:12:47 Centos pppd[25944]: RADATTR plugin initialized.
Dec  9 16:12:47 Centos pppd[25944]: pppd 2.4.4 started by root, uid 0
Dec  9 16:12:47 Centos pppd[25944]: Using interface ppp0
Dec  9 16:12:47 Centos pppd[25944]: Connect: ppp0 <--> /dev/pts/1
Dec  9 16:12:47 Centos pptpd[25943]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Dec  9 16:12:48 Centos pppd[25944]: Peer user failed CHAP authentication
Dec  9 16:12:48 Centos pppd[25944]: Connection terminated.
Dec  9 16:12:48 Centos pppd[25944]: Exit.

[ 本帖最后由 Meiam 于 2011-12-9 16:17 编辑 ]
23#
 楼主| 发表于 2011-12-9 16:17:47 | 只看该作者
上前是全部注释掉得 日志
24#
发表于 2011-12-9 16:17:52 | 只看该作者
Peer user failed CHAP authentication
认证失败
25#
 楼主| 发表于 2011-12-9 16:19:36 | 只看该作者
原帖由 店小二 于 2011-12-9 16:17 发表
Peer user failed CHAP authentication
认证失败


是得啊。密码账号没有错误的
26#
 楼主| 发表于 2011-12-9 16:19:36 | 只看该作者
原帖由 店小二 于 2011-12-9 16:17 发表
Peer user failed CHAP authentication
认证失败


是得啊。密码账号没有错误的
27#
发表于 2011-12-9 16:24:05 | 只看该作者
clients.conf 认证还是 数据库认证,自己排查把
28#
 楼主| 发表于 2011-12-9 16:27:04 | 只看该作者
Radius Manager  和 ROS 对接没有问题

但是 和 Centos + PPTPD 对接就出这个毛病了。

Radius Manager 使用的是 FreeRadius    NAS 加好了。
29#
发表于 2011-12-9 16:32:06 | 只看该作者
那就是Centos + PPTPD的问题 Radius Manager添加NAS后要重启radiusd,否则不生效

评分

参与人数 1威望 +10 收起 理由
哈P哥 + 10 助人为乐

查看全部评分

30#
 楼主| 发表于 2011-12-9 16:43:27 | 只看该作者
原帖由 店小二 于 2011-12-9 16:32 发表
那就是Centos + PPTPD的问题 Radius Manager添加NAS后要重启radiusd,否则不生效


重启了。我也不是一点基础知识都不懂
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-1-14 07:49 , Processed in 0.065196 second(s), 7 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表