[SR-Users] problem with kamailio and libradiusclient-ng/freeradius-xs

Rabary teddy at gulfsat.mg
Tue Nov 27 19:56:06 CET 2012


Hi all,

When I have this line in kamailio.cfg:
modparam("acc_radius", "radius_config", 
"/etc/radiusclient-ng/radiusclient.conf")

Kamailio failed to start:
kamailio error, failed to start (/var/run/kamailio/kamailio.pid exists).

I already try to stop kamailio, an remove this file but don't work

In log,I have:
Nov 27 20:13:39 voip-core-1 kernel: [14318.988658] kamailio[8370]: 
segfault at 0 ip 00007f0b0b94ca5d sp 00007fffa08f9460 error 4 in 
libradiusclient-ng.so.2.0.0[7f0b0b946000+c000]
Nov 27 20:13:39 voip-core-1 kamailio: ERROR: <core> [daemonize.c:307]: 
Main process exited before writing to pipe

When I remove just this line and restart kamailio, it works, I don't 
know what is the problem because before I can do accounting with 
freeradius with the same config

I have kamailio 3.3.2, kamailio-radius-modules 3.3.2,libradiusclient-ng2 
0.5.6-1.1 and on 2nd server freeradius-xs and freeradius-xs-mysql 1.1.7-4

I put in attached file a few config of kamailio and radiusclient

Regards

-- 
Rabary Teddy

Inutile d'imprimer ce mail

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kamailio.cfg
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121127/ce8a61dc/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: radiusclient.conf
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121127/ce8a61dc/attachment.asc>


More information about the sr-users mailing list