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 03:57:35 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>;
发送时间: 2021年9月17日(星期五) 晚上7:47
收件人: "FreeRadius users mailing list"<freeradius-users at lists.freeradius.org>;
抄送: "老咪"<93327349 at qq.com>;
主题: 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> wrote:
> I download the newest code in github, master branch.After I fixed some small bugs, run the freeRadius&nbsp; server 4.0 by radiusd -X
> It show like this:

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

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

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

  Alan DeKok.


More information about the Freeradius-Users mailing list