[SR-Users] {Disarmed} Re: Kamctl does not work. Kamailio 4.4

Luís Torres luistorres1 at iol.pt
Fri Jun 2 15:54:39 CEST 2017


 

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. 
>
(http://download.opensuse.org/repositories/home:/kamailio:/v4.4.x-rpms/CentOS_7/
[2]) 
> 
> 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=MAILSCANNER WARNING: NUMERICAL LINKS ARE OFTEN
MALICIOUS: 10.10.54.53:5080 [3] 
> 20596 udp receiver child=1
sock=MAILSCANNER WARNING: NUMERICAL LINKS ARE OFTEN MALICIOUS:
10.10.54.53:5080 [3] 
> 20597 udp receiver child=2 sock=MAILSCANNER
WARNING: NUMERICAL LINKS ARE OFTEN MALICIOUS: 10.10.54.53:5080 [3] 
>
20598 udp receiver child=3 sock=MAILSCANNER WARNING: NUMERICAL LINKS ARE
OFTEN MALICIOUS: 10.10.54.53:5080 [3] 
> 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:MAILSCANNER WARNING: NUMERICAL LINKS ARE OFTEN MALICIOUS:
10.77.254.53:5080 [4] 
> 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 at lists.kamailio.org
>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users [1]




Links:
------
[1]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
[2]
http://download.opensuse.org/repositories/home:/kamailio:/v4.4.x-rpms/CentOS_7/
[3]
http://10.10.54.53:5080
[4] http://10.77.254.53:5080
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170602/9af9fbea/attachment.html>


More information about the sr-users mailing list