reply: The problem when I run freeRadius server 4.0 in master: Failed adding new socket to network event loop: Failed inserting filters for FD 15: EFAULT: Bad address

老咪 93327349 at qq.com
Sat Sep 18 04:23:01 CEST 2021


Dear Alan,
Thanks for your kindly remind.
However, we need use EAP AKA authentication, but 3.X version don't support it, so I choose the master branch, I download the code in 2021/9/16.
About the error from libkqueue, actually when I executed the configure command, it shows I need to install libkqueue first, but when I try to install libkqueue, it shows I  need to install rpmlib(SetVersion) first, but I can't find the rpmlib(SetVersion) package in the internet.
So I install the libkqueue 2.0.1 devel without rpmlib(SetVersion) by rpm -i --force --nodeps, I think this is the true cause.

How can I find the rpmlib(SetVersion) package or code? could you help me, thank you very much.
The installation info like this:


[root at localhost ~]# rpm -qa|grep libkqueue
libkqueue-2.0.1-alt5.x86_64
libkqueue-devel-2.0.1-alt5.x86_64
[root at localhost ~]# rpm -qa|grep rpmlib
kobo-rpmlib-0.6.0-2.el7.noarch




------------------ 原始邮件 ------------------
发件人:                                                                                                                        "Alan DeKok"                                                                                    <aland at deployingradius.com&gt;;
发送时间:&nbsp;2021年9月17日(星期五) 晚上7:47
收件人:&nbsp;"FreeRadius users mailing list"<freeradius-users at lists.freeradius.org&gt;;
抄送:&nbsp;"老咪"<93327349 at qq.com&gt;;
主题:&nbsp;Re: The problem when I run freeRadius server 4.0 in master: Failed adding new socket to network event loop: Failed inserting filters for FD 15: EFAULT: Bad address



On Sep 17, 2021, at 5:46 AM, 老咪 via Freeradius-Users <freeradius-users at lists.freeradius.org&gt; wrote:
&gt; I download the newest code in github, master branch.After I fixed some small bugs, run the freeRadius&amp;nbsp; server 4.0 by radiusd -X
&gt; It show like this:

&nbsp; We don't recommend that people run the "master" branch.&nbsp;&nbsp; It's still alpha, and hasn't had an official release.&nbsp; It may or may not work, depending on the day.

&gt; ... ...
&gt; Scheduler created in single-threaded mode
&gt; #### Opening listener interfaces ####
&gt; Ready to process requests
&gt; Network - Failed adding new socket to network event loop: Failed inserting filters for FD 15: EFAULT: Bad address
&gt; Network - Failed adding new socket to network event loop: Failed inserting filters for FD 16: EFAULT: Bad address
&gt; Network - Failed adding new socket to network event loop: Failed inserting filters for FD 17: EFAULT: Bad address
&gt; Network - Failed adding new socket to network event loop: Failed inserting filters for FD 18: EFAULT: Bad address

&nbsp; That's an error from libkeueue.&nbsp; You're probably running a very old version, because that's what most distributions ship.&nbsp; We've put a lot of fixes into libkqueue, and the latest version from GitHub should work a lot better.

&nbsp; Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list