Hi Alain,
Maybe you are missing the `x` permission on one of the directories in
the path to the file.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
OpenSIPS eBootcamp
https://www.opensips.org/Training/Bootcamp
On 1/27/22 6:39 PM, Alain Bieuzent wrote:
Hi all,
I have a problem with the possibility of reloading routes live with
opensips-cli :
root@lbsip-rtpe-test /usr/local/etc/opensips/lbsip-glo-in
opensips-cli -x mi version
{
"Server": "OpenSIPS (3.2.4 (x86_64/linux))"
}
root@lbsip-rtpe-test /usr/local/etc/opensips/lbsip-glo-in
opensips-cli -x mi reload_routes
ERROR: command 'reload_routes' returned: 500: reload failed
Logs say :
Jan 27 17:35:31 lbsip-rtpe-test opensips[1365]:
ERROR:core:parse_opensips_cfg: loading config file
/usr/local//etc/opensips/opensips.cfg: Permission denied
Jan 27 17:35:31 lbsip-rtpe-test opensips[1365]:
ERROR:core:reload_routing_script: parsing failed, abording
Right of /usr/local//etc/opensips/opensips.cfg
root@lbsip-rtpe-test /usr/local/etc/opensips/lbsip-glo-in ll
/usr/local//etc/opensips/opensips.cfg
-rw-r--r-- 1 root staff 80329 Jan 27 11:14
/usr/local//etc/opensips/opensips.cfg
Does anyone have an idea how to solve this problem of access rights?
Thanks
Alain
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users