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

Alain Bieuzent alain.bieuzent at free.fr
Thu Jan 27 16:39:59 UTC 2022


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

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


More information about the Users mailing list