I expect same kind of work for centos with init.d/systemd, but I use
debian, so I can't really say much for sure about centos. Deb packaging
is better maintained and has nightly builds from stable branches.
Again, likely something was overlooked and maybe not the files you
expect are used.
When installing from packages, not matter debian or centos, the
init.d/systemd files should be installed.
Cheers,
Daniel
On 07.06.17 20:02, Vuk Radovanovic wrote:
Daniel,
Thank you very much for the ndb_redis advice, ill try it.
Ill probably switch to centos for final deployment, either way when
allocating more memory everything works fine, passing traffic an
querying the db.
Much obliged for your assistance.
Regards ,
Vuk
On 6/7/2017 5:52 PM, Daniel-Constantin Mierla wrote:
On 07.06.17 16:01, Vuk Radovanovic wrote:
It was a jsonrpcs module problem, sorry for that
the output clarified
the problem why the kamailio was not starting by issuing a manual
command.
Now it starts just fine accepting all the options.
kamailio 5508 0.0 0.2 349324 12080 ? S 15:54 0:00
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f
/usr/local/etc/kamailio/kamailio.cfg -m 128 -M 64 -u kamailio -g
kamailio -E -dd
I also started the manual command with m 128 and M 64 with populated
database it loaded fine.
1(5510) INFO: userblacklist [userblacklist.c:614]: reload_sources():
got 54404 entries from 'globalblacklist'
2(5511) INFO: userblacklist [userblacklist.c:614]: reload_sources():
got 54404 entries from 'globalblacklist'
3(5512) INFO: userblacklist [userblacklist.c:614]: reload_sources():
got 54404 entries from 'globalblacklist'
4(5513) INFO: userblacklist [userblacklist.c:614]: reload_sources():
got 54404 entries from 'globalblacklist'
5(5514) INFO: userblacklist [userblacklist.c:614]: reload_sources():
got 54404 entries from 'globalblacklist'
6(5515) INFO: userblacklist [userblacklist.c:614]: reload_sources():
got 54404 entries from 'globalblacklist'
After resolving the jsonrpcs problem init and systemd script still
don't want to accept memory and user optiones.
Should i just abandon running kamailio from systemd/init.d ?
Likely something is
misconfigured for the systemd, but I can't help much
with it -- you can try to install from debian nightly packages built
from branch 5.0 and see if that works.
Cheers,
Daniel
--
Daniel-Constantin Mierla
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio Advanced Training -
www.asipto.com
Kamailio World Conference -
www.kamailioworld.com