I have next options:

#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"
 
Can you share your file?


On 2 June 2017 at 15:54, Luís Torres <luistorres1@iol.pt> wrote:

Just passed across that..., what I did was editing the kamctlrc and uncoment the database related itens.

It worked

 

Em 2017-06-02 14:48, Denys Pozniak escreveu:

Hello!
 
I have installed Kamailio 4.4 on CentOS7 from repo.
 
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
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
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"
 

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

 

 

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users