[SR-Users] Kamailio/Radius problem

jonathan augenstine jaugenstine at gmail.com
Thu Nov 14 21:37:44 CET 2013


Daniel,

I found this link:
http://sip-router.org/tracker/index.php?do=details&task_id=310.  The core
file output is below.  I see that it is in the libradiusclient-ng.so
library, but is there a solution, change the config file, different version
library, etc?

Jonathan

Core was generated by `/usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
/usr/local/etc/kamailio//k'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f009ab0aa5d in rc_read_config () from
/usr/lib/libradiusclient-ng.so.2
(gdb) backtrace
#0  0x00007f009ab0aa5d in rc_read_config () from
/usr/lib/libradiusclient-ng.so.2
#1  0x00007f009ad159d9 in init_acc_rad () from
/usr/local/lib64/kamailio/modules/acc.so
#2  0x00007f009ad216e5 in mod_init () from
/usr/local/lib64/kamailio/modules/acc.so
#3  0x0000000000510851 in init_mod ()
#4  0x0000000000516112 in init_modules ()
#5  0x000000000041c257 in main () at main.c:2507



On Thu, Nov 14, 2013 at 1:06 AM, Daniel-Constantin Mierla <miconda at gmail.com
> wrote:

>
> On 11/14/13 10:02 AM, Daniel-Constantin Mierla wrote:
>
> Hello,
>
> On 11/14/13 4:31 AM, jonathan augenstine wrote:
>
> I am working on the configuration to enable RADIUS in Kamailio 4.0.  The
> basic install worked successfully and the daemon started without problems.
> I then install radiusclient-ng and configured RADIUS in the Kamailio
> build/configuration.  All seemed OK until the Kamailio restart and I
> encountered the following error during the restart:
>
> Nov 13 06:52:23 lax-vproxy2-a kernel: [  348.808624] kamailio[5346]:
> segfault at 0 ip 00007f375d249a5d sp 00007fff4d42eed0 error 4 in
> libradiusclient-ng.so.2.0.0[7f375d243000+c000]
> Nov 13 06:52:23 lax-vproxy2-a kamailio: ERROR: <core> [daemonize.c:307]:
> daemonize(): Main process exited before writing to pipe
>
> After some research it seemed that others encountered a similar error and
> traced it to the dictionary.  I have gone through the dictionary
> configuration and all seems to be correct.  Any guidance on what might be
> the issue or some troubleshooting steps?
>
> did you get a core dump? Looking at the backtrace may show where is the
> problem in libradiusclient-ng.
>
> Just found this one that seems to be similar:
>
> - http://sip-router.org/tracker/index.php?do=details&task_id=310&project=1
>
> It mentions that acctserver was not set in radius config.
>
>
> Cheers,
> Daniel
>
> --
> Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio Advanced Trainings - Berlin, Nov 25-28
>   - more details about Kamailio trainings at http://www.asipto.com -
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20131114/c5ecfe51/attachment.html>


More information about the sr-users mailing list