<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><br><br><br><div>Further, my system info:</div><div>Ubuntu 12.04.1 LTS \n \l</div><br><div style="position:relative;zoom:1">--<br><div>Best Regards,</div><div>Shengy</div><div style="clear:both"></div></div><div id="divNeteaseMailCard"></div><br>At 2017-05-28 22:19:39, "sgy" <nucsgy@163.com> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><br>Sorry, it didn't work now.  The attach file are configuration files. Maybe I can send ssh connection infomation to you, then you can login in my machine to debug it. <br><br><div style="position:relative;zoom:1">--<br><div>Best Regards,</div><div>Shengy</div><div style="clear:both"></div></div><div></div><br>At 2017-05-28 17:23:18, "David Villasmil" <<a href="mailto:david.villasmil.work@gmail.com">david.villasmil.work@gmail.com</a>> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Did configure the mysql connection user/pass? <br><div class="gmail_quote"><div dir="ltr">On Sun, May 28, 2017 at 6:24 AM sgy <<a href="mailto:nucsgy@163.com">nucsgy@163.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div><br></div><div>Thank you! When I add "#!define WITH_MYSQL" into kamailio.cfg, it will start failed.</div><div><br></div><div>Related log:</div><div>root@iZ2ze3uk97m2bfv681kyx4Z:/usr/local/etc/kamailio# tail -f /var/log/syslog</div><div>May 28 11:57:18 iZ2ze3uk97m2bfv681kyx4Z kamailio: INFO: <core> [sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized</div><div>May 28 11:58:46 iZ2ze3uk97m2bfv681kyx4Z kamailio: ERROR: <core> [sr_module.c:582]: load_module(): could not open module </usr/local/lib64/kamailio/modules/db_mysql.so>: /usr/local/lib64/kamailio/modules/<b>db_mysql.so: undefined symbol: mem_lock</b></div><div>May 28 11:58:46 iZ2ze3uk97m2bfv681kyx4Z kamailio: : <core> [cfg.y:3368]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 221, column 12-24: failed to load module</div><div>May 28 11:58:46 iZ2ze3uk97m2bfv681kyx4Z kamailio: INFO: <core> [sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized</div><div>May 28 12:05:01 iZ2ze3uk97m2bfv681kyx4Z CRON[10925]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)</div><div>May 28 12:06:16 iZ2ze3uk97m2bfv681kyx4Z kamailio: ERROR: <core> [sr_module.c:582]: load_module(): could not open module </usr/local/lib64/kamailio/modules/db_mysql.so>: /usr/local/lib64/kamailio/modules/db_mysql.so: undefined symbol: mem_lock</div><div>May 28 12:06:16 iZ2ze3uk97m2bfv681kyx4Z kamailio: : <core> [cfg.y:3368]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 221, column 12-24: failed to load module</div><div>May 28 12:06:16 iZ2ze3uk97m2bfv681kyx4Z kamailio: INFO: <core> [sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized</div><div>May 28 12:15:01 iZ2ze3uk97m2bfv681kyx4Z CRON[17940]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)</div><div>May 28 12:17:02 iZ2ze3uk97m2bfv681kyx4Z CRON[19133]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)</div><div>^C</div><div><br></div><div>Following is my steps to install it.</div><div><p style="box-sizing:border-box;margin:0px 0px 24px;color:rgb(87,87,87);font-family:"Open Sans",Helvetica,sans-serif"><em style="box-sizing:border-box">GIT download and install of latest version of release 4.4.x:</em></p><pre style="box-sizing:border-box;font-family:monospace;background:rgb(245,245,245);color:rgb(102,102,102);margin-top:20px;margin-bottom:20px;overflow:auto;padding:20px"><span style="box-sizing:border-box;color:rgb(0,0,128)">  # git clone <a href="https://github.com/kamailio/kamailio.git" target="_blank">https://github.com/kamailio/kamailio.git</a> kamailio
  # cd kamailio
  # git checkout -b 4.4 origin/4.4
  # make cfg; make all; make install</span></pre></div><div><br></div><br><div style="zoom:1">--<br><div>Best Regards,</div><div>Shengy</div><div style="clear:both"></div></div></div><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div id="m_-8852236017175113090divNeteaseMailCard"></div><br>在 2017-05-28 11:03:53,"Nathan Ward" <<a href="mailto:kamailio-sr-users@daork.net" target="_blank">kamailio-sr-users@daork.net</a>> 写道:<br> <blockquote id="m_-8852236017175113090isReplyContent" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid"><div><br></div><div><blockquote type="cite"><div>On 28/05/2017, at 2:51 PM, sgy <<a href="mailto:nucsgy@163.com" target="_blank">nucsgy@163.com</a>> wrote:</div><br class="m_-8852236017175113090Apple-interchange-newline"><div><div style="line-height:1.7;font-size:14px;font-family:Arial">Hi anyone,<br><div><br></div><div>I can't start kamailio, Please help me </div><div><br></div><div>Log:</div><div>1. ~# kamctl start</div><div>database engine 'MYSQL' loaded</div><div>Control engine 'RPCFIFO' loaded</div><div><br></div><div>INFO: Starting Kamailio : </div><div><br></div><div>ERROR: PID file /var/run/kamailio/kamailio.pid does not exist -- Kamailio start failed</div><div><br></div><div>2. :~# kamailio -M 8 -E -e -dd</div><div><br></div><div><div> 0(1685) DEBUG: <core> [core/route_struct.c:129]: mk_action(): ACTION_#24 #1/2: 3(3)/ (nil)</div><div> 0(1685) DEBUG: <core> [core/sr_module.c:694]: find_mod_export_record(): find_export_record: found <t_is_canceled> in module tm [/usr/local/lib64/kamailio/modules/tm.so]</div><div> 0(1685) DEBUG: <core> [core/route_struct.c:129]: mk_action(): ACTION_#2 #0/2: 3(3)/ 0x1</div><div> 0(1685) DEBUG: <core> [core/route_struct.c:129]: mk_action(): ACTION_#2 #1/2: 3(3)/ 0x1</div><div> 0(1685) DEBUG: <core> [core/route_struct.c:129]: mk_action(): ACTION_#16 #0/3: 22(16)/ 0x7f634f00f780</div><div> 0(1685) DEBUG: <core> [core/route_struct.c:129]: mk_action(): ACTION_#16 #1/3: 8(8)/ 0x7f634f00feb0</div><div> 0(1685) DEBUG: <core> [core/route_struct.c:129]: mk_action(): ACTION_#16 #2/3: 0(0)/ 0x7f6300000000</div><div> 0(1685) DEBUG: <core> [core/route.c:129]: route_add(): mapping routing block (0xafc160)[MANAGE_FAILURE] to 1</div><div>ERROR: bad config file (1 errors)</div><div> 0(1685) INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized</div></div></div></div></blockquote><br></div><div>Hi,</div><div><br></div><div>Can you post the full log? In my experience, Kamailio reports errors as they occur, and then at the end of parsing reports how many - you’ve got the “how many” but not what the errors were.</div><div><br></div><div>--</div><div>Nathan Ward</div><div><br></div></blockquote></div><br><br><span title="neteasefooter"><p> </p></span>_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>
</blockquote></div><br><br><span title="neteasefooter"><p> </p></span></div><br><br><span title="neteasefooter"><p> </p></span></blockquote></div><br><br><span title="neteasefooter"><div id="netease_mail_footer"><div style="border-top:#CCC 1px solid;padding:10px 5px;font-size:16px;color:#777;line-height:22px"><a href="http://you.163.com/item/detail?id=1113010&from=web_gg_mail_jiaobiao_8" target="_blank" style="color:#3366FF;text-decoration:none">【网易自营|30天无忧退货】美国JOCKEY制造商春夏新款“男式丝滑莫代尔内裤”限时仅59元,还可叠加用券>>    </a>
    </div></div></span>