[OpenSIPS-Users] How to start OpenSIPS 3.0 server

Tekin, Arda arda.tekin at afiniti.com
Tue Feb 11 17:20:25 EST 2020


How can I run OpenSIPS 3.0?

Previously we are running `opensipsctl start` command.

How to set and use db connection configuration before starting OpenSIPS?

I have compiled latest source code on CentOS 7 successfully. Copied init script
cp /root/src/opensips-3.0/packaging/redhat_fedora/opensips.init /etc/rc.d/init.d/.

Edited the init file
prog=opensips
opensips=/usr/local/sbin/$prog
cfgdir="/usr/local/etc/$prog"
pidfile="/var/run/$prog.pid"
lockfile="/var/lock/subsys/$prog"
configfile="$cfgdir/$prog.cfg"
m4configfile="$cfgdir/$prog.m4"
m4archivedir="$cfgdir/archive"
OPTIONS=""
S_MEMORY=32
P_MEMORY=32
RETVAL=0


When I run init script I get this error.
Starting opensips (via systemctl):  Job for opensips.service failed because a configured resource limit was exceeded. See "systemctl status opensips.service" and "journalctl -xe" for details.
                                                           [FAILED]

Where is doc page explaining how OpenSIPS 3 starts?

Kind Regards,
Arda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200211/07560444/attachment.html>


More information about the Users mailing list