<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Hi,<br>
<br>
in aaa_radius module, the radius-config is by default empty and it
is mandatory (so no actual useful default value). IMHO, it is a
configuration error in your case, maybe the module parameter is
defined again in your cfg, with a bogus value/file.<br>
<br>
Regards,<br>
</font>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
<a class="moz-txt-link-freetext" href="https://www.siphub.com">https://www.siphub.com</a></pre>
<div class="moz-cite-prefix">On 03.12.2024 17:49, Ahmed Chohan
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGMN=Jet4AkH4jwhcUxww0eRgtq+3TyCcXPJibodtmMmZ8zYAA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi all,</div>
<div><br>
</div>
<div>I've built two servers, one with 3.4.7 and the other with
3.4.9. The OS I'm using is RHEL9 with radcli package.</div>
<div><br>
</div>
<div>On 3.4.7, aaa_radius.so module was missing even radcli was
installed on it however , it was fixed on the later release(s)
and I was able to work around it and make it work.</div>
<div><br>
</div>
<div>On both servers' routing scripts, I've set modparam listed
below for radius client configs and files included under
/etc/opensips/radcli folder.</div>
<div><br>
</div>
<div>modparam("aaa_radius","radius_config","/etc/opensips/radcli/client.conf")</div>
<div>modparam("aaa_url","radius:/etc/opensips/radcli/client.conf")<br>
</div>
<div><br>
</div>
<div># ls /etc/opensips/radcli<br>
</div>
<div>client.conf dictionary dictionary.opensips</div>
<div><br>
</div>
<div>One thing I've noticed is with 3.4.9, after starting the
service, I'm getting errors listed below, even declaring the
file path for the radius client in the routing script as
stated above.</div>
<div><br>
</div>
<div>radcli: rc_read_dictionary: rc_read_dictionary couldn't
open dictionary /etc/opensips/radius/dictionary: No such file
or directory</div>
<div>
<div><br>
</div>
<div>radcli: rc_read_config: could not load dictionary</div>
<div>ERROR: aaa_radius:rad_init_prot: failed to open radius
config file: /etc/opensips/radcli/clinet.conf</div>
<br class="gmail-Apple-interchange-newline">
</div>
<div>As a workaround, I copied and created a folder radius from
the radcli folder along with the files and started the service
successfully. In my observation, rc_read_config, rad_init_prot
and rc_read_dictionary try to lookup the files in both
directories rather than the one declared in modparam.</div>
<div><br>
</div>
<div>Is there a fix for this issue (instead of using two folders
rather than one)? Please advise.</div>
<div><br>
</div>
<span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">Regards,<br>
<br>
Ahmed Munir Chohan<br>
<br>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>