[OpenSIPS-Users] opensips-cli and reload_routes : Permission denied

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Jan 28 07:14:16 UTC 2022


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 at lbsip-rtpe-test /usr/local/etc/opensips/lbsip-glo-in  
> opensips-cli -x mi version
>
> {
>
>     "Server": "OpenSIPS (3.2.4 (x86_64/linux))"
>
> }
>
> root at 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 at 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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220128/c0164322/attachment.html>


More information about the Users mailing list