[OpenSIPS-Users] restart_persistency Permission denied

Marcin Groszek marcin at voipplus.net
Fri Nov 5 00:14:12 EST 2021


I have started the opensips as root and the file 
.restart_persistency.cache was created under /

after I changed the ownership of the .restart_persistency.cache to 
opensips I was able to start daemon as opensips user.

Is this proper way of doing this or just a poor workaround?


On 11/4/2021 6:55 PM, Marcin Groszek wrote:
> Centos 7 opensips verion 3.1.5
>
> I attempted to setup drouting restart_persistency but as soon as I add 
> these 2 lines:
>
> restart_persistency_size = 512
>
> modparam("drouting", "enable_restart_persistency", yes)
>
> opensips does not start.
>
> The logs shows:
>
> ERROR:core:rpm_init_mem: could not initialize restart persistent memory!
> ERROR:drouting:dr_init: could not initilize restart persistency memory!
> ERROR:core:init_mod: failed to initialize module drouting
> ERROR:core:main: error while initializing modules
> ERROR:core:init_rpm_mallocs: could not create the restart persistency 
> memory file .restart_persistency.cache (13: Permission denied)
>
> Thank you.
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-- 
Best Regards:
Marcin Groszek
Business Voip Resource.
http://www.voipplus.net




More information about the Users mailing list