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.com
http://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 -