<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On 28/05/2017, at 2:51 PM, sgy <<a href="mailto:nucsgy@163.com" class="">nucsgy@163.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="line-height: 1.7; font-size: 14px; font-family: Arial;" class="">Hi anyone,<br class=""><div class=""><br class=""></div><div class="">I can't start kamailio, Please help me </div><div class=""><br class=""></div><div class="">Log:</div><div class="">1. ~# kamctl start</div><div class="">database engine 'MYSQL' loaded</div><div class="">Control engine 'RPCFIFO' loaded</div><div class=""><br class=""></div><div class="">INFO: Starting Kamailio : </div><div class=""><br class=""></div><div class="">ERROR: PID file /var/run/kamailio/kamailio.pid does not exist -- Kamailio start failed</div><div class=""><br class=""></div><div class="">2. :~# kamailio -M 8 -E -e -dd</div><div class=""><br class=""></div><div class=""><div class=""> 0(1685) DEBUG: <core> [core/route_struct.c:129]: mk_action(): ACTION_#24 #1/2: 3(3)/ (nil)</div><div class=""> 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 class=""> 0(1685) DEBUG: <core> [core/route_struct.c:129]: mk_action(): ACTION_#2 #0/2: 3(3)/ 0x1</div><div class=""> 0(1685) DEBUG: <core> [core/route_struct.c:129]: mk_action(): ACTION_#2 #1/2: 3(3)/ 0x1</div><div class=""> 0(1685) DEBUG: <core> [core/route_struct.c:129]: mk_action(): ACTION_#16 #0/3: 22(16)/ 0x7f634f00f780</div><div class=""> 0(1685) DEBUG: <core> [core/route_struct.c:129]: mk_action(): ACTION_#16 #1/3: 8(8)/ 0x7f634f00feb0</div><div class=""> 0(1685) DEBUG: <core> [core/route_struct.c:129]: mk_action(): ACTION_#16 #2/3: 0(0)/ 0x7f6300000000</div><div class=""> 0(1685) DEBUG: <core> [core/route.c:129]: route_add(): mapping routing block (0xafc160)[MANAGE_FAILURE] to 1</div><div class="">ERROR: bad config file (1 errors)</div><div class=""> 0(1685) INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized</div></div></div></div></blockquote><br class=""></div><div>Hi,</div><div><br class=""></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 class=""></div><div>--</div><div>Nathan Ward</div><div><br class=""></div></body></html>