Hi,

On 10/5/23 16:36, Denys Pozniak wrote:
Hello!

After a major upgrade of Kamailio (5.1 -> 5.6), an error appears that it is not 
possible to open configuration file (I think this is about 
/etc/radiusclient/radiusclient.conf), although it exists with the necessary access 
rights:
/0(27075) DEBUG: <core> [core/sr_module.c:969]: init_mod(): auth_radius
0(27075) ERROR: auth_radius [auth_radius.c:123]: mod_init(): failed to open 
configuration file
0(27075) ERROR: <core> [core/sr_module.c:975]: init_mod(): Error while 
initializing module auth_radius (/usr/lib64/kamailio/modules/auth_radius.so)
ERROR: error while initializing modules
/
For the test, I made Kamailio downgrade back to 5.1 and the problem went away.
Shortened the Kamailio config to the minimum for reproducing the problem:

/#!KAMAILIO
memdbg=5
memlog=5
children=1
log_stderror=no
listen=udp:127.0.0.1:5060 <http://127.0.0.1:5060>
loadmodule "kex.so"
loadmodule "corex.so"
loadmodule "tm.so"
loadmodule "sl.so"
loadmodule "rr.so"
loadmodule "pv.so"
loadmodule "maxfwd.so"
loadmodule "auth.so"
loadmodule "auth_radius.so"
modparam("auth_radius", "radius_config", "/etc/radiusclient/radiusclient.conf")

request_route {
         return;
}
/

Could the commit below somehow affect the acceptance of the radius_config 
module parameter?
https://github.com/kamailio/kamailio/commit/f33ba318b20cbd2b34d278a7e2c4e64129b9e68d 
<https://github.com/kamailio/kamailio/commit/f33ba318b20cbd2b34d278a7e2c4e64129b9e68d>


No, I don't think so.


--
-----------------------------------------------------------------
|   ,''`.                                             Victor Seva |
|  : :' :                      [email protected] |
|  `. `'                           PGP Key ID: 0x51A09B18CF5A5068 |
|    `-                                          Debian Developer |
 -----------------------------------------------------------------

Attachment: OpenPGP_0x51A09B18CF5A5068.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to