<div>Bogdan,</div><div> </div><div>Prehistory. I decided to migrate Opensips from 2.2. to 2.3.</div><div>Using my test VirtualBox (ubuntu server) i installed 2.3., prepare opensips.cfg an so on. On VB 2.3. started without any problem.</div><div>I have two production servers with Opensips 2.2 instance. One main, and the second backup.</div><div>All necessary packages for Opensips had been installed on these two servers early, including libradius library.</div><div> </div><div>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.</div><div>First i tried to start on backup and got the crash. Crash occurs at start time.</div><div>Second i tried to start on main and got success.</div><div> </div><div>I tried to reinstall Opensips on backup and during installation process i get such information dialing with radius</div><div>"<div>make[2]: Entering directory '/distr/opensips-2.3/modules/aaa_radius'</div><div>/bin/sh: 1: pkg-config: not found</div><div>/bin/sh: 1: pkg-config: not found</div><div>Compiling rad.c</div><div>Compiling aaa_radius.c</div><div>Linking aaa_radius.so</div><div>make[2]: Leaving directory '/distr/opensips-2.3/modules/aaa_radius'</div>"</div><div> </div><div>Something like this)).</div><div> </div><div>-- </div><div>С уважением, Денис.</div><div>Best regards, Denis</div><div> </div><div> </div><div> </div><div>21.09.2017, 15:46, "Bogdan-Andrei Iancu" <bogdan@opensips.org>:</div><blockquote type="cite"><div bgcolor="#FFFFFF">Hi Denis,<br /><br />So, when did the crash start ? What was the change that trigger this kind of crash ?<br /><br />Regards,<pre>Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  <a href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a>
</pre><div>On 09/21/2017 01:00 PM, Denis wrote:</div><blockquote type="cite" cite="mid:1984211505988054@web36g.yandex.ru"><div>Hello, Bogdan!</div><div> </div><div>It is real strange.</div><div> </div><div>First of all i have Opensips 2.2 on the same server ("backup" server) which is started without any problem using aaa_radius module.</div><div>I have another server ("main" server) where opensips 2.3 is started without any problem using aaa_radius module.</div><div> </div><div>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".</div><div> </div><div>libradius has been installed from ubuntu`s repo.</div><div> </div><div>-- </div><div>С уважением, Денис.</div><div>Best regards, Denis</div><div> </div><div> </div><div> </div><div>21.09.2017, 12:44, "Bogdan-Andrei Iancu" <a href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a>:</div><blockquote type="cite"><div bgcolor="#FFFFFF">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,<pre>Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  <a href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a>
</pre><div>On 09/20/2017 06:04 PM, Denis via Users wrote:</div><blockquote type="cite" cite="mid:751281505919881@web46j.yandex.ru"><div>Hello!</div><div> </div><div>Opensips 2.3.</div><div>Core file in attachment</div><div> </div><div>The problem with aaa_radius module.</div><div> </div><div>Thank you for any help.</div><div> </div><div>-- </div><div>С уважением, Денис.</div><div>Best regards, Denis</div><div> </div><div> </div><div> </div> <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre></blockquote></div></blockquote></blockquote></div></blockquote>