[SR-Users] Kamctl does not work. Kamailio 4.4

Denys Pozniak denys.pozniak at crazycall.com
Fri Jun 2 15:48:07 CEST 2017


Hello!

I have installed Kamailio 4.4 on CentOS7 from repo.
(
http://download.opensuse.org/repositories/home:/kamailio:/v4.4.x-rpms/CentOS_7/
)

When I try to run kamctl I have next error:

# kamctl ps
WARNING: no control engine found - tried 'RPCFIFO'
ERROR: This command requires a control engine - none was loaded

Kamcmd works well:

# kamcmd ps
20591   main process - attendant
20595   udp receiver child=0 sock=10.10.54.53:5080
20596   udp receiver child=1 sock=10.10.54.53:5080
20597   udp receiver child=2 sock=10.10.54.53:5080
20598   udp receiver child=3 sock=10.10.54.53:5080
20599   slow timer
20600   timer
20601   secondary timer
20602   ctl handler
20603   MI FIFO


Whats missing with kamctl and how to force it working?
Configs are below.

BR,
Denys


#cat /etc/kamailio/kamctlrc
DBENGINE=MYSQL
DBHOST=127.0.0.1
DBNAME=kamailio
DBRWUSER="root"
DBRWPW="toor"
DBROUSER="root"
DBROPW="toor"
DBACCESSHOST=127.0.0.1
DBROOTUSER="root"

#cat /etc/modules.cfg

#!KAMAILIO
debug=2
log_stderror=no
memdbg=5
memlog=5
log_facility=LOG_LOCAL0
fork=yes
children=4
disable_tcp=yes
listen=udp:10.77.254.53:5080
auto_aliases=no
alias = "domain.local"
mpath="/lib64/kamailio/modules/"
loadmodule "tm.so"
loadmodule "rr.so"
loadmodule "pv.so"
loadmodule "sl.so"
loadmodule "maxfwd.so"
loadmodule "nathelper.so"
loadmodule "textops.so"
loadmodule "siputils.so"
loadmodule "xlog.so"
loadmodule "sanity.so"
loadmodule "path.so"
loadmodule "outbound.so"
loadmodule "stun.so"
loadmodule "db_mysql.so"
loadmodule "lcr.so"
loadmodule "avpops.so"
loadmodule "ctl.so"
loadmodule "mi_fifo.so"
loadmodule "mi_rpc.so"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170602/b1ee6470/attachment.html>


More information about the sr-users mailing list