[SR-Users] {Disarmed} Re: Kamctl does not work. Kamailio 4.4
Denys Pozniak
denys.pozniak at crazycall.com
Fri Jun 2 15:59:56 CEST 2017
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 at 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.
> (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=*MailScanner has detected a possible
> fraud attempt from "10.10.54.53:5080" claiming to be* *MailScanner
> warning: numerical links are often malicious:* 10.10.54.53:5080
> <http://10.10.54.53:5080>
> 20596 udp receiver child=1 sock=*MailScanner has detected a possible
> fraud attempt from "10.10.54.53:5080" claiming to be* *MailScanner
> warning: numerical links are often malicious:* 10.10.54.53:5080
> <http://10.10.54.53:5080>
> 20597 udp receiver child=2 sock=*MailScanner has detected a possible
> fraud attempt from "10.10.54.53:5080" claiming to be* *MailScanner
> warning: numerical links are often malicious:* 10.10.54.53:5080
> <http://10.10.54.53:5080>
> 20598 udp receiver child=3 sock=*MailScanner has detected a possible
> fraud attempt from "10.10.54.53:5080" claiming to be* *MailScanner
> warning: numerical links are often malicious:* 10.10.54.53:5080
> <http://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:*MailScanner has detected a possible fraud attempt from
> "10.77.254.53:5080" claiming to be* *MailScanner warning: numerical links
> are often malicious:* 10.77.254.53:5080 <http://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"
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing Listsr-users at lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170602/80f5facd/attachment.html>
More information about the sr-users
mailing list