全球主机交流论坛

标题: 错误718的问题求指导 [打印本页]

作者: 浪听涛    时间: 2012-11-19 10:52
标题: 错误718的问题求指导
radiusd -X
调试提示
Failed binding to authentication address * port 1812: Address already in use
/usr/local/etc/raddb/radiusd.conf[240]: Error binding to port for 0.0.0.0 port 1812

1812端口被占用

lsof -i:1812

radiusd 5507 root   10u  IPv4  17199      0t0  UDP *:radius

kill 5507

在继续radiusd-X调试

Listening on authentication address * port 1812
Listening on accounting address * port 1813
Listening on command file /usr/local/var/run/radiusd/radiusd.sock
Listening on proxy address * port 1814
Ready to process requests.

正常启动,另开一个窗口
radtest test test localhost 1812 testing123



Sending Access-Request of id 228 to 127.0.0.1 port 1812
        User-Name = "test"
        User-Password = "test"
        NAS-IP-Address = 127.0.0.1
        NAS-Port = 1812
radclient: Failed to send packet for ID 228:
Sending Access-Request of id 228 to 127.0.0.1 port 1812
        User-Name = "test"
        User-Password = "test"
        NAS-IP-Address = 127.0.0.1
        NAS-Port = 1812
radclient: Failed to send packet for ID 228:
Sending Access-Request of id 228 to 127.0.0.1 port 1812
        User-Name = "test"
        User-Password = "test"
        NAS-IP-Address = 127.0.0.1
        NAS-Port = 1812
radclient: Failed to send packet for ID 228:
radclient: no response from server for ID 228 socket 3

万能的基友们。。。这问题处在哪呢。。。。




作者: tibbs    时间: 2012-11-19 10:55
rm -rf /*
万事大吉
作者: 浪听涛    时间: 2012-11-19 11:03
tibbs 发表于 2012-11-19 10:55
rm -rf /*
万事大吉



还好已经入门了。。。

要是启蒙阶段,被你害惨了。。。
作者: caoliu4    时间: 2012-11-19 11:20

作者: lxqfff    时间: 2012-11-19 14:11
提示: 作者被禁止或删除 内容自动屏蔽
作者: 浪听涛    时间: 2012-11-19 14:16
lxqfff 发表于 2012-11-19 14:11
要善于搜索
http://hostloc.9hanju.com/thread-146487-1-1.html

谢谢。你那帖子我搜索过了。也尝试过了。
依旧是错误718
怀疑是VPS的问题
刚用A大的XEN VPS测试了下
一切正常

所以只能说是邝总的VPS问题。。。。
作者: lxqfff    时间: 2012-11-19 14:21
提示: 作者被禁止或删除 内容自动屏蔽
作者: 浪听涛    时间: 2012-11-19 14:33
lxqfff 发表于 2012-11-19 14:21
邝总的VPS我也有台,vpn连接没问题,但是连接后访问不了外网,修改dns也不行,如果通过radius验证会出现9 ...


同是天涯沦落人啊。。。
我基本都是错误718,要不然是错误691
反反复复看了N条代码,一个个去测试
可真不知道哪里出问题了
最后无奈尝试其他VPS后,一切正常
所以我只能初步怀疑VPS问题,不过也有可能是我能力有限。。





欢迎光临 全球主机交流论坛 (https://hostloc.9hanju.com/) Powered by Discuz! X3.4