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 07:53:01 CEST 2021


Add my environment, CentOS 7.8


------------------ 原始邮件 ------------------
发件人:                                                                                                                        "FreeRadius users mailing list"                                                                                    <freeradius-users at lists.freeradius.org>;
发送时间: 2021年9月18日(星期六) 上午10:23
收件人: "Alan DeKok"<aland at deployingradius.com>;"FreeRadius users mailing list"<freeradius-users at lists.freeradius.org>;
抄送: "老咪"<93327349 at qq.com>;
主题: 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



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&amp;nbsp; 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&amp;nbsp;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




------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
发件人:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n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) 晚上7:47
收件人:&amp;nbsp;"FreeRadius users mailing list"<freeradius-users at lists.freeradius.org&amp;gt;;
抄送:&amp;nbsp;"老咪"<93327349 at qq.com&amp;gt;;
主题:&amp;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&amp;gt; wrote:
&amp;gt; I download the newest code in github, master branch.After I fixed some small bugs, run the freeRadius&amp;amp;nbsp; server 4.0 by radiusd -X
&amp;gt; It show like this:

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

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

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

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


More information about the Freeradius-Users mailing list