<div>Hello, Brian</div><div> </div><div>Opensips 2.2. (i have a problem with 2.3)? And what should i rebuilt, what node?</div><div> </div><div> </div><div>-- </div><div>С уважением, Денис.</div><div>Best regards, Denis</div><div> </div><div> </div><div> </div><div>22.09.2017, 01:04, "Brian :" <brians@iptel.co>:</div><blockquote type="cite">Hi Denis<br /><br />We had similar issue recently with radius accounting in a single node in a 2.2 cluster. Rebuilding the node from scratch made the issue go away.<br /><br /><br /><br /><br />On Thursday, September 21, 2017, Denis via Users <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>> wrote:<br />> In addition<br />>  <br />> "<br />> make[2]: Entering directory '/distr/opensips-2.2/modules/aaa_radius'<br />> Compiling rad.c<br />> Compiling aaa_radius.c<br />> Linking aaa_radius.so<br />> make[2]: Leaving directory '/distr/opensips-2.2/modules/aaa_radius'<br />>  <br />> "<br />>  <br />> During opensips 2.2 installation procedure on the backup.<br />>  <br />> -- <br />> С уважением, Денис.<br />> Best regards, Denis<br />>  <br />>  <br />>  <br />>  <br />>  <br />> 21.09.2017, 16:39, "Denis via Users" <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>>:<br />><br />> Bogdan,<br />>  <br />> Prehistory. I decided to migrate Opensips from 2.2. to 2.3.<br />> Using my test VirtualBox (ubuntu server) i installed 2.3., prepare opensips.cfg an so on. On VB 2.3. started without any problem.<br />> I have two production servers with Opensips 2.2 instance. One main, and the second backup.<br />> All necessary packages for Opensips had been installed on these two servers early, including libradius library.<br />>  <br />> So i installed Opensips2.3., both on main and backup (there were no error dialing with it), to a different directory as Opensips2.2, changed some opensips.cfg parameters (not dialing with radius) and tried to start opensips.<br />> First i tried to start on backup and got the crash. Crash occurs at start time.<br />> Second i tried to start on main and got success.<br />>  <br />> I tried to reinstall Opensips on backup and during installation process i get such information dialing with radius<br />> "<br />> make[2]: Entering directory '/distr/opensips-2.3/modules/aaa_radius'<br />> /bin/sh: 1: pkg-config: not found<br />> /bin/sh: 1: pkg-config: not found<br />> Compiling rad.c<br />> Compiling aaa_radius.c<br />> Linking aaa_radius.so<br />> make[2]: Leaving directory '/distr/opensips-2.3/modules/aaa_radius'<br />> "<br />>  <br />> Something like this)).<br />>  <br />> -- <br />> С уважением, Денис.<br />> Best regards, Denis<br />>  <br />>  <br />>  <br />> 21.09.2017, 15:46, "Bogdan-Andrei Iancu" <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>>:<br />><br />> Hi Denis,<br />><br />> So, when did the crash start ? What was the change that trigger this kind of crash ?<br />><br />> Regards,<br />><br />> Bogdan-Andrei Iancu<br />> OpenSIPS Founder and Developer<br />> <a href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a><br />><br />> On 09/21/2017 01:00 PM, Denis wrote:<br />><br />> Hello, Bogdan!<br />>  <br />> It is real strange.<br />>  <br />> First of all i have Opensips 2.2 on the same server ("backup" server) which is started without any problem using aaa_radius module.<br />> I have another server ("main" server) where opensips 2.3 is started without any problem using aaa_radius module.<br />>  <br />> Yes, /etc/radiusclient-ng/radiusclient.conf exits on backup, it has the same rights as the same file on main server. I can read this file and write into it ,i.e. it is not "broken".<br />>  <br />> libradius has been installed from ubuntu`s repo.<br />>  <br />> -- <br />> С уважением, Денис.<br />> Best regards, Denis<br />>  <br />>  <br />>  <br />> 21.09.2017, 12:44, "Bogdan-Andrei Iancu" <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>>:<br />><br />> Hi Denis,<br />><br />> Not sure if there is something we can do about in OpenSIPS. As we see, in frame 2:<br />><br />> #2  0x00007f3622d9a1e7 in rc_read_config (filename=0x1bc83b0 "/etc/radiusclient-ng/radiusclient.conf") at config.c:457<br />><br />> opensips triggers the libradius for reading the config file (for radius). And there is only one parameter, the name of the radius config file.<br />><br />> The crash is inside the libradius without having opensips to pass any wrong data. So the bug is in the libradius.<br />><br />> Does the /etc/radiusclient-ng/radiusclient.conf file exists ?<br />><br />> How did you install the libradius ?<br />><br />> Regards,<br />><br />> Bogdan-Andrei Iancu<br />> OpenSIPS Founder and Developer<br />> <a href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a><br />><br />> On 09/20/2017 06:04 PM, Denis via Users wrote:<br />><br />> Hello!<br />>  <br />> Opensips 2.3.<br />> Core file in attachment<br />>  <br />> The problem with aaa_radius module.<br />>  <br />> Thank you for any help.<br />>  <br />> -- <br />> С уважением, Денис.<br />> Best regards, Denis<br />>  <br />>  <br />>  <br />>  <br />><br />> _______________________________________________<br />> Users mailing list<br />> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br />> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br />><br />> ,<br />><br />> _______________________________________________<br />> Users mailing list<br />> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br />> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></blockquote>